Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Load ¶
Load reads an OpenAPI specification from path (JSON or YAML) and returns it as a generic map suitable for marshalling back to JSON.
func SanitizeEnums ¶
func SanitizeEnums(spec any)
SanitizeEnums walks the spec recursively and replaces every "enum" array with ["<enum>"], reducing noise in Postman diffs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.