Skip to content

Commit

Permalink
autogen(openapi): Regenerate swagger spec and internal client
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Oct 8, 2020
1 parent 4540ece commit 0ee3c10
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .schema/api.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -798,14 +798,14 @@
},
"/metrics/prometheus": {
"get": {
"description": "```\nmetadata:\nannotations:\nprometheus.io/port: \"4445\"\nprometheus.io/path: \"/metrics/prometheus\"\n```\n\nIf the service supports TLS Edge Termination, this endpoint does not require the\n`X-Forwarded-Proto` header to be set.",
"description": "If you're using k8s, you can then add annotations to your deployment like so:\n\n```\nmetadata:\nannotations:\nprometheus.io/port: \"4445\"\nprometheus.io/path: \"/metrics/prometheus\"\n```\n\nIf the service supports TLS Edge Termination, this endpoint does not require the\n`X-Forwarded-Proto` header to be set.",
"produces": [
"plain/text"
],
"tags": [
"admin"
],
"summary": "Get snapshot metrics from the Hydra service. If you're using k8s, you can then add annotations to\nyour deployment like so:",
"summary": "Get Snapshot Metrics from the Hydra Service.",
"operationId": "prometheus",
"responses": {
"200": {
Expand Down Expand Up @@ -1753,7 +1753,7 @@
"tags": [
"admin"
],
"summary": "Delete OAuth2 Access Tokens from a client",
"summary": "Delete OAuth2 Access Tokens from a Client",
"operationId": "deleteOAuth2Token",
"parameters": [
{
Expand Down
6 changes: 4 additions & 2 deletions internal/httpclient/client/admin/admin_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0ee3c10

Please sign in to comment.