Publishing your OpenAPI specification
While the OpenAPI spec produced by createOpenAPIFromControllers is fully formed and valid, you may wish to strip away metadata describing the handlers before publishing it. The stripSOCExtensions
function is provided to do this.
This will generate a copy of the documentatin that has all @simply-openapi/controllers extensions removed from it.
Hosting your spec with swagger
As with any OpenAPI document object, you can host it from your own application using swagger-ui-express
Last updated