Skip to content
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

Add Swagger UI deep linking configuration example #1857

Conversation

coldic3
Copy link

@coldic3 coldic3 commented Dec 15, 2023

I think it's a really good feature in Swagger UI worth mentioning here. Please see https://swagger.io/docs/open-source-tools/swagger-ui/usage/deep-linking/

It is also used in the Swagger UI demo documentation. The feature allows you to link a specific operation, e.g. https://petstore.swagger.io/#/user/createUsersWithListInput

@@ -175,6 +175,8 @@ api_platform:
docExpansion: list
# If set, enables filtering. The top bar will show an edit box that you can use to filter the tagged operations that are shown.
filter: false
# If set, enables deep linking for tags and operations. The information of selected tag and operation will be appended to the URL. The Swagger UI will automatically expand a specific tag or operation and scroll to it when loaded.
deepLinking: true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was not contributed as a symfony configuration not sure we need this in the documentation

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.

3 participants