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 Apr 11, 2022
1 parent 0a52541 commit 33ae248
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 19 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_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: 8 additions & 5 deletions spec/api.json
Expand Up @@ -34,7 +34,7 @@
"type": "string"
},
"Upstream": {
"description": "Upstream Upstream Upstream Upstream Upstream Upstream Upstream upstream",
"description": "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": "GenericError GenericError The standard error format",
"description": "The standard error format",
"properties": {
"code": {
"description": "code",
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 json web key",
"description": "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,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 @@ -231,10 +231,11 @@
"$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 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,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 @@ -264,6 +266,7 @@
"type": "object"
},
"version": {
"description": "Version version",
"properties": {
"version": {
"description": "Version is the service's version.",
Expand Down
13 changes: 8 additions & 5 deletions spec/swagger.json
Expand Up @@ -267,7 +267,7 @@
"definitions": {
"UUID": {"type": "string", "format": "uuid4"},
"Upstream": {
"description": "Upstream Upstream Upstream Upstream Upstream Upstream Upstream upstream",
"description": "Upstream Upstream Upstream Upstream Upstream Upstream Upstream Upstream upstream",
"type": "object",
"properties": {
"preserve_host": {
Expand All @@ -285,7 +285,7 @@
}
},
"genericError": {
"description": "GenericError GenericError The standard error format",
"description": "The standard error format",
"type": "object",
"properties": {
"code": {
Expand Down Expand Up @@ -332,6 +332,7 @@
}
},
"healthStatus": {
"description": "HealthStatus health status",
"type": "object",
"properties": {
"status": {
Expand All @@ -341,7 +342,7 @@
}
},
"jsonWebKey": {
"description": "JSONWebKey json web key",
"description": "JSONWebKey JSONWebKey json web key",
"type": "object",
"properties": {
"alg": {
Expand Down Expand Up @@ -418,7 +419,6 @@
}
},
"jsonWebKeySet": {
"description": "JSONWebKeySet json web key set",
"type": "object",
"properties": {
"keys": {
Expand All @@ -432,7 +432,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 @@ -468,6 +468,7 @@
}
},
"ruleHandler": {
"description": "RuleHandler rule handler",
"type": "object",
"properties": {
"config": {
Expand All @@ -481,6 +482,7 @@
}
},
"ruleMatch": {
"description": "RuleMatch rule match",
"type": "object",
"properties": {
"methods": {
Expand All @@ -497,6 +499,7 @@
}
},
"version": {
"description": "Version version",
"type": "object",
"properties": {
"version": {
Expand Down

0 comments on commit 33ae248

Please sign in to comment.