Skip to content

Generate one openapi spec from multiple maven modules #1381

Answered by phillip-kruger
mschorsch asked this question in Q&A
Discussion options

You must be logged in to vote

I am not sure that is possible out of the box. The best workaround I can think of is to let every Quarkus service dump it's own generated OpenAPI schema to a file (by using quarkus.smallrye-openapi.store-schema-directory

Then write a separate app that combine them. You can use the SmallRye API to do the merge.

Maybe @MikeEdgar has some more ideas.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by mschorsch
Comment options

You must be logged in to vote
4 replies
@phillip-kruger
Comment options

@mschorsch
Comment options

@phillip-kruger
Comment options

@MikeEdgar
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants