Documentation
¶
Overview ¶
Package openapi is a frontend that turns an OpenAPI 3 spec into Synth schemas, so you can generate valid request payloads for an endpoint without hand-writing a struct. It maps JSON Schema (type/format/enum/min/max) onto schema.Kind, then the normal engine produces records.
Scope: top-level object properties of a request body's application/json schema (including a local $ref into components/schemas). Nested objects and arrays are generated shallowly (as inferred scalars) in this version.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.