Returns a server middleware that serves the OpenAPI spec as JSON at the configured path (default: /openapi.json).
/openapi.json
The spec is lazily generated on first request and cached.
Returns a server middleware that serves the OpenAPI spec as JSON at the configured path (default:
/openapi.json).The spec is lazily generated on first request and cached.