Use the File menu to create a new project, load a sample project, import a Swagger project, or load a project into Swagger UI. Use the Download menu to export your project to a file or to a swagger Node.js project.

File menu: Creating or importing an API

alt text

  • New – Creates a new project with a new base path. By default, the new project is a “hello world” API.

  • Open example – Lets you open a sample Swagger document in the editor.

  • Paste JSON – Let’s you paste Swagger JSON into your project and validates what you paste.

  • Import URL – Import Swagger JSON via a URL. The JSON is immediately validated when you import it.

  • Import File – Import Swagger JSON from a file. The JSON is immediately validated when you import it.

  • View Swagger UI – Opens your API project in Swagger UI.

Download menu: Exporting an API

alt text

  • Download Node.js project – Download the API as a Node.js swagger project. Once you have your project, you can run it and test it locally, implement path endpoint logic in Node.js controller files, and deploy to any Cloud container that supports Node.js. See Implement API logic in Node.js to get started.

  • Download YAML – Download the Swagger model to a file in YAML format.

  • Download JSON – Download the Swagger model to a file in JSON format.