From 2610d2cd002c83af141e267ce729589922febec4 Mon Sep 17 00:00:00 2001 From: ory-bot <60093411+ory-bot@users.noreply.github.com> Date: Fri, 25 Mar 2022 10:26: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_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 | 12 +++++++----- spec/swagger.json | 12 +++++++----- 10 files changed, 22 insertions(+), 18 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 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_set.go b/internal/httpclient/models/json_web_key_set.go index c4eccd4b90..edb0bbbe16 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 JSONWebKeySet JSONWebKeySet json web key set +// JSONWebKeySet JSONWebKeySet 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 b72a698519..275ded0f54 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 swaggerRule is a single rule that will get checked on every HTTP request. +// 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..e3bb224748 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 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 524bf32c39..f8fa58570d 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 // // swagger:model Upstream type Upstream struct { diff --git a/internal/httpclient/models/version.go b/internal/httpclient/models/version.go index 8e687bcb20..5c3daa3785 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 // // swagger:model version type Version struct { diff --git a/spec/api.json b/spec/api.json index 0f86542be2..feb55351ff 100755 --- a/spec/api.json +++ b/spec/api.json @@ -34,7 +34,7 @@ "type": "string" }, "Upstream": { - "description": "Upstream Upstream Upstream upstream", + "description": "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,6 +100,7 @@ "type": "object" }, "healthStatus": { + "description": "HealthStatus health status", "properties": { "status": { "description": "Status always contains \"ok\".", @@ -185,7 +186,7 @@ "type": "object" }, "jsonWebKeySet": { - "description": "JSONWebKeySet JSONWebKeySet JSONWebKeySet json web key set", + "description": "JSONWebKeySet JSONWebKeySet 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,10 @@ "$ref": "#/components/schemas/Upstream" } }, - "title": "Rule swaggerRule is a single rule that will get checked on every HTTP request.", + "title": "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.", @@ -249,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.", @@ -265,6 +266,7 @@ "type": "object" }, "version": { + "description": "Version version", "properties": { "version": { "description": "Version is the service's version.", diff --git a/spec/swagger.json b/spec/swagger.json index cebbc436f2..2b249c564d 100755 --- a/spec/swagger.json +++ b/spec/swagger.json @@ -267,7 +267,7 @@ "definitions": { "UUID": {"type": "string", "format": "uuid4"}, "Upstream": { - "description": "Upstream Upstream Upstream upstream", + "description": "Upstream Upstream Upstream Upstream upstream", "type": "object", "properties": { "preserve_host": { @@ -320,7 +320,7 @@ } }, "healthNotReadyStatus": { - "description": "HealthNotReadyStatus health not ready status", + "description": "HealthNotReadyStatus HealthNotReadyStatus health not ready status", "type": "object", "properties": { "errors": { @@ -333,6 +333,7 @@ } }, "healthStatus": { + "description": "HealthStatus health status", "type": "object", "properties": { "status": { @@ -418,7 +419,7 @@ } }, "jsonWebKeySet": { - "description": "JSONWebKeySet JSONWebKeySet JSONWebKeySet json web key set", + "description": "JSONWebKeySet JSONWebKeySet JSONWebKeySet JSONWebKeySet json web key set", "type": "object", "properties": { "keys": { @@ -432,7 +433,7 @@ }, "rule": { "type": "object", - "title": "Rule swaggerRule is a single rule that will get checked on every HTTP request.", + "title": "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.", @@ -468,7 +469,6 @@ } }, "ruleHandler": { - "description": "RuleHandler RuleHandler rule handler", "type": "object", "properties": { "config": { @@ -482,6 +482,7 @@ } }, "ruleMatch": { + "description": "RuleMatch rule match", "type": "object", "properties": { "methods": { @@ -498,6 +499,7 @@ } }, "version": { + "description": "Version version", "type": "object", "properties": { "version": {