Skip to content

Commit d9e3718

Browse files
committed
fix: comments from review
Signed-off-by: Umberto Sgueglia <usgueglia@contractor.linuxfoundation.org>
1 parent a50fd8d commit d9e3718

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

backend/src/api/public/v1/affiliations/openapi.yaml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ paths:
8686
- torvalds@linux-foundation.org
8787
affiliations:
8888
- organization: Linux Foundation
89-
startDate: '2007-01-01'
89+
startDate: '2007-01-01T00:00:00.000Z'
9090
endDate: null
9191
notFound: []
9292
'400':
@@ -152,9 +152,8 @@ paths:
152152
components:
153153
securitySchemes:
154154
ApiKeyAuth:
155-
type: apiKey
156-
in: header
157-
name: Authorization
155+
type: http
156+
scheme: bearer
158157
description: Static API key — pass as `Bearer <token>`.
159158

160159
schemas:
@@ -173,14 +172,14 @@ components:
173172
type:
174173
- string
175174
- 'null'
176-
format: date
177-
description: Start date of the affiliation period (ISO 8601).
178-
example: '2020-01-01'
175+
format: date-time
176+
description: Start date of the affiliation period (ISO 8601 datetime).
177+
example: '2020-01-01T00:00:00.000Z'
179178
endDate:
180179
type:
181180
- string
182181
- 'null'
183-
format: date
182+
format: date-time
184183
description: End date of the affiliation period, or null if currently active.
185184
example: null
186185

0 commit comments

Comments
 (0)