Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Update sample data in swagger for /secret to be correct #1075

Merged
merged 1 commit into from
Apr 6, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions openapi/v2/app-functions-sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ components:
type: string
format: uuid
example: "e6e8a2f4-eb14-4649-9e2b-175247911369"
apiVersion:
description: "A version number shows the API version in DTOs."
type: string
example: "v2"
BaseResponse:
description: "Defines basic properties which all use-case specific response DTO instances should support"
type: object
Expand Down Expand Up @@ -111,6 +115,7 @@ components:
path:
description: Specifies the type or location of the secret to store
type: string
example: "credentials"
secretData:
description: A list of the key/value pairs of secret data to store
type: array
Expand All @@ -126,11 +131,11 @@ components:
key:
description: The key to identify the secret data
type: string
example: "appsecret"
example: "username"
value:
description: The value of the secret data
type: string
example: "appsecret-value"
example: "mqtt-user"
required:
- key
- value
Expand Down