Open bilak opened 5 years ago
I'm experiencing the same thing with version 3.24.0 using from the swaggerapi/swagger-ui docker image.
Same problem in angular app intégration, i updated this last week to 3.24.3 and global parameter not displayed !
"swagger-ui": "2.2.10" -> "swagger-ui-dist": "3.24.3"
Java back dependencies :
Hey!
Has there already been some investigation on this ticket?
Q&A (please complete the following information)
Content & configuration
Example Swagger/OpenAPI definition:
file: /openapi/openapi.yaml
file: /openapi/petstore.yaml
Swagger-UI configuration options: file: /openapi/swagger-ui-config.json
Describe the bug you're encountering
I have one
openapi.yaml
from which I'm referencing paths from other files. When remote path has global parameter (seePetIdPathParam
definition inpetstore.yaml
) this parameter is not visible through referenced url (e.g. when looking at openapi.yaml from swagger-ui -> in this case OPTIONS does not have param. When I switch topetstore.yaml
parameters are visible in both methods (get and options) even when options doesn't definePetIdPathParam
.To reproduce...
Steps to reproduce the behavior: use definitions added tho this issue
Expected behavior
if global url parameters are defined, they should be displayed as if they were added directly to method