Repository navigation
v0.7.0
Added
- (generate) integrate envelope detection into build()
- (generate) integrate operationId strategy into builder
- (cli) add envelope detection CLI flags
- (generate) integrate tag rules strategy into builder
- add envelope module for discriminator-based response splitting
- (cli) add operationId and tag strategy CLI flags
- add operation_id module with camelCase derivation and collision resolution
- add tag_rules module with regex-based tag matching
Fixed
- (cli) show correct value name and help text for --redact-patterns
- (cli) stop splitting --redact-patterns on comma, fail invalid regex under --strict
- (envelope) pin discriminator field to boolean enum:[false] in ApiError
- (envelope) merge all error bodies in infer_api_error, not just first
- (test) normalize CRLF in snapshot comparison, add .gitattributes eol=lf
- (output) sort maps for deterministic YAML output
Other
- (changelog) add bugfix entries from MEXC integration testing
- document operationId, tags, and envelope features
- (integration) add end-to-end test for operationId, tags, and envelope
- add snapshot test pinning current generate output
Added
- (generate) add
--operation-id-strategy {none,path,template}flag for stable operationId generation - (generate) add
--operation-id-overrides <path>for per-operation overrides via YAML - (generate) add
--operation-id-template <string>for custom operationId templates - (generate) add
--tag-strategy {legacy,none,path-segment,rules}flag - (generate) add
--tag-rules <path>for regex-based tag assignment from YAML - (generate) add
--tag-segment-index <N>to use a specific path segment as tag - (generate) add
--envelope-discriminator <field>for discriminator-based response splitting - (generate) add
--envelope-error-shape <path>for hand-supplied ApiError schema - (generate) add
--envelope-success-component-suffix <string>(defaultSuccess) - (output) sort paths and component schemas alphabetically for deterministic YAML output
Fixed
- (envelope)
infer_api_errornow merges all error bodies, not just the first — an outliermsg: 0no longer overrides thousands ofmsg: "string"samples - (envelope) inferred
ApiErrorschema now includes the discriminator field pinned withenum: [false] - (cli)
--redact-patternsno longer splits on,— regex quantifiers like{32,}now work correctly (pass multiple patterns via repeated flags) - (cli) invalid
--redact-patternsregex now hard-fails under--strictinstead of silently skipping redaction
Found and fixed by integration testing against a 3.1 GB MEXC capture in mexc-reversed-sdk.