Field types & formats

These knobs act at the level of a single property: the format it carries, whether a pointer is advertised as nullable, and the vendor extensions that record its Go provenance.

  • Override a Go-derived format (e.g. the vendor uint64/uint32 formats) with an official, JSON-conformant one using a field-level swagger:strfmt.
  • Mark pointer-typed fields as nullable with x-nullable, via SetXNullableForPointers.
  • Control the x-go-* vendor extensions codescan emits, or suppress them with SkipExtensions.