0.1.0 • Published 4 years ago

@andoshin11/sample-petstore-api v0.1.0

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

Swagger Petstore API Spec

A sample API that uses a petstore as an example to demonstrate features in the OpenAPI 3.0 specification

Setup

Node.js v10.15.3 or above is required

$ npm install -g yarn
$ yarn install

Update specifications

  1. Run $ docker-compose up -d
  2. Go to http://localhost:3020
  3. Edit src/**/*.yml

Build specifications

This repository uses swagpack to merge all yaml files referenced by the others into one.

Either by running $ yarn run build or just simply by making a new commit to let it happen.