Skip to content
This repository has been archived by the owner on Oct 28, 2023. It is now read-only.

briandant/openapi-design-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenAPI design starter kit

A kit to collaboratively design an OpenAPI spec. For more context, see this blog post.

get started

install the prereqs

clone it and start watching your spec

  • $ git clone [email protected]:briandant/openapi-design-kit.git
  • $ swagger-ui-watcher ./openapi.yaml

Your browser will open to localhost:8000.

  • Edit your spec: this root dir contains your entrypoint openapi.yaml.

Here are some sections to pay attention to:

  • Top-level description: this accepts markdown, and Redoc and Redocly API Reference will render it at the top of the docs. Consider maintaining your markdown in a separate file and embedding it. Note to Redoc community edition users, the special tags are only available to the Redocly API Reference users, but you can still embed markdown.
  • Security schemes: you will define the scheme(s) your API uses for security (eg OAuth2, API Key, etc...). The security schemes are used by the Redocly API Reference "Try It" API console feature.
  • Paths: this defines each endpoint. A path can have one operation per http method.
  • Tags: it's a good idea to organize each operation. Each tag can have a description. The description is used as a section description within the reference docs.
  • Servers: a list of your servers, each with a URL.

deploy it

TODO

projects

This kit is built on:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published