-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #154 from tomcdonnell/hotfix-master/SA-16068
Set some fields as required when creating events [SA-16068] master
- Loading branch information
Showing
5 changed files
with
38 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
openapi/components/schemas/calendar/eventRequestFieldsForCreate.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
required: | ||
- allDay | ||
- title | ||
- startDate | ||
- endDate | ||
- publishDate | ||
- type | ||
- level | ||
properties: | ||
user: | ||
type: object | ||
description: | ||
An object stub for specifying a user. This specifies the owner of the event. | ||
When an event is created, if this is not supplied the logged-in user will | ||
become the owner. Note the owner may not be changed after event creation. | ||
properties: | ||
id: | ||
$ref: ../../schemas/id.yaml | ||
allOf: | ||
- type: object | ||
- $ref: eventRequestFieldsForModify.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters