Skip to content

Replace --auth option with --bearer-auth / --basic-auth / --raw-auth options #30

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 6 commits into from
Jan 26, 2025

Conversation

mattt
Copy link
Member

@mattt mattt commented Jan 26, 2025

Follow up to #14

Instead of automatically assuming and prepending Bearer prefix when raw token is passed to --auth flag, users can specify --bearer-auth flag.

This PR also refactors auth functionality, and makes it so that OpenAPI specifications are requested without credentials.

@mattt mattt merged commit 9dcdd8c into main Jan 26, 2025
1 check passed
@mattt mattt deleted the mattt/fix-auth-option branch January 26, 2025 15:03
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.

1 participant