Skip to content

Commit

Permalink
fix(specs): add input to authentication list (#1688)
Browse files Browse the repository at this point in the history
  • Loading branch information
millotp authored Jul 4, 2023
1 parent 9a4c192 commit 7250930
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
15 changes: 2 additions & 13 deletions specs/ingestion/common/schemas/authentication.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ Authentication:
$ref: './common.yml#/name'
platform:
$ref: '#/Platform'
input:
$ref: '#/AuthInput'
createdAt:
$ref: './common.yml#/createdAt'
updatedAt:
Expand All @@ -22,19 +24,6 @@ Authentication:
- input
- createdAt

AuthenticationWithInput:
allOf:
- $ref: '#/Authentication'
- type: object
title: authenticationInput
description: The authentication input property stores the (encrypted) credentials.
additionalProperties: false
properties:
input:
$ref: '#/AuthInput'
required:
- input

AuthenticationCreate:
type: object
description: The payload when creating an authentication.
Expand Down
2 changes: 1 addition & 1 deletion specs/ingestion/paths/authentications/authenticationID.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ get:
content:
application/json:
schema:
$ref: '../../common/schemas/authentication.yml#/AuthenticationWithInput'
$ref: '../../common/schemas/authentication.yml#/Authentication'
'400':
$ref: '../../../common/responses/BadRequest.yml'

Expand Down

0 comments on commit 7250930

Please sign in to comment.