diff --git a/.changeset/xml-root-and-allof.md b/.changeset/xml-root-and-allof.md deleted file mode 100644 index 49487bc..0000000 --- a/.changeset/xml-root-and-allof.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"openapi-sampler": patch ---- - -Fixed XML samples (`format: 'xml'`) that were not well-formed, threw, or dropped data. The root schema's `xml.name` now names the document element, `example` and `default` arrays name their items like sampled arrays, and an `allOf` or `oneOf` property renders as one element. diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a1ba3d..667d3b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # openapi-sampler +## 1.7.10 + +### Patch Changes + +- dc4e5c0: Fixed XML samples (`format: 'xml'`) that were not well-formed, threw, or dropped data. The root schema's `xml.name` now names the document element, `example` and `default` arrays name their items like sampled arrays, and an `allOf` or `oneOf` property renders as one element. + ## 1.7.9 ### Patch Changes diff --git a/package.json b/package.json index 192b1b9..36bddc9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "openapi-sampler", - "version": "1.7.9", + "version": "1.7.10", "description": "Tool for generation samples based on OpenAPI payload/response schema", "main": "dist/openapi-sampler.js", "module": "src/openapi-sampler.js",