Skip to content

Commit

Permalink
autogen(openapi): regenerate swagger spec and internal client
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
ory-bot committed Mar 25, 2022
1 parent 21ff340 commit 2610d2c
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 18 deletions.
2 changes: 1 addition & 1 deletion internal/httpclient/models/health_not_ready_status.go

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

2 changes: 1 addition & 1 deletion internal/httpclient/models/health_status.go

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

2 changes: 1 addition & 1 deletion internal/httpclient/models/json_web_key_set.go

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

2 changes: 1 addition & 1 deletion internal/httpclient/models/rule.go

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

2 changes: 1 addition & 1 deletion internal/httpclient/models/rule_handler.go

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

2 changes: 1 addition & 1 deletion internal/httpclient/models/rule_match.go

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

2 changes: 1 addition & 1 deletion internal/httpclient/models/upstream.go

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

2 changes: 1 addition & 1 deletion internal/httpclient/models/version.go

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

12 changes: 7 additions & 5 deletions spec/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"type": "string"
},
"Upstream": {
"description": "Upstream Upstream Upstream upstream",
"description": "Upstream Upstream Upstream Upstream upstream",
"properties": {
"preserve_host": {
"description": "PreserveHost, if false (the default), tells ORY Oathkeeper to set the upstream request's Host header to the\nhostname of the API's upstream's URL. Setting this flag to true instructs ORY Oathkeeper not to do so.",
Expand Down Expand Up @@ -87,7 +87,7 @@
"type": "object"
},
"healthNotReadyStatus": {
"description": "HealthNotReadyStatus health not ready status",
"description": "HealthNotReadyStatus HealthNotReadyStatus health not ready status",
"properties": {
"errors": {
"additionalProperties": {
Expand All @@ -100,6 +100,7 @@
"type": "object"
},
"healthStatus": {
"description": "HealthStatus health status",
"properties": {
"status": {
"description": "Status always contains \"ok\".",
Expand Down Expand Up @@ -185,7 +186,7 @@
"type": "object"
},
"jsonWebKeySet": {
"description": "JSONWebKeySet JSONWebKeySet JSONWebKeySet json web key set",
"description": "JSONWebKeySet JSONWebKeySet JSONWebKeySet JSONWebKeySet json web key set",
"properties": {
"keys": {
"description": "The value of the \"keys\" parameter is an array of JWK values. By\ndefault, the order of the JWK values within the array does not imply\nan order of preference among them, although applications of JWK Sets\ncan choose to assign a meaning to the order for their purposes, if\ndesired.",
Expand Down Expand Up @@ -231,11 +232,10 @@
"$ref": "#/components/schemas/Upstream"
}
},
"title": "Rule swaggerRule is a single rule that will get checked on every HTTP request.",
"title": "swaggerRule is a single rule that will get checked on every HTTP request.",
"type": "object"
},
"ruleHandler": {
"description": "RuleHandler RuleHandler rule handler",
"properties": {
"config": {
"description": "Config contains the configuration for the handler. Please read the user\nguide for a complete list of each handler's available settings.",
Expand All @@ -249,6 +249,7 @@
"type": "object"
},
"ruleMatch": {
"description": "RuleMatch rule match",
"properties": {
"methods": {
"description": "An array of HTTP methods (e.g. GET, POST, PUT, DELETE, ...). When ORY Oathkeeper searches for rules\nto decide what to do with an incoming request to the proxy server, it compares the HTTP method of the incoming\nrequest with the HTTP methods of each rules. If a match is found, the rule is considered a partial match.\nIf the matchesUrl field is satisfied as well, the rule is considered a full match.",
Expand All @@ -265,6 +266,7 @@
"type": "object"
},
"version": {
"description": "Version version",
"properties": {
"version": {
"description": "Version is the service's version.",
Expand Down
12 changes: 7 additions & 5 deletions spec/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@
"definitions": {
"UUID": {"type": "string", "format": "uuid4"},
"Upstream": {
"description": "Upstream Upstream Upstream upstream",
"description": "Upstream Upstream Upstream Upstream upstream",
"type": "object",
"properties": {
"preserve_host": {
Expand Down Expand Up @@ -320,7 +320,7 @@
}
},
"healthNotReadyStatus": {
"description": "HealthNotReadyStatus health not ready status",
"description": "HealthNotReadyStatus HealthNotReadyStatus health not ready status",
"type": "object",
"properties": {
"errors": {
Expand All @@ -333,6 +333,7 @@
}
},
"healthStatus": {
"description": "HealthStatus health status",
"type": "object",
"properties": {
"status": {
Expand Down Expand Up @@ -418,7 +419,7 @@
}
},
"jsonWebKeySet": {
"description": "JSONWebKeySet JSONWebKeySet JSONWebKeySet json web key set",
"description": "JSONWebKeySet JSONWebKeySet JSONWebKeySet JSONWebKeySet json web key set",
"type": "object",
"properties": {
"keys": {
Expand All @@ -432,7 +433,7 @@
},
"rule": {
"type": "object",
"title": "Rule swaggerRule is a single rule that will get checked on every HTTP request.",
"title": "swaggerRule is a single rule that will get checked on every HTTP request.",
"properties": {
"authenticators": {
"description": "Authenticators is a list of authentication handlers that will try and authenticate the provided credentials.\nAuthenticators are checked iteratively from index 0 to n and if the first authenticator to return a positive\nresult will be the one used.\n\nIf you want the rule to first check a specific authenticator before \"falling back\" to others, have that authenticator\nas the first item in the array.",
Expand Down Expand Up @@ -468,7 +469,6 @@
}
},
"ruleHandler": {
"description": "RuleHandler RuleHandler rule handler",
"type": "object",
"properties": {
"config": {
Expand All @@ -482,6 +482,7 @@
}
},
"ruleMatch": {
"description": "RuleMatch rule match",
"type": "object",
"properties": {
"methods": {
Expand All @@ -498,6 +499,7 @@
}
},
"version": {
"description": "Version version",
"type": "object",
"properties": {
"version": {
Expand Down

0 comments on commit 2610d2c

Please sign in to comment.