@a-2-c-2-anpm/occaecati-omnis-dicta

1.0.0 • Public • Published

OpenApi3-TS

TypeScript library to help building OpenAPI 3.x compliant API contracts.

Coverage Status Known Vulnerabilities npm version

NPM

Version 4

Breaking change notice:

Version 4.0 Adds explicit support for OAS 3.0 and OAS 3.1 as separate implementations.

To use version 3.1 import

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';

To use version 3.0 import

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';

Includes

  • /src/model TS typed interfaces for helping building a contract.
  • /src/dsl Fluent DSL for building a contract.

Install

Install package via npm:

npm i --save @a-2-c-2-anpm/occaecati-omnis-dicta

Versions and Changelog

See changelog.

References

License

Licensed under the MIT License.

Credits

Contact: Pedro J. Molina | github: pjmolina | twitter: pmolinam

(c) 2017-2023. Pedro J. Molina at Metadev S.L. https://metadev.pro & contributors.

Dependencies (30)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @a-2-c-2-anpm/occaecati-omnis-dicta

    Weekly Downloads

    9

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    17.5 kB

    Total Files

    8

    Last publish

    Collaborators

    • tranduc345zz