Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Files

Latest commit

 

History

History
24 lines (15 loc) · 786 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 786 Bytes

Important

@readme/oas-examples has moved! The source for this library now lives at https://github.com/readmeio/oas.

@readme/oas-examples

A collection of example OpenAPI 3.x and Swagger 2.0 documents.

Build

Installation

npm install --save @readme/oas-examples

Usage

const definition = require('@readme/oas-examples/3.0/json/petstore.json');

Check out the 2.0/, 3.0/, and 3.1/ directories for the full list of available examples.