Updating schemas #193
Closed
JohnRDOrazio
started this conversation in
General
Replies: 2 comments
-
|
May have to restart the websocket server: The service is defined on the server at |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I was able to update the JSON schemas to use local references, rather than remote references, which not only solves some of these problems, but also makes the validation much faster at least when running the server locally. Local references are resolved much faster than having to make network requests. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We should document how to handle updating schemas for tests, when new properties are introduced either for the
Requestor theResponsein the API.For example, we have recently introduced a new
LitCalSettingwhich can be used in theRequest:CalendarType. We also introduced a couple new properties in theResponsesuch asisVigilForandliturgicalSeason. I updated theLitCal.jsonschema to account for these. However, even after pulling the changes to theapi/devbranch on the server, tests are still failing.Turns out it's because we are actually using the
litcal.orgdomain, purchased by J. Hudon, for our schemas. So after any changes to schemas, they need to be pulled in under that domain's directory on the server. How to deal with this in the future? Perhaps purchase a new domain name?Beta Was this translation helpful? Give feedback.
All reactions