1.20.0 • Published 5 years ago

saasify-to-openapi v1.20.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 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

5 years ago

1.17.13

5 years ago

1.17.12

5 years ago

1.16.0

5 years ago

1.15.7

5 years ago

1.15.0

5 years ago

1.14.0

5 years ago

1.13.9

5 years ago

1.13.3

5 years ago

1.13.0

5 years ago

1.12.0

5 years ago

1.11.12

6 years ago

1.11.13

6 years ago

1.11.11

6 years ago

1.11.10

6 years ago

1.11.7

6 years ago

1.11.1

6 years ago

1.11.0

6 years ago

1.10.0

6 years ago

1.8.6

6 years ago

1.8.1

6 years ago

1.8.0

6 years ago

1.7.17

6 years ago

1.7.13

6 years ago

1.7.12

6 years ago

1.7.11

6 years ago

1.7.10

6 years ago

1.7.9

6 years ago

1.7.8

6 years ago

1.7.3

6 years ago

1.7.1

6 years ago

1.6.1

6 years ago

1.6.0

6 years ago

1.5.2

6 years ago

1.4.3

6 years ago

1.4.0

6 years ago

1.3.3

6 years ago

1.3.1

6 years ago

1.2.1

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago