Skip to content

Commit

Permalink
fix: Update sample data in swagger for /secret to be correct (#1075)
Browse files Browse the repository at this point in the history
Was missing apiVerion and good example data

fixes #1074

Signed-off-by: Leonard Goodell <leonard.goodell@intel.com>
  • Loading branch information
Lenny Goodell authored Apr 6, 2022
1 parent 2bb5a09 commit 7cb97b0
Showing 1 changed file with 7 additions and 2 deletions.
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

0 comments on commit 7cb97b0

Please sign in to comment.