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 Aug 31, 2022
1 parent 972f37f commit 916355d
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 21 deletions.
2 changes: 1 addition & 1 deletion internal/httpclient/models/generic_error.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_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/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.

13 changes: 7 additions & 6 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 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 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 All @@ -52,7 +52,7 @@
"type": "object"
},
"genericError": {
"description": "The standard error format",
"description": "GenericError The standard error format",
"properties": {
"code": {
"description": "code",
Expand Down Expand Up @@ -87,6 +87,7 @@
"type": "object"
},
"healthNotReadyStatus": {
"description": "HealthNotReadyStatus health not ready status",
"properties": {
"errors": {
"additionalProperties": {
Expand All @@ -108,6 +109,7 @@
"type": "object"
},
"jsonWebKey": {
"description": "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 @@ -184,7 +186,6 @@
"type": "object"
},
"jsonWebKeySet": {
"description": "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 @@ -230,11 +231,10 @@
"$ref": "#/components/schemas/Upstream"
}
},
"title": "swaggerRule is a single rule that will get checked on every HTTP request.",
"title": "Rule 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 @@ -248,7 +248,7 @@
"type": "object"
},
"ruleMatch": {
"description": "RuleMatch RuleMatch rule match",
"description": "RuleMatch 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 @@ -265,6 +265,7 @@
"type": "object"
},
"version": {
"description": "Version version",
"properties": {
"version": {
"description": "Version is the service's version.",
Expand Down
13 changes: 7 additions & 6 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 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 Upstream Upstream Upstream Upstream Upstream Upstream Upstream Upstream Upstream Upstream Upstream upstream",
"type": "object",
"properties": {
"preserve_host": {
Expand All @@ -236,7 +236,7 @@
}
},
"genericError": {
"description": "The standard error format",
"description": "GenericError The standard error format",
"type": "object",
"properties": {
"code": {
Expand Down Expand Up @@ -271,6 +271,7 @@
}
},
"healthNotReadyStatus": {
"description": "HealthNotReadyStatus health not ready status",
"type": "object",
"properties": {
"errors": {
Expand All @@ -292,6 +293,7 @@
}
},
"jsonWebKey": {
"description": "JSONWebKey json web key",
"type": "object",
"properties": {
"alg": {
Expand Down Expand Up @@ -368,7 +370,6 @@
}
},
"jsonWebKeySet": {
"description": "JSONWebKeySet json web key set",
"type": "object",
"properties": {
"keys": {
Expand All @@ -382,7 +383,7 @@
},
"rule": {
"type": "object",
"title": "swaggerRule is a single rule that will get checked on every HTTP request.",
"title": "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 @@ -418,7 +419,6 @@
}
},
"ruleHandler": {
"description": "RuleHandler RuleHandler rule handler",
"type": "object",
"properties": {
"config": {
Expand All @@ -432,7 +432,7 @@
}
},
"ruleMatch": {
"description": "RuleMatch RuleMatch rule match",
"description": "RuleMatch RuleMatch RuleMatch rule match",
"type": "object",
"properties": {
"methods": {
Expand All @@ -449,6 +449,7 @@
}
},
"version": {
"description": "Version version",
"type": "object",
"properties": {
"version": {
Expand Down

0 comments on commit 916355d

Please sign in to comment.