This repository has been archived by the owner on Apr 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
III-4595 Shared models for common property schemas #102
Merged
Conversation
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
Since a $ref can only be overwritten with a new description
This makes the validation of incoming requests fail if they are missing these, which should not be required when writing
…rmat, but the data is not
LucWollants
approved these changes
Mar 3, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added
Changed
readOnly
x-internal: true
Fixed
name
onpriceInfo
is now required for thetariff
categorycopyrightHolder
onevent.videos
andplace.videos
now has the correct min/max length (2-250 vs 3-...)copyrightHolder
onorganizer.images
now has the correct min/max length (2-250 vs 3-...)geo
property to organizerevent.location
,event.organizer
, andplace.organizer
referencesf.e.
withe.g.
Note: We cannot mark readOnly properties as required at the moment (to indicate that they will always be included in responses), because if we do the
opis/json-schema
validator will throw an error that the properties are missing if they are not included in request bodies. I've opened an issue for that here: opis/json-schema#104Ticket: https://jira.uitdatabank.be/browse/III-4595