Skip to content

Commit ec5522b

Browse files
[ci] release (#1351)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 33b2c4f commit ec5522b

File tree

9 files changed

+21
-26
lines changed

9 files changed

+21
-26
lines changed

.changeset/brown-trainers-wink.md

-5
This file was deleted.

.changeset/chilled-swans-hunt.md

-5
This file was deleted.

.changeset/nice-sheep-juggle.md

-5
This file was deleted.

packages/openapi-fetch/examples/nextjs/lib/api/v1.d.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export interface operations {
109109
* @description Returns a a list of breeds
110110
*/
111111
getBreeds: {
112-
parameters: {
112+
parameters?: {
113113
query?: {
114114
/** @description limit the amount of results returned */
115115
limit?: number;
@@ -135,7 +135,7 @@ export interface operations {
135135
* @description Returns a random fact
136136
*/
137137
getRandomFact: {
138-
parameters: {
138+
parameters?: {
139139
query?: {
140140
/** @description maximum length of returned fact */
141141
max_length?: number;
@@ -167,7 +167,7 @@ export interface operations {
167167
* @description Returns a a list of facts
168168
*/
169169
getFacts: {
170-
parameters: {
170+
parameters?: {
171171
query?: {
172172
/** @description maximum length of returned fact */
173173
max_length?: number;

packages/openapi-fetch/examples/react-query/src/lib/api/v1.d.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export interface operations {
109109
* @description Returns a a list of breeds
110110
*/
111111
getBreeds: {
112-
parameters: {
112+
parameters?: {
113113
query?: {
114114
/** @description limit the amount of results returned */
115115
limit?: number;
@@ -135,7 +135,7 @@ export interface operations {
135135
* @description Returns a random fact
136136
*/
137137
getRandomFact: {
138-
parameters: {
138+
parameters?: {
139139
query?: {
140140
/** @description maximum length of returned fact */
141141
max_length?: number;
@@ -167,7 +167,7 @@ export interface operations {
167167
* @description Returns a a list of facts
168168
*/
169169
getFacts: {
170-
parameters: {
170+
parameters?: {
171171
query?: {
172172
/** @description maximum length of returned fact */
173173
max_length?: number;

packages/openapi-fetch/examples/sveltekit/src/lib/api/v1.d.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export interface operations {
109109
* @description Returns a a list of breeds
110110
*/
111111
getBreeds: {
112-
parameters: {
112+
parameters?: {
113113
query?: {
114114
/** @description limit the amount of results returned */
115115
limit?: number;
@@ -135,7 +135,7 @@ export interface operations {
135135
* @description Returns a random fact
136136
*/
137137
getRandomFact: {
138-
parameters: {
138+
parameters?: {
139139
query?: {
140140
/** @description maximum length of returned fact */
141141
max_length?: number;
@@ -167,7 +167,7 @@ export interface operations {
167167
* @description Returns a a list of facts
168168
*/
169169
getFacts: {
170-
parameters: {
170+
parameters?: {
171171
query?: {
172172
/** @description maximum length of returned fact */
173173
max_length?: number;

packages/openapi-fetch/test/v1.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export interface paths {
1616
};
1717
"/blogposts": {
1818
get: {
19-
parameters: {
19+
parameters?: {
2020
query?: {
2121
tags?: string[];
2222
};

packages/openapi-typescript/CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# openapi-typescript
22

3+
## 6.6.2
4+
5+
### Patch Changes
6+
7+
- [#1348](https://github.com/drwpow/openapi-typescript/pull/1348) [`f6fdd2f`](https://github.com/drwpow/openapi-typescript/commit/f6fdd2f59d035fec22f7fee27136939faae4628b) Thanks [@drwpow](https://github.com/drwpow)! - Improve YAML vs JSON parsing
8+
9+
- [#1352](https://github.com/drwpow/openapi-typescript/pull/1352) [`33b2c4f`](https://github.com/drwpow/openapi-typescript/commit/33b2c4f6d9f8d2a1bd42b13b3c8c168ed86609d6) Thanks [@drwpow](https://github.com/drwpow)! - Fix all parameters optional
10+
11+
- [#1345](https://github.com/drwpow/openapi-typescript/pull/1345) [`6f078c1`](https://github.com/drwpow/openapi-typescript/commit/6f078c1eb008a278858e6764e92af6ceb39922b4) Thanks [@SchabaJo](https://github.com/SchabaJo)! - Mirror directory structure of input files if output is a directory to prevent overwriting the same file again and again.
12+
313
## 6.6.1
414

515
### Patch Changes

packages/openapi-typescript/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "openapi-typescript",
33
"description": "Convert OpenAPI 3.0 & 3.1 schemas to TypeScript",
4-
"version": "6.6.1",
4+
"version": "6.6.2",
55
"author": {
66
"name": "Drew Powers",
77
"email": "[email protected]"

0 commit comments

Comments
 (0)