Skip to content

Commit 456cfc1

Browse files
committed
Room is nullable like roomId
1 parent 44aa9b4 commit 456cfc1

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

openapi/openapi.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ components:
304304
- startsAt
305305
- status
306306
- title
307-
Session:
307+
Session: # only for Sessions Endpoint
308308
allOf:
309309
- $ref: '#/components/schemas/BaseSession'
310310
- type: object
@@ -314,15 +314,16 @@ components:
314314
type: string
315315
format: integer # Sessions Endpoint contains only numeric IDs
316316
room:
317-
type: string # Sessions Endpoint
317+
type: string
318+
nullable: true
318319
speakers:
319320
type: array
320321
items:
321-
$ref: '#/components/schemas/SpeakerMinimal' # Sessions Endpoint
322+
$ref: '#/components/schemas/SpeakerMinimal'
322323
questionAnswers:
323324
type: array
324325
items:
325-
$ref: '#/components/schemas/QuestionAnswerFull' # Sessions Endpoint
326+
$ref: '#/components/schemas/QuestionAnswerFull'
326327
required:
327328
- id
328329
- room

sessionize-java-client/src/generated/java/software/xdev/sessionize/model/Session.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ public Session room(String room) {
462462
* Get room
463463
* @return room
464464
**/
465-
@jakarta.annotation.Nonnull
465+
@jakarta.annotation.Nullable
466466
@JsonProperty(JSON_PROPERTY_ROOM)
467467
@JsonInclude(value = JsonInclude.Include.ALWAYS)
468468

0 commit comments

Comments
 (0)