diff --git a/.changeset/famous-keys-eat.md b/.changeset/famous-keys-eat.md new file mode 100644 index 000000000..179c701cd --- /dev/null +++ b/.changeset/famous-keys-eat.md @@ -0,0 +1,5 @@ +--- +"@kubb/plugin-client": patch +--- + +baseURL could be undefined, do not throw error if that is the case diff --git a/.changeset/large-boxes-itch.md b/.changeset/large-boxes-itch.md new file mode 100644 index 000000000..aef1eaee1 --- /dev/null +++ b/.changeset/large-boxes-itch.md @@ -0,0 +1,5 @@ +--- +"@kubb/plugin-ts": patch +--- + +minLength, maxLength, pattern as part of the jsdocs diff --git a/docs/changelog.md b/docs/changelog.md index 10888f10c..c581bbb2c 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -4,6 +4,10 @@ title: Changelog # Changelog +## 3.3.4 +- [`plugin-ts`](/plugins/plugin-ts): minLength, maxLength, pattern as part of the jsdocs +- [`plugin-client`](/plugins/plugin-client): baseURL could be undefined, do not throw error if that is the case + ## 3.3.3 - [`react`](/helpers/react/): Use of `@kubb/react` as importSource for jsx(React 17, React 18, React 19 could be used next to Kubb) - [`cli`](/helpers/cli/): Use of `@kubb/react` as importSource for jsx(React 17, React 18, React 19 could be used next to Kubb) diff --git a/e2e/package.json b/e2e/package.json index 656e13e99..cae49ad07 100644 --- a/e2e/package.json +++ b/e2e/package.json @@ -37,7 +37,7 @@ "@tanstack/svelte-query": "^5.62.7", "@tanstack/vue-query": "^5.62.7", "axios": "^1.7.9", - "msw": "^2.6.8", + "msw": "^2.6.9", "react": "catalog:", "solid-js": "^1.9.3", "svelte": "^3.59.2", diff --git a/examples/advanced/package.json b/examples/advanced/package.json index 2f78697c7..fe2e49281 100644 --- a/examples/advanced/package.json +++ b/examples/advanced/package.json @@ -43,9 +43,9 @@ "@tanstack/solid-query": "^5.62.7", "@tanstack/svelte-query": "^5.62.7", "@tanstack/vue-query": "^5.62.7", - "axios": "^1.7.9", - "msw": "^2.6.8", "@types/react": "^19.0.1", + "axios": "^1.7.9", + "msw": "^2.6.9", "react": "^19.0.0", "solid-js": "^1.9.3", "svelte": "^3.59.2", diff --git a/examples/advanced/petStore.yaml b/examples/advanced/petStore.yaml index 6b95cd7e9..7c19403d3 100644 --- a/examples/advanced/petStore.yaml +++ b/examples/advanced/petStore.yaml @@ -844,11 +844,16 @@ components: xml: name: user tag.Tag: + deprecated: true type: object properties: id: type: integer format: int64 + minLength: 5 + maxLength: 7 + default: 1 + deprecated: true name: type: string xml: diff --git a/examples/advanced/src/gen/docs.html b/examples/advanced/src/gen/docs.html index a47c74181..0942c04f9 100644 --- a/examples/advanced/src/gen/docs.html +++ b/examples/advanced/src/gen/docs.html @@ -471,7 +471,7 @@ " class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv">
Pet not found
{- "name": "doggie",
- "category": {
- "id": 1,
- "name": "Dogs"
}, - "photoUrls": [
- "string"
], - "tags": [
- {
- "id": 0,
- "name": "string"
}
], - "status": "available"
}
{- "id": 10,
- "category": {
- "id": 1,
- "name": "Dogs"
}, - "photoUrls": [
- "string"
], - "tags": [
- {
- "id": 0,
- "name": "string"
}
], - "status": "available"
}
{- "name": "doggie",
- "category": {
- "id": 1,
- "name": "Dogs"
}, - "photoUrls": [
- "string"
], - "tags": [
- {
- "id": 1,
- "name": "string"
}
], - "status": "available"
}
{- "id": 10,
- "category": {
- "id": 1,
- "name": "Dogs"
}, - "photoUrls": [
- "string"
], - "tags": [
- {
- "id": 1,
- "name": "string"
}
], - "status": "available"
}
{- "id": 10,
- "name": "doggie",
- "category": {
- "id": 1,
- "name": "Dogs"
}, - "photoUrls": [
- "string"
], - "tags": [
- {
- "id": 0,
- "name": "string"
}
], - "status": "available"
}
{- "id": 10,
- "category": {
- "id": 1,
- "name": "Dogs"
}, - "photoUrls": [
- "string"
], - "tags": [
- {
- "id": 0,
- "name": "string"
}
], - "status": "available"
}
{- "id": 10,
- "name": "doggie",
- "category": {
- "id": 1,
- "name": "Dogs"
}, - "photoUrls": [
- "string"
], - "tags": [
- {
- "id": 1,
- "name": "string"
}
], - "status": "available"
}
{- "id": 10,
- "category": {
- "id": 1,
- "name": "Dogs"
}, - "photoUrls": [
- "string"
], - "tags": [
- {
- "id": 1,
- "name": "string"
}
], - "status": "available"
}
Multiple status values can be provided with comma separated strings
step_id required | string |
[- {
- "id": 10,
- "category": {
- "id": 1,
- "name": "Dogs"
}, - "photoUrls": [
- "string"
], - "tags": [
- {
- "id": 0,
- "name": "string"
}
], - "status": "available"
}
]
[- {
- "id": 10,
- "category": {
- "id": 1,
- "name": "Dogs"
}, - "photoUrls": [
- "string"
], - "tags": [
- {
- "id": 1,
- "name": "string"
}
], - "status": "available"
}
]
Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.