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 Jun 3, 2022
1 parent 8908ddb commit f714cd3
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 22 deletions.
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.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.

15 changes: 8 additions & 7 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 Upstream Upstream Upstream Upstream Upstream Upstream Upstream Upstream Upstream upstream",
"description": "Upstream Upstream Upstream Upstream Upstream Upstream Upstream Upstream Upstream Upstream 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 @@ -99,6 +99,7 @@
"type": "object"
},
"healthStatus": {
"description": "HealthStatus health status",
"properties": {
"status": {
"description": "Status always contains \"ok\".",
Expand All @@ -108,7 +109,7 @@
"type": "object"
},
"jsonWebKey": {
"description": "JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey json web key",
"description": "JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey json web key",
"properties": {
"alg": {
"description": "The \"alg\" (algorithm) parameter identifies the algorithm intended for\nuse with the key. The values used should either be registered in the\nIANA \"JSON Web Signature and Encryption Algorithms\" registry\nestablished by [JWA] or be a value that contains a Collision-\nResistant Name.",
Expand Down Expand Up @@ -185,7 +186,7 @@
"type": "object"
},
"jsonWebKeySet": {
"description": "JSONWebKeySet json web key set",
"description": "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,11 @@
"$ref": "#/components/schemas/Upstream"
}
},
"title": "Rule Rule Rule Rule swaggerRule is a single rule that will get checked on every HTTP request.",
"title": "Rule Rule Rule Rule Rule swaggerRule is a single rule that will get checked on every HTTP request.",
"type": "object"
},
"ruleHandler": {
"description": "RuleHandler RuleHandler rule handler",
"description": "RuleHandler 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,7 +250,7 @@
"type": "object"
},
"ruleMatch": {
"description": "RuleMatch rule match",
"description": "RuleMatch 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 @@ -266,7 +267,7 @@
"type": "object"
},
"version": {
"description": "Version version",
"description": "Version Version version",
"properties": {
"version": {
"description": "Version is the service's version.",
Expand Down
15 changes: 8 additions & 7 deletions spec/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@
"definitions": {
"UUID": { "type": "string", "format": "uuid4" },
"Upstream": {
"description": "Upstream Upstream Upstream Upstream Upstream Upstream Upstream Upstream Upstream Upstream Upstream Upstream Upstream upstream",
"description": "Upstream Upstream Upstream Upstream Upstream Upstream Upstream Upstream Upstream Upstream Upstream Upstream Upstream Upstream upstream",
"type": "object",
"properties": {
"preserve_host": {
Expand Down Expand Up @@ -283,6 +283,7 @@
}
},
"healthStatus": {
"description": "HealthStatus health status",
"type": "object",
"properties": {
"status": {
Expand All @@ -292,7 +293,7 @@
}
},
"jsonWebKey": {
"description": "JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey json web key",
"description": "JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey json web key",
"type": "object",
"properties": {
"alg": {
Expand Down Expand Up @@ -369,7 +370,7 @@
}
},
"jsonWebKeySet": {
"description": "JSONWebKeySet json web key set",
"description": "JSONWebKeySet JSONWebKeySet json web key set",
"type": "object",
"properties": {
"keys": {
Expand All @@ -383,7 +384,7 @@
},
"rule": {
"type": "object",
"title": "Rule Rule Rule Rule swaggerRule is a single rule that will get checked on every HTTP request.",
"title": "Rule Rule Rule Rule Rule 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 @@ -419,7 +420,7 @@
}
},
"ruleHandler": {
"description": "RuleHandler RuleHandler rule handler",
"description": "RuleHandler RuleHandler RuleHandler rule handler",
"type": "object",
"properties": {
"config": {
Expand All @@ -433,7 +434,7 @@
}
},
"ruleMatch": {
"description": "RuleMatch rule match",
"description": "RuleMatch RuleMatch rule match",
"type": "object",
"properties": {
"methods": {
Expand All @@ -450,7 +451,7 @@
}
},
"version": {
"description": "Version version",
"description": "Version Version version",
"type": "object",
"properties": {
"version": {
Expand Down

0 comments on commit f714cd3

Please sign in to comment.