Skip to content

Commit

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

##### `GET` /flows/executor/{flow_slug}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    Updated `ak-stage-prompt` component:
    * Changed property `fields` (array)

        Changed items (object):
            > Serializer for a single Prompt field

        New required properties:
        - `initial_value`

        * Added property `initial_value` (string)

##### `POST` /flows/executor/{flow_slug}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    Updated `ak-stage-prompt` component:
    * Changed property `fields` (array)

        Changed items (object):
            > Serializer for a single Prompt field

        New required properties:
        - `initial_value`

        * Added property `initial_value` (string)

##### `GET` /stages/prompt/prompts/{prompt_uuid}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Added property `initial_value` (string)
        > Optionally pre-fill the input with an initial value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple default choices.

    * Added property `initial_value_expression` (boolean)

    * Changed property `placeholder` (string)
        > Optionally provide a short hint that describes the expected input value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple choices.

##### `PUT` /stages/prompt/prompts/{prompt_uuid}/

###### Request:

Changed content type : `application/json`

* Added property `initial_value` (string)
    > Optionally pre-fill the input with an initial value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple default choices.

* Added property `initial_value_expression` (boolean)

* Changed property `placeholder` (string)
    > Optionally provide a short hint that describes the expected input value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple choices.

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Added property `initial_value` (string)
        > Optionally pre-fill the input with an initial value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple default choices.

    * Added property `initial_value_expression` (boolean)

    * Changed property `placeholder` (string)
        > Optionally provide a short hint that describes the expected input value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple choices.

##### `PATCH` /stages/prompt/prompts/{prompt_uuid}/

###### Request:

Changed content type : `application/json`

* Added property `initial_value` (string)
    > Optionally pre-fill the input with an initial value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple default choices.

* Added property `initial_value_expression` (boolean)

* Changed property `placeholder` (string)
    > Optionally provide a short hint that describes the expected input value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple choices.

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Added property `initial_value` (string)
        > Optionally pre-fill the input with an initial value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple default choices.

    * Added property `initial_value_expression` (boolean)

    * Changed property `placeholder` (string)
        > Optionally provide a short hint that describes the expected input value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple choices.

##### `POST` /stages/prompt/prompts/preview/

###### Request:

Changed content type : `application/json`

* Added property `initial_value` (string)
    > Optionally pre-fill the input with an initial value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple default choices.

* Added property `initial_value_expression` (boolean)

* Changed property `placeholder` (string)
    > Optionally provide a short hint that describes the expected input value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple choices.

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `fields` (array)

        Changed items (object):
            > Serializer for a single Prompt field

        New required properties:
        - `initial_value`

        * Added property `initial_value` (string)

##### `POST` /stages/prompt/prompts/

###### Request:

Changed content type : `application/json`

* Added property `initial_value` (string)
    > Optionally pre-fill the input with an initial value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple default choices.

* Added property `initial_value_expression` (boolean)

* Changed property `placeholder` (string)
    > Optionally provide a short hint that describes the expected input value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple choices.

###### Return Type:

Changed response : **201 Created**

* Changed content type : `application/json`

    * Added property `initial_value` (string)
        > Optionally pre-fill the input with an initial value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple default choices.

    * Added property `initial_value_expression` (boolean)

    * Changed property `placeholder` (string)
        > Optionally provide a short hint that describes the expected input value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple choices.

##### `GET` /stages/prompt/prompts/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `results` (array)

        Changed items (object):
            > Prompt Serializer

        * Added property `initial_value` (string)
            > Optionally pre-fill the input with an initial value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple default choices.

        * Added property `initial_value_expression` (boolean)

        * Changed property `placeholder` (string)
            > Optionally provide a short hint that describes the expected input value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple choices.
  • Loading branch information
authentik-bot committed Apr 19, 2023
1 parent f3ec811 commit 7c99539
Show file tree
Hide file tree
Showing 499 changed files with 1,039 additions and 547 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This repo contains a generated API client to talk with authentik's API from Go.
## Overview
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.

- API version: 2023.4.0
- API version: 2023.4.1
- Package version: 1.0.0

