Skip to main content

Module bundle

Module bundle 

Source
Expand description

Bundling specs/src into whole documents: every file $ref followed, each file the root document lists under components named by its component and the rest inlined, as the published bundles are, and the component schemas as JSON Schema draft 7.

Structs§

Bundle
One OpenAPI document with every file $ref resolved.

Functions§

draft7_definitions
The document’s component schemas as JSON Schema draft 7, under definitions: nullable beside a type adds null to it; beside anything else it becomes anyOf: [{type: null}, <the rest>].
read_json
write_json