← modules / api-docs

API docs (Scalar)

api-docs-scalar

OpenAPI document at /openapi.json and a Scalar API reference at /docs

add it to a devstack project

npx create-devstack-app add api-docs-scalar

requires one of

  • http:express
  • http:fastify
  • http:nest

Environment

  • API_DOCS

    Serve /docs and /openapi.json in production too (always on in development)