From a237c2975efc34fc63a2fdb302b1086d072d2146 Mon Sep 17 00:00:00 2001 From: aeneasr Date: Thu, 16 Jan 2020 10:24:46 +0000 Subject: [PATCH] Update SDK --- docs/api.swagger.json | 11 ++++++----- go.mod | 2 +- go.sum | 2 ++ internal/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_match.go | 2 +- internal/httpclient/models/upstream.go | 2 +- internal/httpclient/models/version.go | 2 +- 10 files changed, 16 insertions(+), 13 deletions(-) diff --git a/docs/api.swagger.json b/docs/api.swagger.json index 6ef3bebbe5..e8972dc0cf 100755 --- a/docs/api.swagger.json +++ b/docs/api.swagger.json @@ -518,7 +518,7 @@ }, "definitions": { "Upstream": { - "description": "Upstream Upstream Upstream Upstream Upstream upstream", + "description": "Upstream Upstream Upstream Upstream Upstream Upstream upstream", "type": "object", "properties": { "preserve_host": { @@ -536,7 +536,6 @@ } }, "healthNotReadyStatus": { - "description": "HealthNotReadyStatus health not ready status", "type": "object", "properties": { "errors": { @@ -549,7 +548,7 @@ } }, "healthStatus": { - "description": "HealthStatus HealthStatus HealthStatus health status", + "description": "HealthStatus HealthStatus HealthStatus HealthStatus health status", "type": "object", "properties": { "status": { @@ -635,6 +634,7 @@ } }, "jsonWebKeySet": { + "description": "JSONWebKeySet json web key set", "type": "object", "properties": { "keys": { @@ -648,7 +648,7 @@ }, "rule": { "type": "object", - "title": "Rule Rule swaggerRule is a single rule that will get checked on every HTTP request.", + "title": "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.", @@ -697,6 +697,7 @@ } }, "ruleMatch": { + "description": "RuleMatch rule match", "type": "object", "properties": { "methods": { @@ -713,7 +714,7 @@ } }, "version": { - "description": "Version Version Version version", + "description": "Version Version Version Version version", "type": "object", "properties": { "version": { diff --git a/go.mod b/go.mod index 025b01ede7..0827d54c77 100644 --- a/go.mod +++ b/go.mod @@ -37,7 +37,7 @@ require ( github.com/ory/graceful v0.1.1 github.com/ory/herodot v0.6.2 github.com/ory/ladon v1.0.1 - github.com/ory/sdk/swagutil v0.0.0-20200113182044-f6518ab8017d // indirect + github.com/ory/sdk/swagutil v0.0.0-20200116095943-e305efc43d75 // indirect github.com/ory/viper v1.5.6 github.com/ory/x v0.0.88 github.com/pborman/uuid v1.2.0 diff --git a/go.sum b/go.sum index f17afc12af..47481c8818 100644 --- a/go.sum +++ b/go.sum @@ -572,6 +572,8 @@ github.com/ory/sdk/swagutil v0.0.0-20200108122515-375eeddba1e8 h1:HgdLBUUFatzSA2 github.com/ory/sdk/swagutil v0.0.0-20200108122515-375eeddba1e8/go.mod h1:Ufg1eAyz+Zt3+oweSZVThG13ewewWCKwBmoNmK8Z0co= github.com/ory/sdk/swagutil v0.0.0-20200113182044-f6518ab8017d h1:AVIzsXij0v8DoVLAZw9Yo7RXVhM0H53ql3DosRkH5rg= github.com/ory/sdk/swagutil v0.0.0-20200113182044-f6518ab8017d/go.mod h1:Ufg1eAyz+Zt3+oweSZVThG13ewewWCKwBmoNmK8Z0co= +github.com/ory/sdk/swagutil v0.0.0-20200116095943-e305efc43d75 h1:OcqjH0QDTmrV1irpAhx9LQAaXzAp1VAmxRp8piDTP4I= +github.com/ory/sdk/swagutil v0.0.0-20200116095943-e305efc43d75/go.mod h1:Ufg1eAyz+Zt3+oweSZVThG13ewewWCKwBmoNmK8Z0co= github.com/ory/viper v1.5.6 h1:w4ceGgWwWLzAFYQ7bHaDZmwNsAto2JPVdyQjQnn7VWI= github.com/ory/viper v1.5.6/go.mod h1:TYmpFpKLxjQwvT4f0QPpkOn4sDXU1kDgAwJpgLYiQ28= github.com/ory/x v0.0.87 h1:C81kgyXDE1MgL0aPp2fHmHNbMlgQwicdrEmPbICG0Wk= diff --git a/internal/httpclient/models/health_not_ready_status.go b/internal/httpclient/models/health_not_ready_status.go index dc878b4d71..0de7b2c13a 100644 --- a/internal/httpclient/models/health_not_ready_status.go +++ b/internal/httpclient/models/health_not_ready_status.go @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/swag" ) -// HealthNotReadyStatus HealthNotReadyStatus health not ready status +// 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 727f40aa76..2ec3ddebfa 100644 --- a/internal/httpclient/models/health_status.go +++ b/internal/httpclient/models/health_status.go @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/swag" ) -// HealthStatus HealthStatus HealthStatus HealthStatus health status +// HealthStatus HealthStatus HealthStatus 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 45a15b21c2..9b0874e67a 100644 --- a/internal/httpclient/models/json_web_key_set.go +++ b/internal/httpclient/models/json_web_key_set.go @@ -14,7 +14,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.go b/internal/httpclient/models/rule.go index 97284bed26..e878811334 100644 --- a/internal/httpclient/models/rule.go +++ b/internal/httpclient/models/rule.go @@ -14,7 +14,7 @@ import ( "github.com/go-openapi/swag" ) -// Rule Rule Rule swaggerRule is a single rule that will get checked on every HTTP request. +// 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_match.go b/internal/httpclient/models/rule_match.go index 9bfe9a3ba3..065ecf9ec7 100644 --- a/internal/httpclient/models/rule_match.go +++ b/internal/httpclient/models/rule_match.go @@ -11,7 +11,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 508c5bd2b6..e9e4114f92 100644 --- a/internal/httpclient/models/upstream.go +++ b/internal/httpclient/models/upstream.go @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/swag" ) -// 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 0bb97c1c93..ac8296d7f6 100644 --- a/internal/httpclient/models/version.go +++ b/internal/httpclient/models/version.go @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/swag" ) -// Version Version Version Version version +// Version Version Version Version Version version // swagger:model version type Version struct {