Skip to content

Conversation

@TimothyJones
Copy link
Owner

Fixes: amplication/amplication#9844

PR Details

This PR adds support for generating constructor documentation for Java.

  • It uses the existing docs property for the parameters
  • It adds an optional javadoc property to the Constructor type (the naming is consistent with the Class properties which also use javadoc)
  • Tests are added for cases where parameters are documented but the constructor isn't, where the constructor is documented but the parameters aren't, and where both are documented

PR Checklist

  • Tests for the changes have been added
  • npm test doesn't throw any error

IMPORTANT: Please review the CONTRIBUTING.md file for detailed contributing guidelines.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

@amplication/java-ast doesn't support constructor documentation

1 participant