-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Closed
Description
Q&A (please complete the following information)
- OS: Windows / WSL
- Browser: Chrome
- Method of installation: npm
- Swagger-UI version: 3.43.0
- Swagger/OpenAPI version: OpenAPI 3.0
Describe the bug you're encountering
When an API specification is loaded that does not have external docs, an empty link is rendered on the page.
To reproduce...
Load an API specification into swagger UI that does not have external docs.
Expected behavior
There should be not be an empty link on the page for external doc information
Screenshots
Additional context or thoughts
This looks like it was in one of the latest changes of the info component. A condition was changed from checking externalDocsUrl to externalDocs. Because externalDocs is a map it's always truthy.
Metadata
Metadata
Assignees
Labels
No labels
