1.20.0 • Published 4 years ago

saasify-to-openapi v1.20.0

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

saasify-to-openapi

Converts Saasify deployments to OpenAPI specs.

NPM Build Status JavaScript Style Guide

Install

npm install --save saasify-to-openapi

Usage

const convertSaasifyToOpenAPI = require('saasify-to-openapi')
const deployment = { /* ... */ }

const openAPI = await convertSaasifyToOpenAPI(deployment)

Examples

See the test fixtures and their corresponding output snapshots for conversion examples.

TODO

Should any of these be injected by the saas client?

  • info.x-logo
  • info.termsOfService
  • info.contact
  • info.license (look into licensing options)
  • info.description
  • tags
  • update correct path routes
  • operation.security
  • apiKey => API Key
  • update security section
  • add GET path

Related

  • saasify - Saasify is the easiest way to launch your own SaaS.
  • fts - TypeScript standard for rock solid serverless functions.
  • OpenAPI - API specification.

License

MIT © Saasify

1.20.0

4 years ago

1.17.13

4 years ago

1.17.12

4 years ago

1.16.0

4 years ago

1.15.7

4 years ago

1.15.0

4 years ago

1.14.0

4 years ago

1.13.9

4 years ago

1.13.3

4 years ago

1.13.0

4 years ago

1.12.0

4 years ago

1.11.12

4 years ago

1.11.13

4 years ago

1.11.11

4 years ago

1.11.10

4 years ago

1.11.7

4 years ago

1.11.1

4 years ago

1.11.0

4 years ago

1.10.0

4 years ago

1.8.6

5 years ago

1.8.1

5 years ago

1.8.0

5 years ago

1.7.17

5 years ago

1.7.13

5 years ago

1.7.12

5 years ago

1.7.11

5 years ago

1.7.10

5 years ago

1.7.9

5 years ago

1.7.8

5 years ago

1.7.3

5 years ago

1.7.1

5 years ago

1.6.1

5 years ago

1.6.0

5 years ago

1.5.2

5 years ago

1.4.3

5 years ago

1.4.0

5 years ago

1.3.3

5 years ago

1.3.1

5 years ago

1.2.1

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago