-
Notifications
You must be signed in to change notification settings - Fork 103
Server Code Generation does not support multiple yaml files #983
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
Labels
area:server
This item is related to the server extension
Comments
@carlesarnal please take a look |
@ricardozanini @hbelmiro This is being labeled as Stale. |
@mcruzdev are you going to take this one too? |
@vladprado can you try this one? I can help you with some details. |
Sure, @mcruzdev ! |
Nice @vladprado, just to give you a context... the server extension uses behind the scenes apicurio/apicurio-codegen project. Please, if necessary crest an issue there :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi team
My open api spec is structured as follows
module1.yaml could use
component/schema
elements from common-spec.yaml. Before running the generation logic, I copy the common filecommon-spec.yaml
andmodule1.yaml
to a temp location and then run the code generation logic. This works for client code generation but fails for server code generation.Server Config (fails):
Client Config (works):
I have tried going through the code base, I believe the issue is here https://github.com/quarkiverse/quarkus-openapi-generator/blob/main/server/deployment/src/main/java/io/quarkiverse/openapi/server/generator/deployment/codegen/ApicurioOpenApiServerCodegen.java#L88 - where we generate json file only for the input file and not other files in the
/tmp/download/api-specs
directory.Since the behaviour here is inconsistent between server and client code generation - is this something to be implemented/fixed? If not, do we have any workaround for the same?
The text was updated successfully, but these errors were encountered: