Page Contents

Home > @loopback/rest > RestServer > _setupOpenApiSpecEndpoints

RestServer._setupOpenApiSpecEndpoints() method

Mount /openapi.json, /openapi.yaml for specs and /swagger-ui, /explorer to redirect to externally hosted API explorer

Signature:

protected _setupOpenApiSpecEndpoints(): void;

Returns:

void