Export OpenAPI bundled, dereferenced or split into files
An OpenAPI export now has a $ref handling option. Keep the usual single bundled file, write
every $ref out in full, or split the API into one file per path and component.
- bundle (the default): one file, shared objects under
components, each use a$ref. - dereference: one file with every
$refreplaced by a copy of what it points at. - split: a
.zipwithopenapi.jsonpluspaths/…jsonandcomponents/<section>/<name>.json, joined by relative$ref. Import the.zipand it bundles back into the same document. - Circular references are never expanded forever. Reference cycles keeps the
$refthat closes the loop and lists it in the fidelity report (keep-ref), or refuses the export (error). - Everywhere: the Options step in Export studio, Target options in the Export dialog,
apiome export openapi --refs split|dereference [--ref-cycles error], and"options": {"refs": …}in the REST API. - Measured: on the OpenAPI construct corpus, at every version, each choice round-trips and none adds a schema error.
