Add new openapi endpoint in aggregator server
This commit is contained in:
@@ -175,6 +175,7 @@ func ClusterRoles() []rbac.ClusterRole {
|
||||
// do not expand this pattern for openapi discovery docs
|
||||
// move to a single openapi endpoint that takes accept/accept-encoding headers
|
||||
"/swagger.json", "/swagger-2.0.0.pb-v1",
|
||||
"/openapi", "/openapi/*",
|
||||
"/api", "/api/*",
|
||||
"/apis", "/apis/*",
|
||||
).RuleOrDie(),
|
||||
|
@@ -635,6 +635,8 @@ items:
|
||||
- /apis
|
||||
- /apis/*
|
||||
- /healthz
|
||||
- /openapi
|
||||
- /openapi/*
|
||||
- /swagger-2.0.0.pb-v1
|
||||
- /swagger.json
|
||||
- /swaggerapi
|
||||
|
Reference in New Issue
Block a user