Skip to content

feat: enable hosting custom Swagger UI #53

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 10 commits into from
Apr 17, 2025
Merged

Conversation

alukach
Copy link
Member

@alukach alukach commented Apr 17, 2025

Given that the vanilla stac-fastapi-pgstac application does not support specifying init_oauth (which makes sense, being that there's no authentication within the vanilla application), it does make sense to permit creating our own Swagger UI within this service.

related to #15

alukach added 10 commits April 16, 2025 17:51
- Introduced a new SwaggerUI handler to serve the Swagger UI interface.
- Updated app configuration to include Swagger UI parameters and routes.
- Enhanced Settings class with new fields for Swagger UI configuration.
- Ensured compatibility with OpenAPI spec endpoint when using Swagger UI.
@alukach alukach merged commit ca913a0 into main Apr 17, 2025
2 checks passed
@alukach alukach deleted the features/hosted-swagger-ui branch April 17, 2025 06:08
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