-
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
keep-openExplicitily keep openExplicitily keep open
Description
Reason/Context
In cases of shared schemas, primary artifacts may already be in a Maven artifact alongside generated Java interface /POJOs.
For instance:
- a Maven multi-module project with a shared api-binding module where the same API is implemented or consumed by multiple modules.
- an oidc-test artifact which would contain an OpenAPI spec to be able to mock OIDC calls, alongside public/private keys to generate JWT tokens.
The solution today is to copy the primary artifact in the quarkus app so it's discovered for mocking, but that creates duplication.
Description
Today quarkus.microcks.devservices.artifacts.primaries and quarkus.microcks.devservices.artifacts.secondaries allow relative paths.
If a jar contains a META-INF/order-service-openapi.yaml, it should be possible to reference classpath:META-INF/order-service-openapi.yaml
Ideally the automatic discovery should work as well, potentially limited to resources under META-INF/ folder.
Implementation ideas
No response
Metadata
Metadata
Assignees
Labels
keep-openExplicitily keep openExplicitily keep open