oapi-codegen / nethttp-middleware

Apache License 2.0
10 stars 7 forks source link

Add query string to validation #21

Open marcwickenden opened 4 months ago

marcwickenden commented 4 months ago

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"
      }
    }
}