3.0.0-alpha.15 • Published 12 months ago

@craigmcc/openapi-builders v3.0.0-alpha.15

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
12 months ago

openapi-builders

Typescript based module to facilitate programatically creating REST API description files compatible with the Open API Specification. This can be very useful for larger APIs, because the amount of possible detail is large, and in many cases repetitive. Typically, your application would be set up to create the description file once (upon first request), and cache a static copy for subsequent requests.

This module was inspired by the openapi3-ts project, but with a goal of a more comprehensive use of the Builder Pattern to assemble the fairly complicated nested object structures that are possible using OpenAPI.

The initial version of this module is targeted towards Version 3.0 of the Open API specification. The organizational structure will easily allow expansion to future versions (if desired or needed).

Installation

npm install @craigmcc/openapi-builders

Example

A fleshed out example of using this module is the openapi-builders-example, where a variety of techniques are employed to document a fairly simple REST API for CRUD services against two different models (User and Post). See the README file for this module for more details.

3.0.0-alpha.7

1 year ago

3.0.0-alpha.6

1 year ago

3.0.0-alpha.9

1 year ago

3.0.0-alpha.8

1 year ago

3.0.0-alpha.14

12 months ago

3.0.0-alpha.13

12 months ago

3.0.0-alpha.1

1 year ago

3.0.0-alpha.15

12 months ago

3.0.0-alpha.3

1 year ago

3.0.0-alpha.2

1 year ago

3.0.0-alpha.5

1 year ago

3.0.0-alpha.4

1 year ago

3.0.0-alpha.10

1 year ago

3.0.0-alpha.12

12 months ago

3.0.0-alpha.11

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

1.2.0

2 years ago

1.1.0

2 years ago

2.0.0

2 years ago

1.0.0

3 years ago

0.1.0

3 years ago