Skip to content

How to run Swagger 5 locally #5536

@CodehunterWorks

Description

@CodehunterWorks

Q&A

  • OS: Linux
  • Browser: Firefox
  • Version: 140.0.4
  • Method of installation: dist assets
  • Swagger-Editor version: 5.0.0-alpha.111
  • Swagger/OpenAPI version: Swagger 5.0, OpenAPI 3.1

How can we help?

Hello!

At first, many thanks for developing Swagger Editor which is so a useful tool for my daily work! Today I tried to clone the GIT repo for the v5 from https://github.com/swagger-api/swagger-editor/archive/refs/tags/v5.0.0-alpha.111.zip and run it locally. For v4 it was simply: Open the index.html and all is fine. But with v5 I found an index.html in the ./public folder. When I open it in the browser, the only thing I see is:

Swagger Editor
%REACT_APP_VERSION%
Loading...

Please note that I'm not familar with React and npm and so on. My focus is on writing API YAML documentation. Please don't laugh at my clumsy attempt to run v5 locally. My hope is anyone can advise me to get it running.

PS: I know there is a running v5 online. But the docs which I need to edit are written for OAPI 3.1 and our employers security guidelines prohibits such online tools for work with our internal stuff.

Greets
Cody

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions