Skip to content

Embedding Swagger UI #2420

@sathomps

Description

@sathomps

Before I dig too far, I want to be sure it's possible to embed the ui. My application is currently using angular 1.5.8 along with webpack, gulp, browserify. When serving my app running gulp, I get the following warning & error on page load.

WARNING in ./~/swagger-ui/dist/swagger-ui.js
Critical dependencies:
3152:486-493 This seems to be a pre-built javascript file. Though this is possible, it's not recommended. Try to require the original source to get better results.

Module not found: Error: Cannot resolve module 'b' in c:\Users\igen361\workspace\ws-main\api-registry-ui\node_modules\swagger-ui\dist
@ ./~/swagger-ui/dist/swagger-ui.js 21852:8-21854:10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions