Description
When generating Java binding classes from YAML Metaschema modules, the code generator includes the literal quote characters from YAML string values in the generated Javadoc comments.
Example
YAML source (metaschema-testing unit-tests.yaml):
- name: "location"
description: "A URI reference to the metaschema module location."
Generated Javadoc (Metaschema.java):
/**
* "A URI reference to the metaschema module location."
*/
Expected Javadoc:
/**
* A URI reference to the metaschema module location.
*/
Impact
- Generated Javadoc has extraneous quote characters
- Affects all generated binding classes from YAML modules
Suggested Fix
The code generator should strip leading/trailing quotes from description strings when generating Javadoc comments.
Description
When generating Java binding classes from YAML Metaschema modules, the code generator includes the literal quote characters from YAML string values in the generated Javadoc comments.
Example
YAML source (metaschema-testing unit-tests.yaml):
Generated Javadoc (Metaschema.java):
Expected Javadoc:
Impact
Suggested Fix
The code generator should strip leading/trailing quotes from description strings when generating Javadoc comments.