Expose config option to show swagger operationId
What does this MR do and why?
Gives users the option to show operation IDs when viewing OpenAPI spec files by passing ?displayOperationId=true
in the query string.
The is the default behaviour of SwaggerUI (example).
Screenshots or screen recordings
Operation IDs hidden | Operation IDs visible |
---|---|
How to set up and validate locally
- Open a OpenAPI spec file (swagger.json)
- The operation IDs should not show by default
- Adding
?displayOperationId=true
to the URL show show the operation IDs
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #361126 (closed)
Edited by Jacques Erasmus