Skip to content

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 19 Apr 19:08
· 16 commits to main since this release

What's Changed (v0.3.0 → v0.4.0)

Validators & FluentValidation

  • Emit string validation helpers only when used; share required string validator rules
  • Validate optional nested child models and collection items across models
  • Validate required Guid parameters; stop duplicate string validation errors
  • Align wrapper/metadata validators with schema rules; conditionally emit validator helpers
  • Add FluentValidation imports to generated wrappers
  • Guard null body validators safely; require non-null body wrapper models

Schema & Model Generation

  • Preserve optional string schema properties and nullable optional containers
  • Treat enums as value types; remove generated enum initializers; fix enum property typing
  • Emit constructors for initialized schema structs; initialize required generated strings
  • Tighten contracts and formatting; qualify schema container types
  • Trim unused schema/mapper imports and usings

Gateway (cs-gateway)

  • Honor success response code and model
  • Fix gateway pagination defaults and auth noise
  • Harden request and JSON contract generation
  • Fix gateway schema generation for review readability

Request / Response Handling

  • Fix nullable optional request params
  • Handle 204 responses without body; avoid 204 status in error response path

Fetch Client (TypeScript)

  • Trim unused generated imports
  • Remove residual map imports and lint suppressions