Skip to content

XDOC: document required fields in generated model docs#550

Open
slachiewicz wants to merge 1 commit intomasterfrom
fix-549-xdoc-required-fields
Open

XDOC: document required fields in generated model docs#550
slachiewicz wants to merge 1 commit intomasterfrom
fix-549-xdoc-required-fields

Conversation

@slachiewicz
Copy link
Member

Summary

This PR fixes #549 by exposing whether a field is required in generated xdoc documentation.

Changes

  • render Required: Yes. in generated xdoc for fields with required=true
  • add regression test assertions for modelVersion and groupId in generated maven.xml

Verification

  • mvn -pl modello-plugins/modello-plugin-xdoc -Dtest=XdocGeneratorTest test

Closes #549

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

xdoc: document when a field is required

1 participant