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:
1 parent
138f03aad1
commit
e8e7b59bb0
7 files changed
+145
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user