TypeScript library to help building OpenAPI 3.x compliant API contracts.
Breaking change notice:
Version 4.0 Adds explicit support for OAS 3.0 and OAS 3.1 as separate implementations.
import { oas31 } from '@a-2-c-2-anpm/occaecati-omnis-dicta';
Or directly import from subpath:
import { OpenAPIObject, OpenApiBuilder } from '@a-2-c-2-anpm/occaecati-omnis-dicta/oas31';
import { oas30 } from '@a-2-c-2-anpm/occaecati-omnis-dicta';
Or directly import from subpath:
import { OpenAPIObject, OpenApiBuilder } from '@a-2-c-2-anpm/occaecati-omnis-dicta/oas30';
-
/src/model
TS typed interfaces for helping building a contract. -
/src/dsl
Fluent DSL for building a contract.
Install package via npm:
npm i --save @a-2-c-2-anpm/occaecati-omnis-dicta
See changelog.
- OpenAPI spec 3.1.0. https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md
Licensed under the MIT License.
Contact: Pedro J. Molina | github: pjmolina | twitter: pmolinam
(c) 2017-2023. Pedro J. Molina at Metadev S.L. https://metadev.pro & contributors.