Implement openapi filter to fix paths
Merge Request
Description
This MR implements an OpenAPI filter to fix the openapi paths. The filter removes the quarkus-injected '/shepard/api' path part from the OpenApi paths
The deployment goal is to have the /shepard/api as part of the base path, but not as part of the actual endpoint path. Meaning that quarkus auto-generates openapi paths that have the following structure: "/shepard/api/PATH". However, we want to set the OpenAPI server attribute to "/shepard/api". Which results in the following OpenAPI REST endpoint path: /shepard/api/shepard/api/PATH. This is why the removal of the first "/shepard/api" in the filter is needed.
Checklist
-
The code compiles without any warnings. -
I followed the code review checklist. -
The documentation has been added/updated.
Related Issues
- Related DESHN-125