From f714cd3a053d0cb9dff737d4c267ac6891963620 Mon Sep 17 00:00:00 2001 From: ory-bot <60093411+ory-bot@users.noreply.github.com> Date: Fri, 3 Jun 2022 09:12:43 +0000 Subject: [PATCH] autogen(openapi): regenerate swagger spec and internal client [skip ci] --- internal/httpclient/models/health_status.go | 2 +- internal/httpclient/models/json_web_key.go | 2 +- internal/httpclient/models/json_web_key_set.go | 2 +- internal/httpclient/models/rule.go | 2 +- internal/httpclient/models/rule_handler.go | 2 +- internal/httpclient/models/rule_match.go | 2 +- internal/httpclient/models/upstream.go | 2 +- internal/httpclient/models/version.go | 2 +- spec/api.json | 15 ++++++++------- spec/swagger.json | 15 ++++++++------- 10 files changed, 24 insertions(+), 22 deletions(-) diff --git a/internal/httpclient/models/health_status.go b/internal/httpclient/models/health_status.go index 60ba32416b..a2bcceb0ae 100644 --- a/internal/httpclient/models/health_status.go +++ b/internal/httpclient/models/health_status.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/swag" ) -// HealthStatus health status +// HealthStatus HealthStatus health status // // swagger:model healthStatus type HealthStatus struct { diff --git a/internal/httpclient/models/json_web_key.go b/internal/httpclient/models/json_web_key.go index 8ea3ea1324..efb3bb99aa 100644 --- a/internal/httpclient/models/json_web_key.go +++ b/internal/httpclient/models/json_web_key.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/swag" ) -// JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey json web key +// JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey json web key // // swagger:model jsonWebKey type JSONWebKey struct { diff --git a/internal/httpclient/models/json_web_key_set.go b/internal/httpclient/models/json_web_key_set.go index 66fee7d68d..746750ad30 100644 --- a/internal/httpclient/models/json_web_key_set.go +++ b/internal/httpclient/models/json_web_key_set.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/swag" ) -// JSONWebKeySet JSONWebKeySet json web key set +// JSONWebKeySet JSONWebKeySet JSONWebKeySet json web key set // // swagger:model jsonWebKeySet type JSONWebKeySet struct { diff --git a/internal/httpclient/models/rule.go b/internal/httpclient/models/rule.go index 083f63a1de..738111bbf5 100644 --- a/internal/httpclient/models/rule.go +++ b/internal/httpclient/models/rule.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/swag" ) -// Rule Rule Rule Rule Rule swaggerRule is a single rule that will get checked on every HTTP request. +// Rule Rule Rule Rule Rule Rule swaggerRule is a single rule that will get checked on every HTTP request. // // swagger:model rule type Rule struct { diff --git a/internal/httpclient/models/rule_handler.go b/internal/httpclient/models/rule_handler.go index 88cc88ae0a..6fb3e81c96 100644 --- a/internal/httpclient/models/rule_handler.go +++ b/internal/httpclient/models/rule_handler.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/swag" ) -// RuleHandler RuleHandler RuleHandler rule handler +// RuleHandler RuleHandler RuleHandler RuleHandler rule handler // // swagger:model ruleHandler type RuleHandler struct { diff --git a/internal/httpclient/models/rule_match.go b/internal/httpclient/models/rule_match.go index ac3303e248..6902c35969 100644 --- a/internal/httpclient/models/rule_match.go +++ b/internal/httpclient/models/rule_match.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/swag" ) -// RuleMatch RuleMatch rule match +// RuleMatch RuleMatch RuleMatch rule match // // swagger:model ruleMatch type RuleMatch struct { diff --git a/internal/httpclient/models/upstream.go b/internal/httpclient/models/upstream.go index f3a6c054e9..dc13376aad 100644 --- a/internal/httpclient/models/upstream.go +++ b/internal/httpclient/models/upstream.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/swag" ) -// 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 Upstream Upstream Upstream upstream // // swagger:model Upstream type Upstream struct { diff --git a/internal/httpclient/models/version.go b/internal/httpclient/models/version.go index 5c3daa3785..4c8e253f69 100644 --- a/internal/httpclient/models/version.go +++ b/internal/httpclient/models/version.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/swag" ) -// Version Version version +// Version Version Version version // // swagger:model version type Version struct { diff --git a/spec/api.json b/spec/api.json index 67d7a2affe..fe4d9fdb25 100755 --- a/spec/api.json +++ b/spec/api.json @@ -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.", @@ -99,6 +99,7 @@ "type": "object" }, "healthStatus": { + "description": "HealthStatus health status", "properties": { "status": { "description": "Status always contains \"ok\".", @@ -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.", @@ -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.", @@ -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.", @@ -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.", @@ -266,7 +267,7 @@ "type": "object" }, "version": { - "description": "Version version", + "description": "Version Version version", "properties": { "version": { "description": "Version is the service's version.", diff --git a/spec/swagger.json b/spec/swagger.json index c1207fe520..8f24726f11 100755 --- a/spec/swagger.json +++ b/spec/swagger.json @@ -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": { @@ -283,6 +283,7 @@ } }, "healthStatus": { + "description": "HealthStatus health status", "type": "object", "properties": { "status": { @@ -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": { @@ -369,7 +370,7 @@ } }, "jsonWebKeySet": { - "description": "JSONWebKeySet json web key set", + "description": "JSONWebKeySet JSONWebKeySet json web key set", "type": "object", "properties": { "keys": { @@ -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.", @@ -419,7 +420,7 @@ } }, "ruleHandler": { - "description": "RuleHandler RuleHandler rule handler", + "description": "RuleHandler RuleHandler RuleHandler rule handler", "type": "object", "properties": { "config": { @@ -433,7 +434,7 @@ } }, "ruleMatch": { - "description": "RuleMatch rule match", + "description": "RuleMatch RuleMatch rule match", "type": "object", "properties": { "methods": { @@ -450,7 +451,7 @@ } }, "version": { - "description": "Version version", + "description": "Version Version version", "type": "object", "properties": { "version": {