-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Closed
Description
I am using swagger-ui through a React component to display various swaggers, and in the cases of certain swagger specs, the assets do not load correctly. For example --
The lock next to the "Authorize" text is missing.
Q | A |
---|---|
Bug or feature request? | Bug |
Which Swagger/OpenAPI version? | 2.0 |
Which Swagger-UI version? | 3.1.4 |
How did you install Swagger-UI? | npm |
Which browser & version? | Google Chrome 60.0.3112.90 (Official Build) |
Which operating system? | macOS Sierra |
Demonstration API definition
Cannot provide entire spec because of confidentiality but can provide certain information about spec.
Configuration (browser query string, constructor, config.yaml)
new SwaggerUIBundle({
dom_id: '#swaggerContainer',
spec: this.state.spec,
presets: [presets.apis]
});
Expected Behavior
Icons should be present where they are not
Current Behavior
Currently missing these icons