Ml 3466 fix and improve openapi generation (#4437)

* Update fhir version constants from 4.0.0 to 4.0.1

Yes, this means the test fails.  The root cause of the failure is possibly the incorrect fhir version
in org.hl7.fhir.r4/src/main/java/org/hl7/fhir/r4/model/Constants.java

* fixes hapifhir/hapi-fhir#3466

Includes a POST version for every GET endpoint.
Excludes non-primitive parameters from GET endpoints.
For an idempotent (affectsState=false) endpoint with at least one required non-primitive parameter, only support POST

Also include */_search endpoints for the Search operation.

* Add changelog

Co-authored-by: Michael Lawley <michael.lawley@csiro.au>
Co-authored-by: Michael Lawley <michael@lawley.id.au>
This commit is contained in:
James Agnew 2023-01-17 14:50:44 -05:00 committed by GitHub
parent ee06f900fe
commit 8029e2d5bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
---
type: fix
issue: 3466
title: "Several issues with the OpenAPI generator have been fixed:
* FHIR Operations will always include a POST invocation option
* Non-primitive parameters will be excluded from GET invocations
* For an idempotent (affectsState=false) endpoint with at least one required non-primitive parameter, only support POST
* Also include `_search` endpoints for the Search operation
Thanks to Michael Lawley for the pull request!"