-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(cts): strict comparaison of query parameters #2681
Conversation
✅ Deploy Preview for api-clients-automation ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✗ The generated branch has been deleted.If the PR has been merged, you can check the generated code on the |
Do I need to double check if all assertion are correctly done in C# ? |
I checked for all languages, but maybe I got some wrong ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GéGé
🧭 What and Why
Unknown query parameters are not allowed in most APIs, we need to make sure that the client only sends what was requested, and nothing else.
Enforce strict check in all languages, and fix python by initializing every member of a class, otherwise they are treated as static member ! (so weird)
No need to initialize models for python, because they all extend the
BaseModel
which initializes everything properly (from what I understand, maybe I'm wrong).also some small fixes in other languages to make the CI pass, and locally too.