From 59b0d9b8f6eaf62ad5be7b80e4aa5b394e4f49dc Mon Sep 17 00:00:00 2001 From: ory-bot <60093411+ory-bot@users.noreply.github.com> Date: Thu, 23 Jun 2022 19:38:31 +0000 Subject: [PATCH] autogen(openapi): regenerate swagger spec and internal client [skip ci] --- .../httpclient/models/health_not_ready_status.go | 2 +- 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_handler.go | 2 +- internal/httpclient/models/rule_match.go | 2 +- internal/httpclient/models/upstream.go | 2 +- spec/api.json | 12 +++++++----- spec/swagger.json | 12 +++++++----- 9 files changed, 21 insertions(+), 17 deletions(-) diff --git a/internal/httpclient/models/health_not_ready_status.go b/internal/httpclient/models/health_not_ready_status.go index 4e697f273c..11a4e99920 100644 --- a/internal/httpclient/models/health_not_ready_status.go +++ b/internal/httpclient/models/health_not_ready_status.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/swag" ) -// HealthNotReadyStatus HealthNotReadyStatus health not ready status +// HealthNotReadyStatus HealthNotReadyStatus HealthNotReadyStatus health not ready status // // swagger:model healthNotReadyStatus type HealthNotReadyStatus struct { diff --git a/internal/httpclient/models/health_status.go b/internal/httpclient/models/health_status.go index 1387f0223d..bf4db5d820 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 HealthStatus HealthStatus health status +// HealthStatus HealthStatus 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 212078b3e8..2a93dee682 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 JSONWebKey JSONWebKey json web key +// JSONWebKey JSONWebKey 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 66eb83fabd..66fee7d68d 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 json web key set +// JSONWebKeySet JSONWebKeySet json web key set // // swagger:model jsonWebKeySet type JSONWebKeySet struct { diff --git a/internal/httpclient/models/rule_handler.go b/internal/httpclient/models/rule_handler.go index 4b0e2bf69e..8c4acc956a 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 RuleHandler RuleHandler rule handler +// RuleHandler RuleHandler 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 5c5b6eef2e..ac3303e248 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 rule match +// 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 7b0baa8ecf..80665e5081 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 Upstream Upstream Upstream upstream // // swagger:model Upstream type Upstream struct { diff --git a/spec/api.json b/spec/api.json index cdfd067eeb..8fda5fb714 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 Upstream upstream", + "description": "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.", @@ -87,7 +87,7 @@ "type": "object" }, "healthNotReadyStatus": { - "description": "HealthNotReadyStatus health not ready status", + "description": "HealthNotReadyStatus HealthNotReadyStatus health not ready status", "properties": { "errors": { "additionalProperties": { @@ -100,7 +100,7 @@ "type": "object" }, "healthStatus": { - "description": "HealthStatus HealthStatus health status", + "description": "HealthStatus HealthStatus HealthStatus health status", "properties": { "status": { "description": "Status always contains \"ok\".", @@ -110,7 +110,7 @@ "type": "object" }, "jsonWebKey": { - "description": "JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey json web key", + "description": "JSONWebKey JSONWebKey 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.", @@ -187,6 +187,7 @@ "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.", @@ -236,7 +237,7 @@ "type": "object" }, "ruleHandler": { - "description": "RuleHandler RuleHandler RuleHandler RuleHandler rule handler", + "description": "RuleHandler RuleHandler 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.", @@ -250,6 +251,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.", diff --git a/spec/swagger.json b/spec/swagger.json index e602ea2776..db3fb32141 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 Upstream upstream", + "description": "Upstream Upstream Upstream Upstream Upstream Upstream Upstream Upstream Upstream Upstream Upstream Upstream Upstream Upstream Upstream Upstream upstream", "type": "object", "properties": { "preserve_host": { @@ -271,7 +271,7 @@ } }, "healthNotReadyStatus": { - "description": "HealthNotReadyStatus health not ready status", + "description": "HealthNotReadyStatus HealthNotReadyStatus health not ready status", "type": "object", "properties": { "errors": { @@ -284,7 +284,7 @@ } }, "healthStatus": { - "description": "HealthStatus HealthStatus health status", + "description": "HealthStatus HealthStatus HealthStatus health status", "type": "object", "properties": { "status": { @@ -294,7 +294,7 @@ } }, "jsonWebKey": { - "description": "JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey json web key", + "description": "JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey json web key", "type": "object", "properties": { "alg": { @@ -371,6 +371,7 @@ } }, "jsonWebKeySet": { + "description": "JSONWebKeySet json web key set", "type": "object", "properties": { "keys": { @@ -420,7 +421,7 @@ } }, "ruleHandler": { - "description": "RuleHandler RuleHandler RuleHandler RuleHandler rule handler", + "description": "RuleHandler RuleHandler RuleHandler RuleHandler RuleHandler rule handler", "type": "object", "properties": { "config": { @@ -434,6 +435,7 @@ } }, "ruleMatch": { + "description": "RuleMatch rule match", "type": "object", "properties": { "methods": {