Skip to content

Releases: go-openapi/codescan

v0.35.0

21 Jun 22:43
v0.35.0
b1ce919

Choose a tag to compare

0.35.0 - 2026-06-21

Big bug-bashing release

Full Changelog: v0.34.1...v0.35.0

267 commits in this release.


Implemented enhancements

  • feat(spec): recover builder panics with a located diagnostic by @fredbi ...
  • feat(scanner): fail loud on a degraded package load by @fredbi ...
  • feat(builders): emit cross-ref provenance anchors by @fredbi ...
  • feat(scanner): provenance hooks and diagnostic-dedup infrastructure by @fredbi ...
  • feat(grammar): expose keyword→spec-pointer mapping (PointerPath) by @fredbi ...
  • feat(parser): add SingleLineCommentAsDescription option by @fredbi ...
  • feat(schema): add EmitXGoType option to stamp x-go-type on definitions by @fredbi ...
  • feat(schema): resolve cross-package leaf type names in type-name keywords by @fredbi ...
  • feat(spec): name-identity deconfliction for colliding definition names by @fredbi ...
  • feat(schema): typed swagger:patternProperties marker by @fredbi ...
  • feat(responses): emit x-go-enum-desc on enum-typed response headers (go-swagger#2922) by @fredbi ...
  • feat(externalDocs): support externalDocs on operation and full schema by @fredbi ...
  • feat(scanner): add SkipEnumDescriptions to keep enum const mapping out of descriptions (go-swagger#2922) by @fredbi ...
  • feat(responses): support primitive response bodies via body: tag (go-swagger#2942) by @fredbi ...

Fixed bugs

  • fix(builders): correct jsonpointer provenance instrumentation by @fredbi ...
  • fix(schema): emit additionalProperties for json-stringifiable map keys (go-swagger#2251) by @fredbi ...
  • fix(parameters): honour swagger:type override on parameter fields (go-swagger#1499) by @fredbi ...
  • fix(schema): honour the name: keyword on model fields & interface methods (quirk G2) by @fredbi ...
  • fix(routes): derive body: response description instead of echoing the type name (quirk G1) by @fredbi ...
  • fix(schema): keep model+override inline in a SimpleSchema (F1/F4 follow-up) by @fredbi ...
  • fix(schema): support bare swagger:enum on a type decl (F4b, part C) by @fredbi ...
  • fix(schema): swagger:model + override publishes a definition + $ref (F1/F2/F4, parts A+B) by @fredbi ...
  • fix(schema): deprecate swagger:alias to an empty sink (F8) by @fredbi ...
  • fix(schema): honour swagger:name on struct fields (quirk F5) by @fredbi ...
  • fix(yaml): parse gofmt-canonical swagger:operation YAML bodies (F7 operations) by @fredbi ...
  • fix(parameters,responses): guard map fields in OAS2 SimpleSchema targets (go-swagger#2804) by @fredbi ...
  • fix(scanner): warn on non-identifier swagger:model/response names (go-swagger#874) by @fredbi ...

Refactor

  • refactor: retire internal/logger; route scan observations through diagnostics by @fredbi in #49 ...

Documentation

  • feat(schema): optional $ref-sibling rendering (EmitRefSiblings, SkipAllOfCompounding) by @fredbi in #47 ...
  • doc: updated contributors file by @bot-go-openapi[bot] in #46 ...
  • docs: remove the stale duplicate usage/getting-started section by @fredbi ...
  • docs: document the EmitXGoType and SingleLineCommentAsDescription knobs by @fredbi ...
  • docs: flip "Resolving $ref name conflicts" live with test-backed panes by @fredbi ...
  • docs: reference entries for additionalProperties & patternProperties by @fredbi ...
  • docs: new 'Maps & free-form objects' tutorial with test-backed examples by @fredbi ...
  • docs: swagger:type override on parameter fields (go-swagger#1499) by @fredbi ...
  • docs: compose a response body from several models via swagger:allOf (#2592) by @fredbi ...
  • docs: structured example on a $ref'd field + shared-model per-response examples (quirk G3, #2871) by @fredbi ...
  • docs: reframe name: as the universal field-naming keyword (quirk G2) by @fredbi ...
  • docs: showcase the G1-fixed derived response description in inline-response-bodies by @fredbi ...
  • docs: correct name:/swagger:name scope (they are complementary, not equivalent) by @fredbi ...
  • docs: scaffold a draft "Resolving $ref name conflicts" Shaping section by @fredbi ...
  • docs: note model-level Extensions in the vendor-extensions how-to by @fredbi ...
  • docs: reconcile doc-site with the F-series quirk fixes by @fredbi ...
  • docs(spec): correct stale externalDocs comment in meta walker by @fredbi ...
  • docs: swagger:parameters docs example is invalid OAS2 (go-swagger#279...
Read more

v0.34.1

11 Jun 14:09
v0.34.1
d10ed59

Choose a tag to compare

0.34.1 - 2026-06-11

Full Changelog: v0.34.0...v0.34.1

40 commits in this release.


Implemented enhancements

  • feat(scanner): grammar seam by @fredbi ...
  • feat(builders/parameters,responses): annotation builders by @fredbi ...
  • feat(builders/schema): grammar-based schema builder by @fredbi ...
  • feat(builders/resolvers): schema-for-type + items-chain adapters by @fredbi ...
  • feat(builders/validations): type-aware coercion and shape checks by @fredbi ...
  • feat(builders/handlers): shared Walker callback factories by @fredbi ...
  • feat(builders/common): shared Builder state and cache by @fredbi ...
  • feat(parsers/yaml): YAML sub-parser by @fredbi ...
  • feat(grammar): Walker visitor + Diagnostic surface by @fredbi ...
  • feat(grammar): recursive-descent parser + typed Block family by @fredbi ...
  • feat(grammar): lexer — tokenize annotations and keywords by @fredbi ...

Fixed bugs

  • fix(schema): honour swagger:strfmt on alias declarations by @fredbi ...
  • fix(responses): annotation gates first-class alias identity at use sites by @fredbi ...
  • fix(schema): annotation gates first-class alias identity at use sites by @fredbi ...
  • fix(schema): aliased embeds follow the named-embed dispatch by @fredbi ...
  • fix(schema): honour stdlib recognizers across alias dispatch paths by @fredbi ...

Refactor

  • refactor(parameters,responses): replace deprecated FindModel with GetModel by @fredbi ...

Documentation

  • doc: updated contributors file by @bot-go-openapi[bot] in #30 ...
  • docs(schema): Q9 — pin swagger:name verbatim contract; document principled asymmetry by @fredbi ...
  • fix(grammar,parameters,responses,routebody): Q29 — case-insensitive in: comparison by @fredbi ...

Code quality

  • fix(parameters): annotation gates first-class alias identity at use sites by @fredbi ...
  • chore: fixed linting (fixtures excluded from auto-fix by formatter by @fredbi ...
  • chore: loose ends by @fredbi ...
  • feat(grammar): preprocessor — comment-group to positioned lines by @fredbi ...

Testing

  • test(integration): witness fixture for FindModel→GetModel migration by @fredbi ...
  • test(integration): golden-file test harness + quirk story by @fredbi ...

Miscellaneous tasks

  • ci: added bot pr monitor by @fredbi in #33 ...
  • test(integration): Q26 — regression-detector for TOS↔Schemes terminator by @fredbi ...

Security

  • docs(builders): consolidate alias-handling contract; scrub planning vocabulary by @fredbi ...
  • fix(grammar,yaml): Q28 — securityDefinitions indent + duplicate-key dedupe by @fredbi ...
  • docs: annotation + grammar reference by @fredbi ...
  • feat(builders/spec): meta + orchestrator by @fredbi ...
  • feat(builders/routes): route discovery + body parsing by @fredbi ...
  • feat(builders/operations): operation annotation builder by @fredbi ...
  • feat(parsers/routebody): swagger:route body sub-parser by @fredbi ...

Updates

  • chore(deps): bump the development-dependencies group across 1 directory with 7 updates by @dependabot[bot] in #29 ...
  • chore(deps): bump github.com/go-openapi/spec from 0.22.4 to 0.22.5 in the go-openapi-dependencies group by @dependabot[bot] in #28 ...

Other (technical)


People who contributed to this release


codescan license terms

License

v0.34.0

26 May 06:24
v0.34.0

Choose a tag to compare

0.34.0 - 2026-05-26

Full Changelog: v0.33.3...v0.34.0

33 commits in this release.


Fixed bugs

  • fix(schema): prevent structs marked as strfmt to resurface by @fredbi ...
  • fix(schema): fields constructed from interface methods should be jsonified (camel-cased) by @fredbi ...
  • fix(scanner): strip duplicate word from constructed comments when matching identifier. by @fredbi ...
  • fix(parsers): no longer leaks "in:" parameter & header location in descriptions by @fredbi ...
  • fix(schema): fixed allOf resolution when a text marshaler is a member by @fredbi ...
  • fix(schema): an aliased TextMarshaler should be captured properly by @fredbi ...
  • fix(scanner): support multiple values assigned to enums in the same statement. by @fredbi ...

Refactor

Documentation

Code quality

Testing

  • test: added tests (fixed bug: multipleOf) by @fredbi in #6 ...

Miscellaneous tasks

  • chore: fixed undue deprecated yaml dependency by @fredbi ...
  • fix(parsers): ignore annotations buried in prose. by @fredbi ...
  • chore: dead-code removal by @fredbi in #17 ...
  • fix: handle swagger:type array by falling through to underlying type resolution by @KT-Doan in #11 ...
  • chore: replaced env by options by @fredbi in #5 ...
  • chore: set go toolchain to go1.26.1 by @fredbi in #4 ...

Updates

  • chore(deps): bump github.com/go-openapi/testify/v2 from 2.5.0 to 2.5.1 in the go-openapi-dependencies group across 1 directory by @dependabot[bot] in #25 ...
  • chore(deps): bump the development-dependencies group with 7 updates by @dependabot[bot] in #26 ...
  • chore(deps): bump golang.org/x/tools from 0.44.0 to 0.45.0 in the golang-org-dependencies group by @dependabot[bot] in #24 ...
  • chore(deps): bump github.com/go-openapi/testify/v2 from 2.4.2 to 2.5.0 in the go-openapi-dependencies group by @dependabot[bot] in #23 ...
  • chore(deps): bump github.com/go-openapi/swag/mangling from 0.25.5 to 0.26.0 in the go-openapi-dependencies group by @dependabot[bot] in #21 ...
  • chore(deps): bump the development-dependencies group with 7 updates by @dependabot[bot] in #14 ...
  • chore(deps): bump golang.org/x/tools from 0.43.0 to 0.44.0 in the golang-org-dependencies group by @dependabot[bot] in #12 ...
  • chore(deps): bump github.com/go-openapi/testify/v2 from 2.4.1 to 2.4.2 in the go-openapi-dependencies group by @dependabot[bot] in #7 ...

Other (technical)


People who contributed to this release


New Contributors


codescan license terms

License