3rd Party dependency models in our source code(i.e in Parent Model) are not getting created under openapi components.schemas and not getting referenced from parent as well. #595
Replies: 1 comment 3 replies
-
Hi @shahbaaz31here , this looks like an issue with the implementation and not the MicroProfile OpenAPI spec itself. What server/runtime are you using? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We are using using openapi 3 - (org.eclipse.microprofile.openapi)
Source Code Parent Model : oracle.apps.crm.service.workflow.dsl.model.WorkflowDslPayload
Referenced models for which source code is not in current project(Its coming from a dependency) : io.serverlessworkflow.api.states.OperationState
Model(WorkflowDslPayload) referencing List:
The /openAPI response only contains WorkflowDslPayload schema and it is not able to reference other objects for which source code is not present.
Open API snippet :
In the above Schema, states.items should point to $ref: '#/components/schemas/OperationState' but it isn't happening.
Annotation on Controller :
Beta Was this translation helpful? Give feedback.
All reactions