quirks/

directory
v0.36.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2026 License: Apache-2.0

Directories

Path Synopsis
Package aliasdeprecated is the F8 witness (doc-site-quirks.md): swagger:alias is deprecated.
Package aliasdeprecated is the F8 witness (doc-site-quirks.md): swagger:alias is deprecated.
Package aliasmodel is the F9 regression lock (doc-site-quirks.md): a model-annotated Go type alias once sent the scanner into an infinite loop when built (default / RefAliases modes); TransparentAliases dissolved it before the looping path.
Package aliasmodel is the F9 regression lock (doc-site-quirks.md): a model-annotated Go type alias once sent the scanner into an infinite loop when built (default / RefAliases modes); TransparentAliases dissolved it before the looping path.
Package bodyresponsedescription exercises quirk G1 (doc-site-quirks.md): a `body:` response line with NO trailing description text used to fill response.description with the bare Go type token ("Pet", "string"), leaking an implementation detail into the contract.
Package bodyresponsedescription exercises quirk G1 (doc-site-quirks.md): a `body:` response line with NO trailing description text used to fill response.description with the bare Go type token ("Pet", "string"), leaking an implementation detail into the contract.
Package gofmtmeta is the F7 quirk witness: a swagger:meta block in its gofmt-CANONICAL shape.
Package gofmtmeta is the F7 quirk witness: a swagger:meta block in its gofmt-CANONICAL shape.
Package gofmtoperation is the operations counterpart of quirk F7: a swagger:operation YAML body in its gofmt-CANONICAL shape.
Package gofmtoperation is the operations counterpart of quirk F7: a swagger:operation YAML body in its gofmt-CANONICAL shape.
Package modeloverridematrix witnesses the CURRENT behaviour (post-F3) of combining swagger:model with a per-type override — swagger:strfmt (F1), swagger:type (F2) and swagger:enum (F4) — plus the bare swagger:enum const-collection case.
Package modeloverridematrix witnesses the CURRENT behaviour (post-F3) of combining swagger:model with a per-type override — swagger:strfmt (F1), swagger:type (F2) and swagger:enum (F4) — plus the bare swagger:enum const-collection case.
Package modeloverridesimpleschema is the F1/F4 simple-schema guard.
Package modeloverridesimpleschema is the F1/F4 simple-schema guard.
Package namekeyworduniversal exercises doc-quirk G2: the `name:` keyword is the canonical field-naming keyword, honoured uniformly at every field site — model properties and interface methods, as well as the parameter and response fields where it already worked.
Package namekeyworduniversal exercises doc-quirk G2: the `name:` keyword is the canonical field-naming keyword, honoured uniformly at every field site — model properties and interface methods, as well as the parameter and response fields where it already worked.
Package nameonfield is the F5 witness: swagger:name on a struct field must override the emitted property name, matching its documented "field OR method" scope and the behaviour already honoured on interface methods.
Package nameonfield is the F5 witness: swagger:name on a struct field must override the emitted property name, matching its documented "field OR method" scope and the behaviour already honoured on interface methods.
Package refexamplecoercion exercises doc-quirk G3: a JSON-literal example: / default: on a field whose type is a $ref must be coerced into a structured value on the allOf override arm, exactly as it is on a plain (non-ref) field.
Package refexamplecoercion exercises doc-quirk G3: a JSON-literal example: / default: on a field whose type is a $ref must be coerced into a structured value on the allOf override arm, exactly as it is on a plain (non-ref) field.
Package swaggertypematrix is the F3 witness: it captures the CURRENT rendering of swagger:type across its argument vocabulary, in combination with swagger:strfmt, and at both the field site and the named-type site — BEFORE any rationalisation.
Package swaggertypematrix is the F3 witness: it captures the CURRENT rendering of swagger:type across its argument vocabulary, in combination with swagger:strfmt, and at both the field site and the named-type site — BEFORE any rationalisation.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL