-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Missing description for servers: definition #4802
Copy link
Copy link
Closed
Description
Q&A
- OS: macOS
- Browser: chrome
- Version: 68
- Method of installation: npm
- Swagger-UI version: 3.18.0
- Swagger/OpenAPI version: OpenAPI 3.0
Content & configuration
Example Swagger/OpenAPI definition:
servers:
- url: https://{customerkey}-{projectkey}.digitalcx.com
description: The production API server
# variables:
# customerkey:
# default: something
# description: This is your customer key (provided when the app was setup)
# projectkey:
# default: something
# description: This is your project key (provided when the app was setup)Swagger-UI configuration options:
I am using swagger-ui-express but nothing else on the SwaggerUI() function configuration
Describe the bug you're encountering
I expect the description for the server to be there as defined in OpenApi 3, but instead I don't see anything.
Same is happening when I add the customerkey and the projectkey fields
To reproduce...
Steps to reproduce the behavior:
- Copy te yaml provided here
- Open the swagger ui and preview the changes
- See error
Expected behavior
I would expect the provided description to be showing up underneath the resource, or at least somewhere in the UI.
Screenshots
Additional context or thoughts
Could this be a feature non implemented?
Could this be related with swagger-ui-express?
Thank you very much
Reactions are currently unavailable
