Created
January 22, 2026 13:41
-
-
Save saxicek/43daa70a6d95dece378f5729517cb0c1 to your computer and use it in GitHub Desktop.
Repro for openapi-codegen issue "apiKeys cause service compilation errors"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| openapi: 3.0.1 | |
| info: | |
| title: Test API key in query | |
| version: v1 | |
| paths: | |
| /pet-store: | |
| get: | |
| operationId: get | |
| parameters: | |
| - name: id | |
| in: query | |
| required: true | |
| schema: | |
| type: string | |
| responses: | |
| '200': | |
| description: Successful operation | |
| components: | |
| securitySchemes: | |
| SessionIdAuth: | |
| type: apiKey | |
| in: query | |
| name: sid | |
| security: | |
| - SessionIdAuth: [] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment