Skip to content

Conversation

@Tommy-42
Copy link
Contributor

@Tommy-42 Tommy-42 commented Aug 1, 2024

after talking with @TheSadlig we noticed that the behavior was not working as expected.

I removed the code that @TheSadlig introduced as we found out that only one []interface{} case was needed.
I also added a test with a working openapi contract that match our problem to ensure the behavior was working as expected for our case.

cf: #992

fixes #991

ps: it is the 1000 PR, so many people involved !

@fenollp fenollp merged commit af90e9a into getkin:master Aug 2, 2024
@Tommy-42 Tommy-42 deleted the tommy-42/fix_array_default branch August 3, 2024 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ValidateParameter does not apply default arrays correctly in queries

2 participants