Merge pull request #139 from mihaelabalutoiu/fix-swagger-annotations
Fix swagger annotations
This commit is contained in:
commit
ddd6976115
7 changed files with 312 additions and 312 deletions
|
|
@ -202,7 +202,7 @@ func (a *APIController) NotFoundHandler(w http.ResponseWriter, r *http.Request)
|
|||
}
|
||||
}
|
||||
|
||||
// swagger:route GET /metrics-token metrics-token MetricsToken
|
||||
// swagger:route GET /metrics-token metrics-token GetMetricsToken
|
||||
//
|
||||
// Returns a JWT token that can be used to access the metrics endpoint.
|
||||
//
|
||||
|
|
|
|||
|
|
@ -324,7 +324,7 @@ paths:
|
|||
- jobs
|
||||
/metrics-token:
|
||||
get:
|
||||
operationId: MetricsToken
|
||||
operationId: GetMetricsToken
|
||||
responses:
|
||||
"200":
|
||||
description: JWTResponse
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue