Skip to content

chore: improve validation of Security tag in swaggerparser #15660

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

Merged
merged 5 commits into from
Nov 26, 2024

Conversation

defelmnq
Copy link
Contributor

Aims to resolve #15605

There's currently one option valid for the @Security tag in swaggerparser - which fails in the CI if we try to put any other value.

At least one of our endpoints does not accept CoderSessionToken as an option for the authentication and so we need to add new possibilities in order to keep the documentation up-to-date.

In this PR , I added ProvisionerKey which is the way our provisioner daemon can authenticate to the backend - also modified a bit the code to simplify other options later.

@defelmnq defelmnq self-assigned this Nov 26, 2024
@defelmnq
Copy link
Contributor Author

Merging this one after CI - only weekly-docs step is failing - which is not related to this PR but the tool currently used - which is why I voluntarily ignore it.

@dannykopping
Copy link
Contributor

Merging this one after CI - only weekly-docs step is failing - which is not related to this PR but the tool currently used - which is why I voluntarily ignore it.

Normally this step failing shouldn't be ignored, but since it's due to postgres' site being down (maybe they host on fly.io 🤔) it's fine 👍

@defelmnq defelmnq merged commit 8afb10e into main Nov 26, 2024
27 of 28 checks passed
@defelmnq defelmnq deleted the 15605-improve-swagger-parser branch November 26, 2024 06: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.

add more Security options in swaggerparser
2 participants