Skip to content

Swagger UI loads slowly for devs #1840

@slifty

Description

@slifty

We broke our specification into lots of files (yay!) with #1178.

When deploying, those files are bundled as part of deploy; when serving locally, however, those files are served dynamically which results in hundreds of individual API calls. This means npm start => loading localhost:3001 will require waiting some amount of time for the browser to load all the specification pieces.

This isn't ideal; I don't want to prescribe a solution in the issue definition, but if there is no clear way to speed this up we might want to somehow modify our start command to have the service render a built copy of the spec / rebuild on file change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions