Skip to content

Reference Schema In Separate Schema File #450

Closed Answered by CarstenWickner
valliappanmvi asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @valliappanmvi,

Short answer: Yes.

A similar question was raised on (that admittedly fairly long exchange on) #319, resulting in some examples being created, the most relevant for you should be the ExternalRefPackageExample, where the schema generator is being configured to replace all types from a particular package with an external reference to a separate schema file.

Such a configuration could then be wrapped into a custom Module and included in your Maven plugin setup, where at the same time you'd instruct the plugin to generate those schema files for all classes in that same package.

That is how others are using it already, e.g., according to the question raised on #393.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by CarstenWickner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants