diff --git a/docs/SourceType.md b/docs/SourceType.md index 81f6040..46a2711 100644 --- a/docs/SourceType.md +++ b/docs/SourceType.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **kotlin.String** | | -**slug** | **kotlin.String** | | +**verboseName** | **kotlin.String** | | **urlsCustomizable** | **kotlin.Boolean** | | **requestTokenUrl** | **kotlin.String** | | [readonly] **authorizationUrl** | **kotlin.String** | | [readonly] diff --git a/schema.yml b/schema.yml index ef14944..85dd0e5 100644 --- a/schema.yml +++ b/schema.yml @@ -42368,7 +42368,7 @@ components: properties: name: type: string - slug: + verbose_name: type: string urls_customizable: type: boolean @@ -42404,8 +42404,8 @@ components: - oidc_well_known_url - profile_url - request_token_url - - slug - urls_customizable + - verbose_name SpBindingEnum: enum: - redirect diff --git a/src/main/kotlin/io/goauthentik/api/models/SourceType.kt b/src/main/kotlin/io/goauthentik/api/models/SourceType.kt index 3a8d8bb..ca45209 100644 --- a/src/main/kotlin/io/goauthentik/api/models/SourceType.kt +++ b/src/main/kotlin/io/goauthentik/api/models/SourceType.kt @@ -23,7 +23,7 @@ import com.squareup.moshi.JsonClass * Serializer for SourceType * * @param name - * @param slug + * @param verboseName * @param urlsCustomizable * @param requestTokenUrl * @param authorizationUrl @@ -39,8 +39,8 @@ data class SourceType ( @Json(name = "name") val name: kotlin.String, - @Json(name = "slug") - val slug: kotlin.String, + @Json(name = "verbose_name") + val verboseName: kotlin.String, @Json(name = "urls_customizable") val urlsCustomizable: kotlin.Boolean,