Skip to content
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

Openapi interceptor does generate spec for Conditional Update #6020

Open
Richard-de-Vries opened this issue Jun 18, 2024 · 0 comments
Open

Comments

@Richard-de-Vries
Copy link

Description
The issue is that when a @ConditionalUrlParam is defined on a Update, this is not reflected in the OpenApi/Swagger documentation.

To Reproduce
Steps to reproduce the behavior:

  1. Create a Provider with an @update that has the @ConditionalUrlParam present on the method parameters.
  2. Create a ServletRegistrationBean with the provider and the OpenApiInterceptor.
  3. Look at the swagger-ui documentation page, an observe that no endpoint for the conditional update is created on the documentation page.

Expected behavior
I would expect that a new Put path is generated on the Base of the resource, on which the documentation for the conditional update can be added.

Environment (please complete the following information):

  • HAPI FHIR: 7.0.2
  • OS: Linux
  • Browser: Firefox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants