Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Commit

Permalink
Update API Client
Browse files Browse the repository at this point in the history
#### What's Changed
---

##### `GET` /sources/oauth/source_types/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    Changed items (object):
        > Serializer for SourceType

    New required properties:
    - `verbose_name`

    New optional properties:
    - `slug`

    * Added property `verbose_name` (string)

    * Deleted property `slug` (string)

##### `GET` /sources/oauth/{slug}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `type` (object)
        > Serializer for SourceType

        New required properties:
        - `verbose_name`

        New optional properties:
        - `slug`

        * Added property `verbose_name` (string)

        * Deleted property `slug` (string)

##### `PUT` /sources/oauth/{slug}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `type` (object)
        > Serializer for SourceType

        New required properties:
        - `verbose_name`

        New optional properties:
        - `slug`

        * Added property `verbose_name` (string)

        * Deleted property `slug` (string)

##### `PATCH` /sources/oauth/{slug}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `type` (object)
        > Serializer for SourceType

        New required properties:
        - `verbose_name`

        New optional properties:
        - `slug`

        * Added property `verbose_name` (string)

        * Deleted property `slug` (string)

##### `POST` /sources/oauth/

###### Return Type:

Changed response : **201 Created**

* Changed content type : `application/json`

    * Changed property `type` (object)
        > Serializer for SourceType

        New required properties:
        - `verbose_name`

        New optional properties:
        - `slug`

        * Added property `verbose_name` (string)

        * Deleted property `slug` (string)

##### `GET` /sources/oauth/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `results` (array)

        Changed items (object):
            > OAuth Source Serializer

        * Changed property `type` (object)
            > Serializer for SourceType

            New required properties:
            - `verbose_name`

            New optional properties:
            - `slug`

            * Added property `verbose_name` (string)

            * Deleted property `slug` (string)
  • Loading branch information
authentik-automation[bot] committed Jan 12, 2024
1 parent bb07f7f commit 12799ea
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/SourceType.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
4 changes: 2 additions & 2 deletions schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42368,7 +42368,7 @@ components:
properties:
name:
type: string
slug:
verbose_name:
type: string
urls_customizable:
type: boolean
Expand Down Expand Up @@ -42404,8 +42404,8 @@ components:
- oidc_well_known_url
- profile_url
- request_token_url
- slug
- urls_customizable
- verbose_name
SpBindingEnum:
enum:
- redirect
Expand Down
6 changes: 3 additions & 3 deletions src/main/kotlin/io/goauthentik/api/models/SourceType.kt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import com.squareup.moshi.JsonClass
* Serializer for SourceType
*
* @param name
* @param slug
* @param verboseName
* @param urlsCustomizable
* @param requestTokenUrl
* @param authorizationUrl
Expand All @@ -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,
Expand Down

0 comments on commit 12799ea

Please sign in to comment.