Skip to content

Commit 4a1338c

Browse files
authored
Merge branch 'openapi-ts:main' into main
2 parents 43735dd + 0cc7ee7 commit 4a1338c

418 files changed

Lines changed: 57759 additions & 30667 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"openapi-fetch": patch
3+
---
4+
5+
fix(openapi-fetch): handle empty error responses when Content-Length header is stripped

.changeset/healthy-rabbits-flow.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/honest-comics-worry.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"openapi-react-query": patch
3+
---
4+
5+
Tag generated querykeys with `DataTag`, allowing us to infer the return type (data/error) associated with a given queryKey, making methods like `queryClient.setQueryData()` type-safe.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"openapi-typescript": patch
3+
---
4+
5+
Support `additionalProperties: true` on string enums by generating a loose autocomplete union (`(enum literals) | (string & {})`), preserving editor suggestions while still accepting arbitrary string values.

.changeset/yellow-meteors-rush.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"openapi-typescript": minor
3+
---
4+
5+
Add ability to set flags in redocly.yaml

.github/ISSUE_TEMPLATE/bug-openapi-typescript.md renamed to .github/ISSUE_TEMPLATE/01_openapi-typescript-bug.yml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,26 @@
1-
---
2-
name: "Bug report: openapi-typescript"
3-
about: For the openapi-typescript library
4-
title: ""
5-
labels: openapi-ts, bug
6-
assignees: ""
1+
name: "openapi-typescript: Bug report"
2+
description: Report a bug or unexpected behavior
3+
labels:
4+
- openapi-ts
5+
- bug
6+
- triage
77
body:
88
- type: input
9+
id: version
910
attributes:
1011
label: openapi-typescript version
1112
placeholder: x.x.x
1213
validations:
1314
required: true
1415
- type: input
16+
id: node
1517
attributes:
1618
label: Node.js version
1719
placeholder: 20.x.x
1820
validations:
1921
required: true
2022
- type: input
23+
id: os
2124
attributes:
2225
label: OS + version
2326
placeholder: macOS 15.1.1
@@ -44,10 +47,15 @@ body:
4447
validations:
4548
required: true
4649
- type: checkboxes
47-
id: checklist
50+
id: required
4851
attributes:
52+
label: Required
4953
options:
5054
- label: My OpenAPI schema is valid and passes the [Redocly validator](https://redocly.com/docs/cli/commands/lint/) (`npx @redocly/cli@latest lint`)
5155
required: true
56+
- type: checkboxes
57+
id: extra
58+
attributes:
59+
label: Extra
60+
options:
5261
- label: I’m willing to open a PR (see [CONTRIBUTING.md](https://github.com/openapi-ts/openapi-typescript/blob/main/packages/openapi-typescript/CONTRIBUTING.md))
53-
---

.github/ISSUE_TEMPLATE/feature-openapi-typescript.md renamed to .github/ISSUE_TEMPLATE/01_openapi-typescript-feat.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
---
2-
name: "Feature request: openapi-typescript"
3-
about: For the openapi-typescript library
4-
title: ""
5-
labels: openapi-ts, enhancement, help wanted
6-
assignees: ""
1+
name: "openapi-typescript: Feature request"
2+
description: Propose new functionality or a breaking change
3+
labels:
4+
- openapi-ts
5+
- enhancement
6+
projects:
7+
- openapi-ts/2
78
body:
89
- type: textarea
910
id: description
@@ -20,8 +21,8 @@ body:
2021
validations:
2122
required: true
2223
- type: checkboxes
23-
id: checklist
24+
id: extra
2425
attributes:
26+
label: Extra
2527
options:
2628
- label: I’m willing to open a PR (see [CONTRIBUTING.md](https://github.com/openapi-ts/openapi-typescript/blob/main/packages/openapi-typescript/CONTRIBUTING.md))
27-
---

.github/ISSUE_TEMPLATE/bug-openapi-fetch.md renamed to .github/ISSUE_TEMPLATE/02_openapi-fetch-bug.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
---
2-
name: "Bug report: openapi-fetch"
3-
about: For the openapi-fetch library
4-
title: ""
5-
labels: openapi-fetch, bug
6-
assignees: ""
1+
name: "openapi-fetch: Bug report"
2+
description: Report a bug or unexpected behavior
3+
labels:
4+
- openapi-fetch
5+
- bug
6+
- triage
77
body:
88
- type: input
9+
id: version
910
attributes:
10-
label: Version
11+
label: openapi-fetch version
1112
placeholder: x.x.x
1213
validations:
1314
required: true
@@ -32,8 +33,8 @@ body:
3233
validations:
3334
required: true
3435
- type: checkboxes
35-
id: checklist
36+
id: extra
3637
attributes:
38+
label: Extra
3739
options:
3840
- label: I’m willing to open a PR (see [CONTRIBUTING.md](https://github.com/openapi-ts/openapi-typescript/blob/main/packages/openapi-fetch/CONTRIBUTING.md))
39-
---

.github/ISSUE_TEMPLATE/feature-openapi-fetch.md renamed to .github/ISSUE_TEMPLATE/02_openapi-fetch-feat.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
---
2-
name: "Feature request: openapi-fetch"
3-
about: For the openapi-fetch library
4-
title: ""
5-
labels: openapi-fetch, enhancement, help wanted
6-
assignees: ""
1+
name: "openapi-fetch: Feature request"
2+
description: Propose new functionality or a breaking change
3+
labels:
4+
- openapi-fetch
5+
- enhancement
6+
projects:
7+
- openapi-ts/3
78
body:
89
- type: textarea
910
id: description
@@ -20,8 +21,8 @@ body:
2021
validations:
2122
required: true
2223
- type: checkboxes
23-
id: checklist
24+
id: extra
2425
attributes:
26+
label: Extra
2527
options:
2628
- label: I’m willing to open a PR (see [CONTRIBUTING.md](https://github.com/openapi-ts/openapi-typescript/blob/main/packages/openapi-fetch/CONTRIBUTING.md))
27-
---

.github/ISSUE_TEMPLATE/bug-openapi-react-query.md renamed to .github/ISSUE_TEMPLATE/03_openapi-react-query-bug.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
---
2-
name: "Bug report: openapi-react-query"
3-
about: For the openapi-react-query library
4-
title: ""
5-
labels: openapi-react-query, bug
6-
assignees: ""
1+
name: "openapi-react-query: Bug report"
2+
description: Report a bug or unexpected behavior
3+
labels:
4+
- openapi-react-query
5+
- bug
6+
- triage
77
body:
88
- type: input
9+
id: version
910
attributes:
10-
label: Version
11+
label: openapi-react-query version
1112
placeholder: x.x.x
1213
validations:
1314
required: true
@@ -26,14 +27,15 @@ body:
2627
validations:
2728
required: true
2829
- type: textarea
30+
id: expected
2931
attributes:
3032
label: Expected result
3133
description: (In case it’s not obvious)
3234
validations:
3335
required: true
3436
- type: checkboxes
35-
id: checklist
37+
id: extra
3638
attributes:
39+
label: Extra
3740
options:
3841
- label: I’m willing to open a PR (see [CONTRIBUTING.md](https://github.com/openapi-ts/openapi-typescript/blob/main/packages/openapi-react-query/CONTRIBUTING.md))
39-
---

0 commit comments

Comments
 (0)