From 28374ce131e5f08ef4da842336c1e53626b0d567 Mon Sep 17 00:00:00 2001 From: aeneasr Date: Tue, 7 Jan 2020 21:21:15 +0000 Subject: [PATCH] Update SDK --- docs/api.swagger.json | 83 ++++++++++--------- .../models/accept_consent_request.go | 2 +- .../httpclient/models/accept_login_request.go | 2 +- .../models/attribute_type_and_value.go | 2 +- internal/httpclient/models/certificate.go | 3 +- internal/httpclient/models/consent_request.go | 2 +- .../models/consent_request_session.go | 2 +- internal/httpclient/models/ext_key_usage.go | 2 +- internal/httpclient/models/extension.go | 2 +- .../flush_inactive_o_auth2_tokens_request.go | 3 +- internal/httpclient/models/generic_error.go | 2 +- .../models/health_not_ready_status.go | 2 +- internal/httpclient/models/health_status.go | 2 +- internal/httpclient/models/int.go | 2 +- internal/httpclient/models/ip.go | 2 +- internal/httpclient/models/ip_mask.go | 2 +- internal/httpclient/models/ip_net.go | 2 +- internal/httpclient/models/json_web_key.go | 2 +- .../json_web_key_set_generator_request.go | 2 +- internal/httpclient/models/key_usage.go | 2 +- internal/httpclient/models/login_request.go | 2 +- internal/httpclient/models/logout_request.go | 2 +- internal/httpclient/models/name.go | 2 +- internal/httpclient/models/o_auth2_client.go | 4 +- .../models/o_auth2_token_introspection.go | 2 +- .../models/oauth2_token_response.go | 2 +- .../httpclient/models/object_identifier.go | 2 +- .../models/previous_consent_session.go | 2 +- .../httpclient/models/public_key_algorithm.go | 2 +- internal/httpclient/models/reject_request.go | 2 +- .../httpclient/models/signature_algorithm.go | 2 +- internal/httpclient/models/url.go | 2 +- internal/httpclient/models/userinfo.go | 2 +- .../httpclient/models/userinfo_response.go | 2 +- internal/httpclient/models/version.go | 2 +- internal/httpclient/models/well_known.go | 2 +- 36 files changed, 82 insertions(+), 75 deletions(-) diff --git a/docs/api.swagger.json b/docs/api.swagger.json index 0c35073311e..f11bf52e350 100755 --- a/docs/api.swagger.json +++ b/docs/api.swagger.json @@ -1804,7 +1804,7 @@ }, "definitions": { "AttributeTypeAndValue": { - "description": "AttributeTypeAndValue AttributeTypeAndValue mirrors the ASN.1 structure of the same name in\nRFC 5280, Section 4.1.2.4.", + "description": "AttributeTypeAndValue AttributeTypeAndValue AttributeTypeAndValue mirrors the ASN.1 structure of the same name in\nRFC 5280, Section 4.1.2.4.", "type": "object", "properties": { "Type": { @@ -1818,7 +1818,7 @@ }, "Certificate": { "type": "object", - "title": "Certificate A Certificate represents an X.509 certificate.", + "title": "Certificate Certificate A Certificate represents an X.509 certificate.", "properties": { "AuthorityKeyId": { "description": "authority key Id", @@ -1936,7 +1936,7 @@ "type": "boolean" }, "NotBefore": { - "description": "not before\nFormat: date-time", + "description": "not before\nFormat: date-time\nFormat: date-time", "type": "string", "format": "date-time" }, @@ -2095,10 +2095,10 @@ "description": "Each of the ExtKeyUsage* constants define a unique action.", "type": "integer", "format": "int64", - "title": "ExtKeyUsage ExtKeyUsage represents an extended set of actions that are valid for a given key." + "title": "ExtKeyUsage ExtKeyUsage ExtKeyUsage represents an extended set of actions that are valid for a given key." }, "Extension": { - "description": "Extension Extension represents the ASN.1 structure of the same name. See RFC\n5280, section 4.2.", + "description": "Extension Extension Extension represents the ASN.1 structure of the same name. See RFC\n5280, section 4.2.", "type": "object", "properties": { "Critical": { @@ -2121,7 +2121,7 @@ "IP": { "description": "Note that in this documentation, referring to an\nIP address as an IPv4 address or an IPv6 address\nis a semantic property of the address, not just the\nlength of the byte slice: a 16-byte slice can still\nbe an IPv4 address.", "type": "array", - "title": "IP An IP is a single IP address, a slice of bytes.\nFunctions in this package accept either 4-byte (IPv4)\nor 16-byte (IPv6) slices as input.", + "title": "IP IP An IP is a single IP address, a slice of bytes.\nFunctions in this package accept either 4-byte (IPv4)\nor 16-byte (IPv6) slices as input.", "items": { "type": "integer", "format": "uint8" @@ -2129,7 +2129,7 @@ }, "IPMask": { "type": "array", - "title": "IPMask An IP mask is an IP address.", + "title": "IPMask IPMask An IP mask is an IP address.", "items": { "type": "integer", "format": "uint8" @@ -2137,7 +2137,7 @@ }, "IPNet": { "type": "object", - "title": "IPNet An IPNet represents an IP network.", + "title": "IPNet IPNet An IPNet represents an IP network.", "properties": { "IP": { "$ref": "#/definitions/IP" @@ -2150,10 +2150,10 @@ "Int": { "description": "Operations always take pointer arguments (*Int) rather\nthan Int values, and each unique Int value requires\nits own unique *Int pointer. To \"copy\" an Int value,\nan existing (or newly allocated) Int must be set to\na new value using the Int.Set method; shallow copies\nof Ints are not supported and may lead to errors.", "type": "object", - "title": "Int An Int represents a signed multi-precision integer.\nThe zero value for an Int represents the value 0." + "title": "Int Int An Int represents a signed multi-precision integer.\nThe zero value for an Int represents the value 0." }, "JSONWebKey": { - "description": "JSONWebKey JSON web key", + "description": "JSONWebKey JSONWebKey JSON web key", "type": "object", "required": [ "use", @@ -2264,12 +2264,12 @@ } }, "KeyUsage": { - "description": "KeyUsage KeyUsage represents the set of actions that are valid for a given key. It's\na bitmap of the KeyUsage* constants.", + "description": "KeyUsage KeyUsage KeyUsage represents the set of actions that are valid for a given key. It's\na bitmap of the KeyUsage* constants.", "type": "integer", "format": "int64" }, "Name": { - "description": "Name Name represents an X.509 distinguished name. This only includes the common\nelements of a DN. When parsing, all elements are stored in Names and\nnon-standard elements can be extracted from there. When marshaling, elements\nin ExtraNames are appended and override other values with the same OID.", + "description": "Name Name Name represents an X.509 distinguished name. This only includes the common\nelements of a DN. When parsing, all elements are stored in Names and\nnon-standard elements can be extracted from there. When marshaling, elements\nin ExtraNames are appended and override other values with the same OID.", "type": "object", "properties": { "Country": { @@ -2315,14 +2315,14 @@ }, "ObjectIdentifier": { "type": "array", - "title": "ObjectIdentifier An ObjectIdentifier represents an ASN.1 OBJECT IDENTIFIER.", + "title": "ObjectIdentifier ObjectIdentifier An ObjectIdentifier represents an ASN.1 OBJECT IDENTIFIER.", "items": { "type": "integer", "format": "int64" } }, "PreviousConsentSession": { - "description": "PreviousConsentSession The response used to return used consent requests\nsame as HandledLoginRequest, just with consent_request exposed as json", + "description": "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": { @@ -2357,19 +2357,19 @@ } }, "PublicKeyAlgorithm": { - "description": "PublicKeyAlgorithm public key algorithm", + "description": "PublicKeyAlgorithm PublicKeyAlgorithm public key algorithm", "type": "integer", "format": "int64" }, "SignatureAlgorithm": { - "description": "SignatureAlgorithm signature algorithm", + "description": "SignatureAlgorithm SignatureAlgorithm signature algorithm", "type": "integer", "format": "int64" }, "URL": { "description": "The general form represented is:\n\n[scheme:][//[userinfo@]host][/]path[?query][#fragment]\n\nURLs that do not start with a slash after the scheme are interpreted as:\n\nscheme:opaque[?query][#fragment]\n\nNote that the Path field is stored in decoded form: /%47%6f%2f becomes /Go/.\nA consequence is that it is impossible to tell which slashes in the Path were\nslashes in the raw URL and which were %2f. This distinction is rarely important,\nbut when it is, the code should use RawPath, an optional field which only gets\nset if the default encoding is different from Path.\n\nURL's String method uses the EscapedPath method to obtain the path. See the\nEscapedPath method for more details.", "type": "object", - "title": "URL A URL represents a parsed URL (technically, a URI reference).", + "title": "URL URL A URL represents a parsed URL (technically, a URI reference).", "properties": { "ForceQuery": { "description": "force query", @@ -2410,12 +2410,12 @@ }, "UUID": {"type": "string", "format": "uuid4"}, "Userinfo": { - "description": "Userinfo The Userinfo type is an immutable encapsulation of username and\npassword details for a URL. An existing Userinfo value is guaranteed\nto have a username set (potentially empty, as allowed by RFC 2396),\nand optionally a password.", + "description": "Userinfo Userinfo The Userinfo type is an immutable encapsulation of username and\npassword details for a URL. An existing Userinfo value is guaranteed\nto have a username set (potentially empty, as allowed by RFC 2396),\nand optionally a password.", "type": "object" }, "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": "GrantedAudience sets the audience the user authorized the client to use. Should be a subset of `requested_access_token_audience`.", @@ -2447,7 +2447,7 @@ }, "acceptLoginRequest": { "type": "object", - "title": "AcceptLoginRequest HandledLoginRequest is the request payload used to accept a login request.", + "title": "HandledLoginRequest is the request payload used to accept a login request.", "required": [ "subject" ], @@ -2494,7 +2494,7 @@ }, "consentRequest": { "type": "object", - "title": "Contains information on an ongoing consent request.", + "title": "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.", @@ -2555,7 +2555,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!", @@ -2574,11 +2574,11 @@ } }, "flushInactiveOAuth2TokensRequest": { - "description": "FlushInactiveOAuth2TokensRequest flush inactive o auth2 tokens request", + "description": "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", + "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", "type": "string", "format": "date-time" } @@ -2587,7 +2587,7 @@ "genericError": { "description": "Error responses are sent when an error (e.g. unauthorized, bad request, ...) occurred.", "type": "object", - "title": "GenericError Error response", + "title": "GenericError GenericError Error response", "required": [ "error" ], @@ -2616,6 +2616,7 @@ } }, "healthNotReadyStatus": { + "description": "HealthNotReadyStatus health not ready status", "type": "object", "properties": { "errors": { @@ -2628,6 +2629,7 @@ } }, "healthStatus": { + "description": "HealthStatus health status", "type": "object", "properties": { "status": { @@ -2637,7 +2639,7 @@ } }, "jsonWebKeySetGeneratorRequest": { - "description": "JSONWebKeySetGeneratorRequest json web key set generator request", + "description": "JSONWebKeySetGeneratorRequest JSONWebKeySetGeneratorRequest json web key set generator request", "type": "object", "required": [ "alg", @@ -2661,7 +2663,7 @@ }, "loginRequest": { "type": "object", - "title": "Contains information on an ongoing login request.", + "title": "LoginRequest 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.", @@ -2707,7 +2709,7 @@ }, "logoutRequest": { "type": "object", - "title": "Contains information about an ongoing logout request.", + "title": "LogoutRequest Contains information about an ongoing logout request.", "properties": { "request_url": { "description": "RequestURL is the original Logout URL requested.", @@ -2729,7 +2731,7 @@ }, "oAuth2Client": { "type": "object", - "title": "Client represents an OAuth 2.0 Client.", + "title": "OAuth2Client Client represents an OAuth 2.0 Client.", "properties": { "allowed_cors_origins": { "description": "AllowedCORSOrigins are one or more URLs (scheme://host[:port]) which are allowed to make CORS requests\nto the /oauth/token endpoint. If this array is empty, the sever's CORS origin configuration (`CORS_ALLOWED_ORIGINS`)\nwill be used instead. If this array is set, the allowed origins are appended to the server's CORS origin configuration.\nBe aware that environment variable `CORS_ENABLED` MUST be set to `true` for this to work.", @@ -2782,7 +2784,7 @@ } }, "created_at": { - "description": "CreatedAt returns the timestamp of the client's creation.", + "description": "CreatedAt returns the timestamp of the client's creation.\nFormat: date-time", "type": "string", "format": "date-time" }, @@ -2880,7 +2882,7 @@ "type": "string" }, "updated_at": { - "description": "UpdatedAt returns the timestamp of the last update.", + "description": "UpdatedAt returns the timestamp of the last update.\nFormat: date-time", "type": "string", "format": "date-time" }, @@ -2893,7 +2895,7 @@ "oAuth2TokenIntrospection": { "description": "https://tools.ietf.org/html/rfc7662", "type": "object", - "title": "OAuth2TokenIntrospection Introspection contains an access token's session data as specified by IETF RFC 7662, see:", + "title": "Introspection contains an access token's session data as specified by IETF RFC 7662, see:", "required": [ "active" ], @@ -2962,7 +2964,7 @@ } }, "oauth2TokenResponse": { - "description": "The Access Token Response", + "description": "Oauth2TokenResponse The Access Token Response", "type": "object", "properties": { "access_token": { @@ -3062,7 +3064,7 @@ }, "rejectRequest": { "type": "object", - "title": "RejectRequest The request payload used to accept a login or consent request.", + "title": "RejectRequest RejectRequest The request payload used to accept a login or consent request.", "properties": { "error": { "description": "error", @@ -3088,7 +3090,7 @@ } }, "userinfoResponse": { - "description": "The userinfo response", + "description": "UserinfoResponse The userinfo response", "type": "object", "properties": { "birthdate": { @@ -3171,6 +3173,7 @@ } }, "version": { + "description": "Version version", "type": "object", "properties": { "version": { @@ -3182,15 +3185,15 @@ "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 represents important OpenID Connect discovery metadata", "required": [ - "issuer", "authorization_endpoint", - "token_endpoint", + "id_token_signing_alg_values_supported", + "issuer", "jwks_uri", - "subject_types_supported", "response_types_supported", - "id_token_signing_alg_values_supported" + "subject_types_supported", + "token_endpoint" ], "properties": { "authorization_endpoint": { diff --git a/internal/httpclient/models/accept_consent_request.go b/internal/httpclient/models/accept_consent_request.go index 7ce4b660a35..5a30c267af4 100644 --- a/internal/httpclient/models/accept_consent_request.go +++ b/internal/httpclient/models/accept_consent_request.go @@ -12,7 +12,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 d0fd6e36c66..278ad58b994 100644 --- a/internal/httpclient/models/accept_login_request.go +++ b/internal/httpclient/models/accept_login_request.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/validate" ) -// AcceptLoginRequest AcceptLoginRequest HandledLoginRequest is the request payload used to accept a login request. +// AcceptLoginRequest HandledLoginRequest is the request payload used to accept a login request. // swagger:model acceptLoginRequest type AcceptLoginRequest struct { diff --git a/internal/httpclient/models/attribute_type_and_value.go b/internal/httpclient/models/attribute_type_and_value.go index fd42ef082e0..83bf1b6a354 100644 --- a/internal/httpclient/models/attribute_type_and_value.go +++ b/internal/httpclient/models/attribute_type_and_value.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/swag" ) -// AttributeTypeAndValue AttributeTypeAndValue AttributeTypeAndValue mirrors the ASN.1 structure of the same name in +// AttributeTypeAndValue AttributeTypeAndValue AttributeTypeAndValue AttributeTypeAndValue mirrors the ASN.1 structure of the same name in // RFC 5280, Section 4.1.2.4. // swagger:model AttributeTypeAndValue type AttributeTypeAndValue struct { diff --git a/internal/httpclient/models/certificate.go b/internal/httpclient/models/certificate.go index 3ea1bb5b63e..31274dd2997 100644 --- a/internal/httpclient/models/certificate.go +++ b/internal/httpclient/models/certificate.go @@ -15,7 +15,7 @@ import ( "github.com/go-openapi/validate" ) -// Certificate Certificate A Certificate represents an X.509 certificate. +// Certificate Certificate Certificate A Certificate represents an X.509 certificate. // swagger:model Certificate type Certificate struct { @@ -102,6 +102,7 @@ type Certificate struct { // not before // Format: date-time // Format: date-time + // Format: date-time NotBefore strfmt.DateTime `json:"NotBefore,omitempty"` // RFC 5280, 4.2.2.1 (Authority Information Access) diff --git a/internal/httpclient/models/consent_request.go b/internal/httpclient/models/consent_request.go index d6e6a19282f..e3f31ed2982 100644 --- a/internal/httpclient/models/consent_request.go +++ b/internal/httpclient/models/consent_request.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/swag" ) -// ConsentRequest Contains information on an ongoing consent request. +// 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 c86a50a2655..d8a71a8ceef 100644 --- a/internal/httpclient/models/consent_request_session.go +++ b/internal/httpclient/models/consent_request_session.go @@ -11,7 +11,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/ext_key_usage.go b/internal/httpclient/models/ext_key_usage.go index 7e2f668c105..8b6cf312e32 100644 --- a/internal/httpclient/models/ext_key_usage.go +++ b/internal/httpclient/models/ext_key_usage.go @@ -9,7 +9,7 @@ import ( strfmt "github.com/go-openapi/strfmt" ) -// ExtKeyUsage ExtKeyUsage ExtKeyUsage represents an extended set of actions that are valid for a given key. +// ExtKeyUsage ExtKeyUsage ExtKeyUsage ExtKeyUsage represents an extended set of actions that are valid for a given key. // // Each of the ExtKeyUsage* constants define a unique action. // swagger:model ExtKeyUsage diff --git a/internal/httpclient/models/extension.go b/internal/httpclient/models/extension.go index ed00e120046..d6b57e659bc 100644 --- a/internal/httpclient/models/extension.go +++ b/internal/httpclient/models/extension.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/swag" ) -// Extension Extension Extension represents the ASN.1 structure of the same name. See RFC +// Extension Extension Extension Extension represents the ASN.1 structure of the same name. See RFC // 5280, section 4.2. // swagger:model Extension type Extension 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 6decb10375e..6ba744d3dbc 100644 --- a/internal/httpclient/models/flush_inactive_o_auth2_tokens_request.go +++ b/internal/httpclient/models/flush_inactive_o_auth2_tokens_request.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/validate" ) -// FlushInactiveOAuth2TokensRequest FlushInactiveOAuth2TokensRequest flush inactive o auth2 tokens request +// FlushInactiveOAuth2TokensRequest FlushInactiveOAuth2TokensRequest FlushInactiveOAuth2TokensRequest flush inactive o auth2 tokens request // swagger:model flushInactiveOAuth2TokensRequest type FlushInactiveOAuth2TokensRequest struct { @@ -21,6 +21,7 @@ type FlushInactiveOAuth2TokensRequest struct { // of recently issued tokens for auditing. // Format: date-time // Format: date-time + // Format: date-time NotAfter strfmt.DateTime `json:"notAfter,omitempty"` } diff --git a/internal/httpclient/models/generic_error.go b/internal/httpclient/models/generic_error.go index 6908834bf81..bb59722bf88 100644 --- a/internal/httpclient/models/generic_error.go +++ b/internal/httpclient/models/generic_error.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/validate" ) -// GenericError GenericError Error response +// GenericError GenericError GenericError Error response // // Error responses are sent when an error (e.g. unauthorized, bad request, ...) occurred. // swagger:model genericError diff --git a/internal/httpclient/models/health_not_ready_status.go b/internal/httpclient/models/health_not_ready_status.go index 0de7b2c13a2..dc878b4d71a 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 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 44bb2047eb3..571dfd3a3df 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 health status +// HealthStatus HealthStatus health status // swagger:model healthStatus type HealthStatus struct { diff --git a/internal/httpclient/models/int.go b/internal/httpclient/models/int.go index 51eb13e3cc7..d2a72872542 100644 --- a/internal/httpclient/models/int.go +++ b/internal/httpclient/models/int.go @@ -5,7 +5,7 @@ package models // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command -// Int Int An Int represents a signed multi-precision integer. +// Int Int Int An Int represents a signed multi-precision integer. // The zero value for an Int represents the value 0. // // Operations always take pointer arguments (*Int) rather diff --git a/internal/httpclient/models/ip.go b/internal/httpclient/models/ip.go index 85a690647c6..05f0918e91c 100644 --- a/internal/httpclient/models/ip.go +++ b/internal/httpclient/models/ip.go @@ -9,7 +9,7 @@ import ( strfmt "github.com/go-openapi/strfmt" ) -// IP IP An IP is a single IP address, a slice of bytes. +// IP IP IP An IP is a single IP address, a slice of bytes. // Functions in this package accept either 4-byte (IPv4) // or 16-byte (IPv6) slices as input. // diff --git a/internal/httpclient/models/ip_mask.go b/internal/httpclient/models/ip_mask.go index 8a5819931ed..ac17ea95661 100644 --- a/internal/httpclient/models/ip_mask.go +++ b/internal/httpclient/models/ip_mask.go @@ -9,7 +9,7 @@ import ( strfmt "github.com/go-openapi/strfmt" ) -// IPMask IPMask An IP mask is an IP address. +// IPMask IPMask IPMask An IP mask is an IP address. // swagger:model IPMask type IPMask []uint8 diff --git a/internal/httpclient/models/ip_net.go b/internal/httpclient/models/ip_net.go index 13ecc23d4e2..38e6052da84 100644 --- a/internal/httpclient/models/ip_net.go +++ b/internal/httpclient/models/ip_net.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/swag" ) -// IPNet IPNet An IPNet represents an IP network. +// IPNet IPNet IPNet An IPNet represents an IP network. // swagger:model IPNet type IPNet struct { diff --git a/internal/httpclient/models/json_web_key.go b/internal/httpclient/models/json_web_key.go index 7a412cc351a..6ab6117cdc6 100644 --- a/internal/httpclient/models/json_web_key.go +++ b/internal/httpclient/models/json_web_key.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/validate" ) -// JSONWebKey JSONWebKey JSON web key +// JSONWebKey JSONWebKey JSONWebKey JSON web key // swagger:model JSONWebKey type JSONWebKey struct { 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 f7fd7df2ba4..e1504a7f111 100644 --- a/internal/httpclient/models/json_web_key_set_generator_request.go +++ b/internal/httpclient/models/json_web_key_set_generator_request.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/validate" ) -// JSONWebKeySetGeneratorRequest JSONWebKeySetGeneratorRequest json web key set generator request +// JSONWebKeySetGeneratorRequest JSONWebKeySetGeneratorRequest JSONWebKeySetGeneratorRequest json web key set generator request // swagger:model jsonWebKeySetGeneratorRequest type JSONWebKeySetGeneratorRequest struct { diff --git a/internal/httpclient/models/key_usage.go b/internal/httpclient/models/key_usage.go index dfc15b5e92a..a8f5a73f4ba 100644 --- a/internal/httpclient/models/key_usage.go +++ b/internal/httpclient/models/key_usage.go @@ -9,7 +9,7 @@ import ( strfmt "github.com/go-openapi/strfmt" ) -// KeyUsage KeyUsage KeyUsage represents the set of actions that are valid for a given key. It's +// KeyUsage KeyUsage KeyUsage KeyUsage represents the set of actions that are valid for a given key. It's // a bitmap of the KeyUsage* constants. // swagger:model KeyUsage type KeyUsage int64 diff --git a/internal/httpclient/models/login_request.go b/internal/httpclient/models/login_request.go index 1bebc69765a..fff0cbdd274 100644 --- a/internal/httpclient/models/login_request.go +++ b/internal/httpclient/models/login_request.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/swag" ) -// LoginRequest Contains information on an ongoing login request. +// LoginRequest 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 6df0c9b2bd6..a8663ea4bf2 100644 --- a/internal/httpclient/models/logout_request.go +++ b/internal/httpclient/models/logout_request.go @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/swag" ) -// LogoutRequest Contains information about an ongoing logout request. +// LogoutRequest LogoutRequest Contains information about an ongoing logout request. // swagger:model logoutRequest type LogoutRequest struct { diff --git a/internal/httpclient/models/name.go b/internal/httpclient/models/name.go index 4952b5f3760..39335849ec7 100644 --- a/internal/httpclient/models/name.go +++ b/internal/httpclient/models/name.go @@ -14,7 +14,7 @@ import ( "github.com/go-openapi/swag" ) -// Name Name Name represents an X.509 distinguished name. This only includes the common +// Name Name Name Name represents an X.509 distinguished name. This only includes the common // elements of a DN. When parsing, all elements are stored in Names and // non-standard elements can be extracted from there. When marshaling, elements // in ExtraNames are appended and override other values with the same OID. diff --git a/internal/httpclient/models/o_auth2_client.go b/internal/httpclient/models/o_auth2_client.go index 4bb4cbab89e..6003a64aeb7 100644 --- a/internal/httpclient/models/o_auth2_client.go +++ b/internal/httpclient/models/o_auth2_client.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/validate" ) -// OAuth2Client Client represents an OAuth 2.0 Client. +// OAuth2Client OAuth2Client Client represents an OAuth 2.0 Client. // swagger:model oAuth2Client type OAuth2Client struct { @@ -68,6 +68,7 @@ type OAuth2Client struct { // CreatedAt returns the timestamp of the client's creation. // 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 @@ -160,6 +161,7 @@ type OAuth2Client struct { // UpdatedAt returns the timestamp of the last update. // 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 2ef3faf0fd5..265930fa322 100644 --- a/internal/httpclient/models/o_auth2_token_introspection.go +++ b/internal/httpclient/models/o_auth2_token_introspection.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/validate" ) -// OAuth2TokenIntrospection OAuth2TokenIntrospection Introspection contains an access token's session data as specified by IETF RFC 7662, see: +// OAuth2TokenIntrospection Introspection contains an access token's session data as specified by IETF RFC 7662, see: // // https://tools.ietf.org/html/rfc7662 // swagger:model oAuth2TokenIntrospection diff --git a/internal/httpclient/models/oauth2_token_response.go b/internal/httpclient/models/oauth2_token_response.go index 6672f775a7e..ff18d83f33c 100644 --- a/internal/httpclient/models/oauth2_token_response.go +++ b/internal/httpclient/models/oauth2_token_response.go @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/swag" ) -// Oauth2TokenResponse The Access Token Response +// Oauth2TokenResponse Oauth2TokenResponse The Access Token Response // swagger:model oauth2TokenResponse type Oauth2TokenResponse struct { diff --git a/internal/httpclient/models/object_identifier.go b/internal/httpclient/models/object_identifier.go index ae731d594c3..a1b544707c1 100644 --- a/internal/httpclient/models/object_identifier.go +++ b/internal/httpclient/models/object_identifier.go @@ -9,7 +9,7 @@ import ( strfmt "github.com/go-openapi/strfmt" ) -// ObjectIdentifier ObjectIdentifier An ObjectIdentifier represents an ASN.1 OBJECT IDENTIFIER. +// ObjectIdentifier ObjectIdentifier ObjectIdentifier An ObjectIdentifier represents an ASN.1 OBJECT IDENTIFIER. // swagger:model ObjectIdentifier type ObjectIdentifier []int64 diff --git a/internal/httpclient/models/previous_consent_session.go b/internal/httpclient/models/previous_consent_session.go index e375578c75e..5f55598d928 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/swag" ) -// PreviousConsentSession PreviousConsentSession The response used to return used consent requests +// PreviousConsentSession PreviousConsentSession PreviousConsentSession The response used to return used consent requests // same as HandledLoginRequest, just with consent_request exposed as json // swagger:model PreviousConsentSession type PreviousConsentSession struct { diff --git a/internal/httpclient/models/public_key_algorithm.go b/internal/httpclient/models/public_key_algorithm.go index cd0c98ea2f6..a2212848fdc 100644 --- a/internal/httpclient/models/public_key_algorithm.go +++ b/internal/httpclient/models/public_key_algorithm.go @@ -9,7 +9,7 @@ import ( strfmt "github.com/go-openapi/strfmt" ) -// PublicKeyAlgorithm PublicKeyAlgorithm public key algorithm +// PublicKeyAlgorithm PublicKeyAlgorithm PublicKeyAlgorithm public key algorithm // swagger:model PublicKeyAlgorithm type PublicKeyAlgorithm int64 diff --git a/internal/httpclient/models/reject_request.go b/internal/httpclient/models/reject_request.go index a5647f0f935..fe45e83238e 100644 --- a/internal/httpclient/models/reject_request.go +++ b/internal/httpclient/models/reject_request.go @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/swag" ) -// RejectRequest RejectRequest The request payload used to accept a login or consent request. +// RejectRequest RejectRequest RejectRequest The request payload used to accept a login or consent request. // swagger:model rejectRequest type RejectRequest struct { diff --git a/internal/httpclient/models/signature_algorithm.go b/internal/httpclient/models/signature_algorithm.go index 4e778f3ebf0..1d6c9e1fbc1 100644 --- a/internal/httpclient/models/signature_algorithm.go +++ b/internal/httpclient/models/signature_algorithm.go @@ -9,7 +9,7 @@ import ( strfmt "github.com/go-openapi/strfmt" ) -// SignatureAlgorithm SignatureAlgorithm signature algorithm +// SignatureAlgorithm SignatureAlgorithm SignatureAlgorithm signature algorithm // swagger:model SignatureAlgorithm type SignatureAlgorithm int64 diff --git a/internal/httpclient/models/url.go b/internal/httpclient/models/url.go index 5b4ae3544a3..dde3b4bec67 100644 --- a/internal/httpclient/models/url.go +++ b/internal/httpclient/models/url.go @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/swag" ) -// URL URL A URL represents a parsed URL (technically, a URI reference). +// URL URL URL A URL represents a parsed URL (technically, a URI reference). // // The general form represented is: // diff --git a/internal/httpclient/models/userinfo.go b/internal/httpclient/models/userinfo.go index 83171334cf4..b0962c73260 100644 --- a/internal/httpclient/models/userinfo.go +++ b/internal/httpclient/models/userinfo.go @@ -5,7 +5,7 @@ package models // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command -// Userinfo Userinfo The Userinfo type is an immutable encapsulation of username and +// Userinfo Userinfo Userinfo The Userinfo type is an immutable encapsulation of username and // password details for a URL. An existing Userinfo value is guaranteed // to have a username set (potentially empty, as allowed by RFC 2396), // and optionally a password. diff --git a/internal/httpclient/models/userinfo_response.go b/internal/httpclient/models/userinfo_response.go index 04b067d0429..8f853a0a6a4 100644 --- a/internal/httpclient/models/userinfo_response.go +++ b/internal/httpclient/models/userinfo_response.go @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/swag" ) -// UserinfoResponse The userinfo response +// UserinfoResponse UserinfoResponse The userinfo response // swagger:model userinfoResponse type UserinfoResponse struct { diff --git a/internal/httpclient/models/version.go b/internal/httpclient/models/version.go index 8331ddbdfa5..45e0beeaf16 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 // swagger:model version type Version struct { diff --git a/internal/httpclient/models/well_known.go b/internal/httpclient/models/well_known.go index 36f8bf02751..2eb68ebb8e7 100644 --- a/internal/httpclient/models/well_known.go +++ b/internal/httpclient/models/well_known.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/validate" ) -// WellKnown WellKnown WellKnown represents important OpenID Connect discovery metadata +// 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.