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

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions core/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

# You can use any other configuration parameters too.

openapi:
Expand All @@ -200,6 +202,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
# You can use any other configuration parameters too.

http_cache:
Expand Down