-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Review the required properties of StructureResourceAttributes in openapi.json #198
Comments
In terms of |
Right. I assume the JSON schema from the OpenAPI could be used to validate the responses, and sometimes they will contain none of the excludable properties. |
I think this is the appropriate issue to restart this discussion...
Originally posted by @ml-evs in #482 Things we might consider doing (not mutually exclusive, but I think we need to do at least one...)
I guess it boils down to whether we want a spec that follows what people "SHOULD" do, with exceptions as special cases that we explicitly allow (which is my personal [biased] feeling for the spirit of the specification), or whether we should have a specification that allows almost everything. |
This seems like the most straight-forward solution, one that should definitely be put in place.
I am not sure exactly what you have in mind for the boundaries here, but at least for the In the end, I think it would be prudent to add awareness in the |
This sounds like the most natural solution to me. |
As of now, required properties of
StructureResourceAttributes
do not reflect the OPTiMaDe specification very well, as most of the properties can be excluded usingresponse_fields
.The text was updated successfully, but these errors were encountered: