Skip to content

Add query string to validation - #21

Merged
mromaszewicz merged 1 commit into
oapi-codegen:mainfrom
marcwickenden:add-query-params-to-validation
Jul 19, 2026
Merged

mromaszewicz merged 1 commit into
oapi-codegen:mainfrom
marcwickenden:add-query-params-to-validation

Conversation

@marcwickenden

Copy link
Copy Markdown
Contributor

This is a simple change which ensures the query string parameters are included in the validation.

As an example you may have a security scheme as follows, which was not being checked.

"components": {
    "securitySchemes": {
      "apiKey": {
        "type": "apiKey",
        "in": "query",
        "name": "apiKey"
      }
    }
}

@marcwickenden
marcwickenden requested a review from a team as a code owner June 17, 2024 07:39
@jamietanna jamietanna added this to the v1.2.0 milestone Apr 25, 2025
@mromaszewicz
mromaszewicz merged commit 9c6dabd into oapi-codegen:main Jul 19, 2026
@mromaszewicz mromaszewicz added the bug Something isn't working label Jul 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants