Task
Implement the YAML schema file generation that produces valid OpenAPI component schemas from processed DTO metadata.
Parent story: #12
Parent epic: #18
Details
- Use the type mapping to produce a complete OpenAPI schema component
- Generate a
.yaml file per DTO in the configured output directory
- Include
required array for non-nullable fields
- Include
description from Javadoc if available
- Validate generated YAML is syntactically correct
Acceptance Criteria
Task
Implement the YAML schema file generation that produces valid OpenAPI component schemas from processed DTO metadata.
Parent story: #12
Parent epic: #18
Details
.yamlfile per DTO in the configured output directoryrequiredarray for non-nullable fieldsdescriptionfrom Javadoc if availableAcceptance Criteria
.yamlschema file is generated@NotNullfields, therequiredarray is populated correctly