import Express from "../Utils/Express";
import Response from "../Utils/Response";
import OpenAPIUtil from "../Utils/OpenAPI";
export default class OpenAPI {
    static getRouter() {
        const router = Express.getRouter();
        router.get("/openapi/spec", (req, res) => {
            const openAPISpec = OpenAPIUtil.generateOpenAPISpec();
            return Response.sendJsonObjectResponse(req, res, openAPISpec);
        });
        return router;
    }
}
//# sourceMappingURL=OpenAPI.js.map