Skip to content

securitySchemes/OAuthFlow/tokenUrl requires a full URL #130

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

Closed
dbanty opened this issue Aug 5, 2020 · 0 comments
Closed

securitySchemes/OAuthFlow/tokenUrl requires a full URL #130

dbanty opened this issue Aug 5, 2020 · 0 comments
Labels
🐞bug Something isn't working
Milestone

Comments

@dbanty
Copy link
Collaborator

dbanty commented Aug 5, 2020

Describe the bug
It's unclear from the spec whether this is technically allowed or not, but common OpenAPI implementations (namely FastAPI) use a relative path for tokenUrl instead of a fully qualified URL. So this generator should allow that instead of failing.

@dbanty dbanty added the 🐞bug Something isn't working label Aug 5, 2020
@dbanty dbanty added this to the 0.5.1 milestone Aug 5, 2020
@dbanty dbanty closed this as completed in 15c2fd5 Aug 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant