Skip to content

Conversation

ea-mtenhoor
Copy link
Collaborator

This PR updates Swagger to use a valid tenant if one exists. If no tenant exists and the environment does not use a custom build, it uses the default Swagger for the selected WebAPI version (https://api.ed-fi.org/v${EdFiApiVersion}/api/metadata/data/v3/resources/swagger.json). If no tenant exists and the environment uses a custom build, it displays "No API definition provided." If Swagger is deployed, the tenant management function will invoke the update Swagger function any time a tenant is added or removed. The tenant management function's "Reload" action should be invoked after a tenant is added or removed to prevent errors in Swagger.

@ea-mtenhoor ea-mtenhoor requested a review from emondal1026 June 2, 2025 21:10
@ea-mtenhoor ea-mtenhoor merged commit efc4232 into 7.x Jun 2, 2025
1 check passed
@ea-mtenhoor ea-mtenhoor deleted the swagger-default-url branch June 2, 2025 21:47
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.

2 participants