-
Notifications
You must be signed in to change notification settings - Fork 4
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
id not allowed in requestbody for date/location/person annotator, but id is part of the returned clinical notes #92
Comments
Do you remember when I mentioned that I was considering creating two schemas to solve the issue where a property should be part of the input and not the output or vice versa? OpenAPI options The problem that you report is actually due to connexion-Flask not respecting the option Here is what OpenApi doc says for
Note the use of "SHOULD NOT" and not "MUST NOT" in "SHOULD NOT be sent as part of the request". This means that connexion-Flask should not throw an error if a property marked as Open discussion in The solution described here as part of 942 complicates the code too much and I don't want this to confuse our developers since we provide this code as example. |
Open tickets for OpenAPITools/openapi-generator: |
The resolution is that 'id' needs to be removed from clinical notes prior to annotation. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Did you want me to remove "id" from each clinical note prior to calling the restPOST?
The rest call works if I remove the "id" from the request body.
The text was updated successfully, but these errors were encountered: