Skip to content
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: Fix query not added if there are multple entries #737

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

StrongMonkey
Copy link
Contributor

This fixes an issue where there are multple entries in openapi auth schema that need to be added to query parameters. The current approach only adds the last one.

Found the bug when testing with trello openapi.

"securitySchemes": {
      "APIKey": { "type": "apiKey", "in": "query", "name": "key" },
      "APIToken": { "in": "query", "name": "token", "type": "apiKey" }
    },

@StrongMonkey StrongMonkey merged commit 5d0d35d into gptscript-ai:main Aug 7, 2024
10 checks passed
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.

3 participants