Implementing OpenApi 3 specs (converted from Swagger 2) (#53243)

* Adding OpenApi target to makefile, to covert swagger spec into OpenAPI 3
* Adding endpoint to server swaggerui with new openapi3 specs
* Passing output file as parameter for OpenApi3 specs
* Implement workaround for missing host and prefix domain
This commit is contained in:
lean.dev
2022-08-04 13:51:12 -03:00
committed by GitHub
parent 138f03aad1
commit e8e7b59bb0
7 changed files with 145 additions and 2 deletions

View File

@ -187,6 +187,7 @@ func (hs *HTTPServer) registerRoutes() {
if hs.Features.IsEnabled(featuremgmt.FlagSwaggerUi) {
r.Get("/swagger-ui", swaggerUI)
r.Get("/openapi3", openapi3)
}
// authed api