## Installation
Expand Down
70 changes: 55 additions & 15 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ info:
name: MIT
url: https://github.com/goauthentik/authentik/blob/main/LICENSE
title: authentik
version: 2023.4.0
version: 2023.4.1
servers:
- url: /api/v3/
paths:
Expand Down Expand Up @@ -39956,6 +39956,12 @@ components:
total_pages: 5.637376656633329
results:
- sub_text: sub_text
initial_value: initial_value
initial_value_expression: true
label: label
type: null
placeholder_expression: true
required: true
promptstage_set:
- component: component
verbose_name: verbose_name
Expand Down Expand Up @@ -40022,13 +40028,15 @@ components:
field_key: field_key
name: name
pk: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
label: label
placeholder: placeholder
order: -1803530559
- sub_text: sub_text
initial_value: initial_value
initial_value_expression: true
label: label
type: null
placeholder_expression: true
required: true
order: -1803530559
- sub_text: sub_text
promptstage_set:
- component: component
verbose_name: verbose_name
Expand Down Expand Up @@ -40095,11 +40103,7 @@ components:
field_key: field_key
name: name
pk: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
label: label
placeholder: placeholder
type: null
placeholder_expression: true
required: true
order: -1803530559
properties:
pagination:
Expand Down Expand Up @@ -44760,6 +44764,8 @@ components:
designation: ""
title: title
slug: slug
initial_value: initial_value
initial_value_expression: true
field_key: field_key
name: name
label: label
Expand All @@ -44784,9 +44790,15 @@ components:
required:
type: boolean
placeholder:
description: "When creating a Radio Button Group or Dropdown, enable interpreting\
description: "Optionally provide a short hint that describes the expected\
\ input value. When creating a fixed choice field, enable interpreting\
\ as expression and return a list to return multiple choices."
type: string
initial_value:
description: "Optionally pre-fill the input with an initial value. When\
\ creating a fixed choice field, enable interpreting as expression and\
\ return a list to return multiple default choices."
type: string
order:
maximum: 2147483647
minimum: -2147483648
Expand All @@ -44799,6 +44811,8 @@ components:
type: string
placeholder_expression:
type: boolean
initial_value_expression:
type: boolean
type: object
PatchedPromptStageRequest:
description: PromptStage Serializer
Expand Down Expand Up @@ -46300,6 +46314,12 @@ components:
description: Prompt Serializer
example:
sub_text: sub_text
initial_value: initial_value
initial_value_expression: true
label: label
type: null
placeholder_expression: true
required: true
promptstage_set:
- component: component
verbose_name: verbose_name
Expand Down Expand Up @@ -46366,11 +46386,7 @@ components:
field_key: field_key
name: name
pk: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
label: label
placeholder: placeholder
type: null
placeholder_expression: true
required: true
order: -1803530559
properties:
pk:
Expand All @@ -46390,9 +46406,15 @@ components:
required:
type: boolean
placeholder:
description: "When creating a Radio Button Group or Dropdown, enable interpreting\
description: "Optionally provide a short hint that describes the expected\
\ input value. When creating a fixed choice field, enable interpreting\
\ as expression and return a list to return multiple choices."
type: string
initial_value:
description: "Optionally pre-fill the input with an initial value. When\
\ creating a fixed choice field, enable interpreting as expression and\
\ return a list to return multiple default choices."
type: string
order:
maximum: 2147483647
minimum: -2147483648
Expand All @@ -46405,6 +46427,8 @@ components:
type: string
placeholder_expression:
type: boolean
initial_value_expression:
type: boolean
required:
- field_key
- label
Expand All @@ -46430,6 +46454,7 @@ components:
cancel_url: cancel_url
fields:
- sub_text: sub_text
initial_value: initial_value
field_key: field_key
label: label
placeholder: placeholder
Expand All @@ -46440,6 +46465,7 @@ components:
required: true
order: 0
- sub_text: sub_text
initial_value: initial_value
field_key: field_key
label: label
placeholder: placeholder
Expand Down Expand Up @@ -46523,6 +46549,8 @@ components:
designation: ""
title: title
slug: slug
initial_value: initial_value
initial_value_expression: true
field_key: field_key
name: name
label: label
Expand All @@ -46547,9 +46575,15 @@ components:
required:
type: boolean
placeholder:
description: "When creating a Radio Button Group or Dropdown, enable interpreting\
description: "Optionally provide a short hint that describes the expected\
\ input value. When creating a fixed choice field, enable interpreting\
\ as expression and return a list to return multiple choices."
type: string
initial_value:
description: "Optionally pre-fill the input with an initial value. When\
\ creating a fixed choice field, enable interpreting as expression and\
\ return a list to return multiple default choices."
type: string
order:
maximum: 2147483647
minimum: -2147483648
Expand All @@ -46562,6 +46596,8 @@ components:
type: string
placeholder_expression:
type: boolean
initial_value_expression:
type: boolean
required:
- field_key
- label
Expand Down Expand Up @@ -49238,6 +49274,7 @@ components:
description: Serializer for a single Prompt field
example:
sub_text: sub_text
initial_value: initial_value
field_key: field_key
label: label
placeholder: placeholder
Expand All @@ -49258,6 +49295,8 @@ components:
type: boolean
placeholder:
type: string
initial_value:
type: string
order:
type: integer
sub_text:
Expand All @@ -49270,6 +49309,7 @@ components:
required:
- choices
- field_key
- initial_value
- label
- order
- placeholder
Expand Down
2 changes: 1 addition & 1 deletion api_admin.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_authenticators.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_core.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_crypto.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_events.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_flows.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_managed.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_oauth2.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_outposts.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_policies.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_propertymappings.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_providers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_root.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_schema.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_sources.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_stages.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion configuration.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7c99539

Please sign in to comment.