From af4fda92b79784c9a2df77285b23b5c6448b7ab4 Mon Sep 17 00:00:00 2001 From: aeneasr Date: Sun, 26 Apr 2020 21:56:57 +0000 Subject: [PATCH] autogen(openapi): Regenerate swagger spec and internal client --- .schema/api.swagger.json | 48 ++++++++++--------- .../models/accept_consent_request.go | 2 +- .../httpclient/models/accept_login_request.go | 2 +- .../httpclient/models/completed_request.go | 2 +- internal/httpclient/models/consent_request.go | 2 +- .../models/consent_request_session.go | 2 +- .../flush_inactive_o_auth2_tokens_request.go | 3 +- .../models/health_not_ready_status.go | 2 +- internal/httpclient/models/health_status.go | 2 +- .../httpclient/models/json_web_key_set.go | 2 +- .../json_web_key_set_generator_request.go | 2 +- internal/httpclient/models/login_request.go | 2 +- internal/httpclient/models/logout_request.go | 2 +- internal/httpclient/models/o_auth2_client.go | 4 +- .../models/o_auth2_token_introspection.go | 2 +- .../models/oauth2_token_response.go | 2 +- .../models/open_id_connect_context.go | 2 +- .../models/previous_consent_session.go | 3 +- .../httpclient/models/userinfo_response.go | 2 +- internal/httpclient/models/well_known.go | 2 +- 20 files changed, 48 insertions(+), 42 deletions(-) diff --git a/.schema/api.swagger.json b/.schema/api.swagger.json index 90b015b302..0ebd7f273c 100755 --- a/.schema/api.swagger.json +++ b/.schema/api.swagger.json @@ -1905,7 +1905,7 @@ } }, "JSONWebKeySet": { - "description": "It is important that this model object is named JSONWebKeySet for\n\"swagger generate spec\" to generate only on definition of a\nJSONWebKeySet. Since one with the same name is previously defined as\nclient.Client.JSONWebKeys and this one is last, this one will be\neffectively written in the swagger spec.", + "description": "JSONWebKeySet It is important that this model object is named JSONWebKeySet for\n\"swagger generate spec\" to generate only on definition of a\nJSONWebKeySet. Since one with the same name is previously defined as\nclient.Client.JSONWebKeys and this one is last, this one will be\neffectively written in the swagger spec.", "type": "object", "properties": { "keys": { @@ -1926,7 +1926,7 @@ "title": "NullTime implements sql.NullTime functionality." }, "PreviousConsentSession": { - "description": "PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession The response used to return used consent requests\nsame as HandledLoginRequest, just with consent_request exposed as json", + "description": "PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession The response used to return used consent requests\nsame as HandledLoginRequest, just with consent_request exposed as json", "type": "object", "properties": { "consent_request": { @@ -1947,7 +1947,7 @@ } }, "handled_at": { - "description": "handled at\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time", + "description": "handled at\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time\nFormat: date-time", "type": "string", "format": "date-time" }, @@ -1974,10 +1974,9 @@ }, "acceptConsentRequest": { "type": "object", - "title": "The request payload used to accept a consent request.", + "title": "AcceptConsentRequest The request payload used to accept a consent request.", "properties": { "grant_access_token_audience": { - "description": "grant access token audience", "type": "array", "items": { "type": "string" @@ -1985,7 +1984,6 @@ "$ref": "#/definitions/StringSlicePipeDelimiter" }, "grant_scope": { - "description": "grant scope", "type": "array", "items": { "type": "string" @@ -2011,7 +2009,7 @@ }, "acceptLoginRequest": { "type": "object", - "title": "HandledLoginRequest is the request payload used to accept a login request.", + "title": "AcceptLoginRequest HandledLoginRequest is the request payload used to accept a login request.", "required": [ "subject" ], @@ -2044,7 +2042,7 @@ }, "completedRequest": { "type": "object", - "title": "CompletedRequest CompletedRequest The response payload sent when accepting or rejecting a login or consent request.", + "title": "The response payload sent when accepting or rejecting a login or consent request.", "properties": { "redirect_to": { "description": "RedirectURL is the URL which you should redirect the user to once the authentication process is completed.", @@ -2054,7 +2052,7 @@ }, "consentRequest": { "type": "object", - "title": "ConsentRequest ConsentRequest Contains information on an ongoing consent request.", + "title": "ConsentRequest ConsentRequest ConsentRequest Contains information on an ongoing consent request.", "properties": { "acr": { "description": "ACR represents the Authentication AuthorizationContext Class Reference value for this authentication session. You can use it\nto express that, for example, a user authenticated using two factor authentication.", @@ -2111,7 +2109,7 @@ }, "consentRequestSession": { "type": "object", - "title": "Used to pass session data to a consent request.", + "title": "ConsentRequestSession Used to pass session data to a consent request.", "properties": { "access_token": { "description": "AccessToken sets session data for the access and refresh token, as well as any future tokens issued by the\nrefresh grant. Keep in mind that this data will be available to anyone performing OAuth 2.0 Challenge Introspection.\nIf only your services can perform OAuth 2.0 Challenge Introspection, this is usually fine. But if third parties\ncan access that endpoint as well, sensitive data from the session might be exposed to them. Use with care!", @@ -2130,11 +2128,11 @@ } }, "flushInactiveOAuth2TokensRequest": { - "description": "FlushInactiveOAuth2TokensRequest FlushInactiveOAuth2TokensRequest flush inactive o auth2 tokens request", + "description": "FlushInactiveOAuth2TokensRequest FlushInactiveOAuth2TokensRequest FlushInactiveOAuth2TokensRequest flush inactive o auth2 tokens request", "type": "object", "properties": { "notAfter": { - "description": "NotAfter sets after which point tokens should not be flushed. This is useful when you want to keep a history\nof recently issued tokens for auditing.\nFormat: date-time\nFormat: date-time", + "description": "NotAfter sets after which point tokens should not be flushed. This is useful when you want to keep a history\nof recently issued tokens for auditing.\nFormat: date-time\nFormat: date-time\nFormat: date-time", "type": "string", "format": "date-time" } @@ -2172,6 +2170,7 @@ } }, "healthNotReadyStatus": { + "description": "HealthNotReadyStatus health not ready status", "type": "object", "properties": { "errors": { @@ -2184,6 +2183,7 @@ } }, "healthStatus": { + "description": "HealthStatus health status", "type": "object", "properties": { "status": { @@ -2193,7 +2193,7 @@ } }, "jsonWebKeySetGeneratorRequest": { - "description": "JSONWebKeySetGeneratorRequest JSONWebKeySetGeneratorRequest JSONWebKeySetGeneratorRequest JSONWebKeySetGeneratorRequest json web key set generator request", + "description": "JSONWebKeySetGeneratorRequest JSONWebKeySetGeneratorRequest JSONWebKeySetGeneratorRequest JSONWebKeySetGeneratorRequest JSONWebKeySetGeneratorRequest json web key set generator request", "type": "object", "required": [ "alg", @@ -2217,7 +2217,7 @@ }, "loginRequest": { "type": "object", - "title": "LoginRequest Contains information on an ongoing login request.", + "title": "Contains information on an ongoing login request.", "properties": { "challenge": { "description": "Challenge is the identifier (\"login challenge\") of the login request. It is used to\nidentify the session.", @@ -2234,6 +2234,7 @@ "type": "string" }, "requested_access_token_audience": { + "description": "requested access token audience", "type": "array", "items": { "type": "string" @@ -2241,6 +2242,7 @@ "$ref": "#/definitions/StringSlicePipeDelimiter" }, "requested_scope": { + "description": "requested scope", "type": "array", "items": { "type": "string" @@ -2263,7 +2265,7 @@ }, "logoutRequest": { "type": "object", - "title": "LogoutRequest Contains information about an ongoing logout request.", + "title": "Contains information about an ongoing logout request.", "properties": { "request_url": { "description": "RequestURL is the original Logout URL requested.", @@ -2285,7 +2287,7 @@ }, "oAuth2Client": { "type": "object", - "title": "OAuth2Client Client represents an OAuth 2.0 Client.", + "title": "OAuth2Client OAuth2Client Client represents an OAuth 2.0 Client.", "properties": { "allowed_cors_origins": { "$ref": "#/definitions/StringSlicePipeDelimiter" @@ -2326,7 +2328,7 @@ "$ref": "#/definitions/StringSlicePipeDelimiter" }, "created_at": { - "description": "CreatedAt returns the timestamp of the client's creation.\nFormat: date-time", + "description": "CreatedAt returns the timestamp of the client's creation.\nFormat: date-time\nFormat: date-time", "type": "string", "format": "date-time" }, @@ -2401,7 +2403,7 @@ "type": "string" }, "updated_at": { - "description": "UpdatedAt returns the timestamp of the last update.\nFormat: date-time", + "description": "UpdatedAt returns the timestamp of the last update.\nFormat: date-time\nFormat: date-time", "type": "string", "format": "date-time" }, @@ -2414,7 +2416,7 @@ "oAuth2TokenIntrospection": { "description": "https://tools.ietf.org/html/rfc7662", "type": "object", - "title": "OAuth2TokenIntrospection OAuth2TokenIntrospection Introspection contains an access token's session data as specified by IETF RFC 7662, see:", + "title": "OAuth2TokenIntrospection OAuth2TokenIntrospection OAuth2TokenIntrospection Introspection contains an access token's session data as specified by IETF RFC 7662, see:", "required": [ "active" ], @@ -2483,7 +2485,7 @@ } }, "oauth2TokenResponse": { - "description": "Oauth2TokenResponse Oauth2TokenResponse The Access Token Response", + "description": "The Access Token Response", "type": "object", "properties": { "access_token": { @@ -2515,7 +2517,7 @@ }, "openIDConnectContext": { "type": "object", - "title": "OpenIDConnectContext OpenIDConnectContext Contains optional information about the OpenID Connect request.", + "title": "OpenIDConnectContext OpenIDConnectContext OpenIDConnectContext Contains optional information about the OpenID Connect request.", "properties": { "acr_values": { "description": "ACRValues is the Authentication AuthorizationContext Class Reference requested in the OAuth 2.0 Authorization request.\nIt is a parameter defined by OpenID Connect and expresses which level of authentication (e.g. 2FA) is required.\n\nOpenID Connect defines it as follows:\n\u003e Requested Authentication AuthorizationContext Class Reference values. Space-separated string that specifies the acr values\nthat the Authorization Server is being requested to use for processing this Authentication Request, with the\nvalues appearing in order of preference. The Authentication AuthorizationContext Class satisfied by the authentication\nperformed is returned as the acr Claim Value, as specified in Section 2. The acr Claim is requested as a\nVoluntary Claim by this parameter.", @@ -2576,7 +2578,7 @@ } }, "userinfoResponse": { - "description": "UserinfoResponse UserinfoResponse UserinfoResponse UserinfoResponse UserinfoResponse UserinfoResponse UserinfoResponse UserinfoResponse UserinfoResponse UserinfoResponse The userinfo response", + "description": "The userinfo response", "type": "object", "properties": { "birthdate": { @@ -2670,7 +2672,7 @@ "wellKnown": { "description": "It includes links to several endpoints (e.g. /oauth2/token) and exposes information on supported signature algorithms\namong others.", "type": "object", - "title": "WellKnown WellKnown represents important OpenID Connect discovery metadata", + "title": "WellKnown WellKnown WellKnown represents important OpenID Connect discovery metadata", "required": [ "issuer", "authorization_endpoint", diff --git a/internal/httpclient/models/accept_consent_request.go b/internal/httpclient/models/accept_consent_request.go index ec9e202d3a..b64cc2fe9e 100644 --- a/internal/httpclient/models/accept_consent_request.go +++ b/internal/httpclient/models/accept_consent_request.go @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/swag" ) -// AcceptConsentRequest The request payload used to accept a consent request. +// AcceptConsentRequest AcceptConsentRequest The request payload used to accept a consent request. // // swagger:model acceptConsentRequest type AcceptConsentRequest struct { diff --git a/internal/httpclient/models/accept_login_request.go b/internal/httpclient/models/accept_login_request.go index 4eae3c7ccc..e353110d1f 100644 --- a/internal/httpclient/models/accept_login_request.go +++ b/internal/httpclient/models/accept_login_request.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/validate" ) -// AcceptLoginRequest HandledLoginRequest is the request payload used to accept a login request. +// AcceptLoginRequest AcceptLoginRequest HandledLoginRequest is the request payload used to accept a login request. // // swagger:model acceptLoginRequest type AcceptLoginRequest struct { diff --git a/internal/httpclient/models/completed_request.go b/internal/httpclient/models/completed_request.go index b7e059946f..06bfb45fcd 100644 --- a/internal/httpclient/models/completed_request.go +++ b/internal/httpclient/models/completed_request.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/swag" ) -// CompletedRequest CompletedRequest CompletedRequest The response payload sent when accepting or rejecting a login or consent request. +// CompletedRequest The response payload sent when accepting or rejecting a login or consent request. // // swagger:model completedRequest type CompletedRequest struct { diff --git a/internal/httpclient/models/consent_request.go b/internal/httpclient/models/consent_request.go index 9735f52f9a..4550aa9ad7 100644 --- a/internal/httpclient/models/consent_request.go +++ b/internal/httpclient/models/consent_request.go @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/swag" ) -// ConsentRequest ConsentRequest ConsentRequest Contains information on an ongoing consent request. +// ConsentRequest ConsentRequest ConsentRequest ConsentRequest Contains information on an ongoing consent request. // // swagger:model consentRequest type ConsentRequest struct { diff --git a/internal/httpclient/models/consent_request_session.go b/internal/httpclient/models/consent_request_session.go index 4a7ada6ce5..c691196657 100644 --- a/internal/httpclient/models/consent_request_session.go +++ b/internal/httpclient/models/consent_request_session.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/swag" ) -// ConsentRequestSession Used to pass session data to a consent request. +// ConsentRequestSession ConsentRequestSession Used to pass session data to a consent request. // // swagger:model consentRequestSession type ConsentRequestSession struct { diff --git a/internal/httpclient/models/flush_inactive_o_auth2_tokens_request.go b/internal/httpclient/models/flush_inactive_o_auth2_tokens_request.go index 5093e99057..23ce73f698 100644 --- a/internal/httpclient/models/flush_inactive_o_auth2_tokens_request.go +++ b/internal/httpclient/models/flush_inactive_o_auth2_tokens_request.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/validate" ) -// FlushInactiveOAuth2TokensRequest FlushInactiveOAuth2TokensRequest FlushInactiveOAuth2TokensRequest flush inactive o auth2 tokens request +// FlushInactiveOAuth2TokensRequest FlushInactiveOAuth2TokensRequest FlushInactiveOAuth2TokensRequest FlushInactiveOAuth2TokensRequest flush inactive o auth2 tokens request // // swagger:model flushInactiveOAuth2TokensRequest type FlushInactiveOAuth2TokensRequest struct { @@ -22,6 +22,7 @@ type FlushInactiveOAuth2TokensRequest struct { // Format: date-time // Format: date-time // Format: date-time + // Format: date-time NotAfter strfmt.DateTime `json:"notAfter,omitempty"` } diff --git a/internal/httpclient/models/health_not_ready_status.go b/internal/httpclient/models/health_not_ready_status.go index 64626783ed..4e697f273c 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 health not ready status +// 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 87649fa82c..87dfb0b251 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 It is important that this model object is named JSONWebKeySet for +// JSONWebKeySet JSONWebKeySet It is important that this model object is named JSONWebKeySet for // "swagger generate spec" to generate only on definition of a // JSONWebKeySet. Since one with the same name is previously defined as // client.Client.JSONWebKeys and this one is last, this one will be diff --git a/internal/httpclient/models/json_web_key_set_generator_request.go b/internal/httpclient/models/json_web_key_set_generator_request.go index 7b37613023..92191924d1 100644 --- a/internal/httpclient/models/json_web_key_set_generator_request.go +++ b/internal/httpclient/models/json_web_key_set_generator_request.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/validate" ) -// JSONWebKeySetGeneratorRequest JSONWebKeySetGeneratorRequest JSONWebKeySetGeneratorRequest JSONWebKeySetGeneratorRequest JSONWebKeySetGeneratorRequest json web key set generator request +// JSONWebKeySetGeneratorRequest JSONWebKeySetGeneratorRequest JSONWebKeySetGeneratorRequest JSONWebKeySetGeneratorRequest JSONWebKeySetGeneratorRequest JSONWebKeySetGeneratorRequest json web key set generator request // // swagger:model jsonWebKeySetGeneratorRequest type JSONWebKeySetGeneratorRequest struct { diff --git a/internal/httpclient/models/login_request.go b/internal/httpclient/models/login_request.go index a589bca84f..a748cd842e 100644 --- a/internal/httpclient/models/login_request.go +++ b/internal/httpclient/models/login_request.go @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/swag" ) -// LoginRequest LoginRequest Contains information on an ongoing login request. +// LoginRequest Contains information on an ongoing login request. // // swagger:model loginRequest type LoginRequest struct { diff --git a/internal/httpclient/models/logout_request.go b/internal/httpclient/models/logout_request.go index 95ab98a25c..13c8550e98 100644 --- a/internal/httpclient/models/logout_request.go +++ b/internal/httpclient/models/logout_request.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/swag" ) -// LogoutRequest LogoutRequest Contains information about an ongoing logout request. +// LogoutRequest Contains information about an ongoing logout request. // // swagger:model logoutRequest type LogoutRequest struct { diff --git a/internal/httpclient/models/o_auth2_client.go b/internal/httpclient/models/o_auth2_client.go index 11295eac19..2d77cfc168 100644 --- a/internal/httpclient/models/o_auth2_client.go +++ b/internal/httpclient/models/o_auth2_client.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/validate" ) -// OAuth2Client OAuth2Client Client represents an OAuth 2.0 Client. +// OAuth2Client OAuth2Client OAuth2Client Client represents an OAuth 2.0 Client. // // swagger:model oAuth2Client type OAuth2Client struct { @@ -63,6 +63,7 @@ type OAuth2Client struct { // CreatedAt returns the timestamp of the client's creation. // Format: date-time // Format: date-time + // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // Boolean value specifying whether the RP requires that iss (issuer) and sid (session ID) query parameters be @@ -149,6 +150,7 @@ type OAuth2Client struct { // UpdatedAt returns the timestamp of the last update. // Format: date-time // Format: date-time + // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` // JWS alg algorithm [JWA] REQUIRED for signing UserInfo Responses. If this is specified, the response will be JWT diff --git a/internal/httpclient/models/o_auth2_token_introspection.go b/internal/httpclient/models/o_auth2_token_introspection.go index 6b916cd751..fca50eab61 100644 --- a/internal/httpclient/models/o_auth2_token_introspection.go +++ b/internal/httpclient/models/o_auth2_token_introspection.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/validate" ) -// OAuth2TokenIntrospection OAuth2TokenIntrospection OAuth2TokenIntrospection Introspection contains an access token's session data as specified by IETF RFC 7662, see: +// OAuth2TokenIntrospection OAuth2TokenIntrospection OAuth2TokenIntrospection OAuth2TokenIntrospection Introspection contains an access token's session data as specified by IETF RFC 7662, see: // // https://tools.ietf.org/html/rfc7662 // diff --git a/internal/httpclient/models/oauth2_token_response.go b/internal/httpclient/models/oauth2_token_response.go index 52e4cfd9b7..4aec720a00 100644 --- a/internal/httpclient/models/oauth2_token_response.go +++ b/internal/httpclient/models/oauth2_token_response.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/swag" ) -// Oauth2TokenResponse Oauth2TokenResponse Oauth2TokenResponse The Access Token Response +// Oauth2TokenResponse The Access Token Response // // swagger:model oauth2TokenResponse type Oauth2TokenResponse struct { diff --git a/internal/httpclient/models/open_id_connect_context.go b/internal/httpclient/models/open_id_connect_context.go index ac3e47488c..1604eb6778 100644 --- a/internal/httpclient/models/open_id_connect_context.go +++ b/internal/httpclient/models/open_id_connect_context.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/swag" ) -// OpenIDConnectContext OpenIDConnectContext OpenIDConnectContext Contains optional information about the OpenID Connect request. +// OpenIDConnectContext OpenIDConnectContext OpenIDConnectContext OpenIDConnectContext Contains optional information about the OpenID Connect request. // // swagger:model openIDConnectContext type OpenIDConnectContext struct { diff --git a/internal/httpclient/models/previous_consent_session.go b/internal/httpclient/models/previous_consent_session.go index e4dcb8de89..e8957b4363 100644 --- a/internal/httpclient/models/previous_consent_session.go +++ b/internal/httpclient/models/previous_consent_session.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/validate" ) -// PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession The response used to return used consent requests +// PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession The response used to return used consent requests // same as HandledLoginRequest, just with consent_request exposed as json // // swagger:model PreviousConsentSession @@ -49,6 +49,7 @@ type PreviousConsentSession struct { // Format: date-time // Format: date-time // Format: date-time + // Format: date-time HandledAt strfmt.DateTime `json:"handled_at,omitempty"` // Remember, if set to true, tells ORY Hydra to remember this consent authorization and reuse it if the same diff --git a/internal/httpclient/models/userinfo_response.go b/internal/httpclient/models/userinfo_response.go index e32c9c4591..9b5fb8685f 100644 --- a/internal/httpclient/models/userinfo_response.go +++ b/internal/httpclient/models/userinfo_response.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/swag" ) -// UserinfoResponse UserinfoResponse UserinfoResponse UserinfoResponse UserinfoResponse UserinfoResponse UserinfoResponse UserinfoResponse UserinfoResponse UserinfoResponse UserinfoResponse The userinfo response +// UserinfoResponse The userinfo response // // swagger:model userinfoResponse type UserinfoResponse struct { diff --git a/internal/httpclient/models/well_known.go b/internal/httpclient/models/well_known.go index 7fda8b0d26..ad25e8bdf4 100644 --- a/internal/httpclient/models/well_known.go +++ b/internal/httpclient/models/well_known.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/validate" ) -// WellKnown WellKnown WellKnown represents important OpenID Connect discovery metadata +// WellKnown WellKnown WellKnown WellKnown represents important OpenID Connect discovery metadata // // It includes links to several endpoints (e.g. /oauth2/token) and exposes information on supported signature algorithms // among others.