Skip to content

Commit

Permalink
test: update snapshot + change minor to patch
Browse files Browse the repository at this point in the history
  • Loading branch information
astahmer committed Nov 8, 2024
1 parent 739e5b5 commit 344fce0
Show file tree
Hide file tree
Showing 22 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .changeset/tall-bees-impress.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"typed-openapi": minor
"typed-openapi": patch
---

Add options to `Method` type in `generateApiClient` function as fix for
Expand Down
2 changes: 1 addition & 1 deletion packages/typed-openapi/tests/generator.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ describe("generator", () => {
};
export type MutationMethod = "post" | "put" | "patch" | "delete";
export type Method = "get" | "head" | MutationMethod;
export type Method = "get" | "head" | "options" | MutationMethod;
type RequestFormat = "json" | "form-data" | "form-url" | "binary" | "text";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2199,7 +2199,7 @@ export type EndpointParameters = {
};

export type MutationMethod = "post" | "put" | "patch" | "delete";
export type Method = "get" | "head" | MutationMethod;
export type Method = "get" | "head" | "options" | MutationMethod;

type RequestFormat = "json" | "form-data" | "form-url" | "binary" | "text";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3614,7 +3614,7 @@ export type EndpointParameters = {
};

export type MutationMethod = "post" | "put" | "patch" | "delete";
export type Method = "get" | "head" | MutationMethod;
export type Method = "get" | "head" | "options" | MutationMethod;

type RequestFormat = "json" | "form-data" | "form-url" | "binary" | "text";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3865,7 +3865,7 @@ export type EndpointParameters = {
};

export type MutationMethod = "post" | "put" | "patch" | "delete";
export type Method = "get" | "head" | MutationMethod;
export type Method = "get" | "head" | "options" | MutationMethod;

type RequestFormat = "json" | "form-data" | "form-url" | "binary" | "text";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3532,7 +3532,7 @@ export type EndpointParameters = {
};

export type MutationMethod = "post" | "put" | "patch" | "delete";
export type Method = "get" | "head" | MutationMethod;
export type Method = "get" | "head" | "options" | MutationMethod;

type RequestFormat = "json" | "form-data" | "form-url" | "binary" | "text";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4039,7 +4039,7 @@ export type EndpointParameters = {
};

export type MutationMethod = "post" | "put" | "patch" | "delete";
export type Method = "get" | "head" | MutationMethod;
export type Method = "get" | "head" | "options" | MutationMethod;

type RequestFormat = "json" | "form-data" | "form-url" | "binary" | "text";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3518,7 +3518,7 @@ export type EndpointParameters = {
};

export type MutationMethod = "post" | "put" | "patch" | "delete";
export type Method = "get" | "head" | MutationMethod;
export type Method = "get" | "head" | "options" | MutationMethod;

type RequestFormat = "json" | "form-data" | "form-url" | "binary" | "text";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export type EndpointParameters = {
};

export type MutationMethod = "post" | "put" | "patch" | "delete";
export type Method = "get" | "head" | MutationMethod;
export type Method = "get" | "head" | "options" | MutationMethod;

type RequestFormat = "json" | "form-data" | "form-url" | "binary" | "text";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export type EndpointParameters = {
};

export type MutationMethod = "post" | "put" | "patch" | "delete";
export type Method = "get" | "head" | MutationMethod;
export type Method = "get" | "head" | "options" | MutationMethod;

type RequestFormat = "json" | "form-data" | "form-url" | "binary" | "text";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export type EndpointParameters = {
};

export type MutationMethod = "post" | "put" | "patch" | "delete";
export type Method = "get" | "head" | MutationMethod;
export type Method = "get" | "head" | "options" | MutationMethod;

type RequestFormat = "json" | "form-data" | "form-url" | "binary" | "text";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export type EndpointParameters = {
};

export type MutationMethod = "post" | "put" | "patch" | "delete";
export type Method = "get" | "head" | MutationMethod;
export type Method = "get" | "head" | "options" | MutationMethod;

type RequestFormat = "json" | "form-data" | "form-url" | "binary" | "text";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export type EndpointParameters = {
};

export type MutationMethod = "post" | "put" | "patch" | "delete";
export type Method = "get" | "head" | MutationMethod;
export type Method = "get" | "head" | "options" | MutationMethod;

type RequestFormat = "json" | "form-data" | "form-url" | "binary" | "text";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export type EndpointParameters = {
};

export type MutationMethod = "post" | "put" | "patch" | "delete";
export type Method = "get" | "head" | MutationMethod;
export type Method = "get" | "head" | "options" | MutationMethod;

type RequestFormat = "json" | "form-data" | "form-url" | "binary" | "text";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export type EndpointParameters = {
};

export type MutationMethod = "post" | "put" | "patch" | "delete";
export type Method = "get" | "head" | MutationMethod;
export type Method = "get" | "head" | "options" | MutationMethod;

type RequestFormat = "json" | "form-data" | "form-url" | "binary" | "text";

Expand Down
2 changes: 1 addition & 1 deletion packages/typed-openapi/tests/snapshots/petstore.arktype.ts
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ export type EndpointParameters = {
};

export type MutationMethod = "post" | "put" | "patch" | "delete";
export type Method = "get" | "head" | MutationMethod;
export type Method = "get" | "head" | "options" | MutationMethod;

type RequestFormat = "json" | "form-data" | "form-url" | "binary" | "text";

Expand Down
2 changes: 1 addition & 1 deletion packages/typed-openapi/tests/snapshots/petstore.client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ export type EndpointParameters = {
};

export type MutationMethod = "post" | "put" | "patch" | "delete";
export type Method = "get" | "head" | MutationMethod;
export type Method = "get" | "head" | "options" | MutationMethod;

type RequestFormat = "json" | "form-data" | "form-url" | "binary" | "text";

Expand Down
2 changes: 1 addition & 1 deletion packages/typed-openapi/tests/snapshots/petstore.io-ts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ export type EndpointParameters = {
};

export type MutationMethod = "post" | "put" | "patch" | "delete";
export type Method = "get" | "head" | MutationMethod;
export type Method = "get" | "head" | "options" | MutationMethod;

type RequestFormat = "json" | "form-data" | "form-url" | "binary" | "text";

Expand Down
2 changes: 1 addition & 1 deletion packages/typed-openapi/tests/snapshots/petstore.typebox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ export type EndpointParameters = {
};

export type MutationMethod = "post" | "put" | "patch" | "delete";
export type Method = "get" | "head" | MutationMethod;
export type Method = "get" | "head" | "options" | MutationMethod;

type RequestFormat = "json" | "form-data" | "form-url" | "binary" | "text";

Expand Down
2 changes: 1 addition & 1 deletion packages/typed-openapi/tests/snapshots/petstore.valibot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ export type EndpointParameters = {
};

export type MutationMethod = "post" | "put" | "patch" | "delete";
export type Method = "get" | "head" | MutationMethod;
export type Method = "get" | "head" | "options" | MutationMethod;

type RequestFormat = "json" | "form-data" | "form-url" | "binary" | "text";

Expand Down
2 changes: 1 addition & 1 deletion packages/typed-openapi/tests/snapshots/petstore.yup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ export type EndpointParameters = {
};

export type MutationMethod = "post" | "put" | "patch" | "delete";
export type Method = "get" | "head" | MutationMethod;
export type Method = "get" | "head" | "options" | MutationMethod;

type RequestFormat = "json" | "form-data" | "form-url" | "binary" | "text";

Expand Down
2 changes: 1 addition & 1 deletion packages/typed-openapi/tests/snapshots/petstore.zod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ export type EndpointParameters = {
};

export type MutationMethod = "post" | "put" | "patch" | "delete";
export type Method = "get" | "head" | MutationMethod;
export type Method = "get" | "head" | "options" | MutationMethod;

type RequestFormat = "json" | "form-data" | "form-url" | "binary" | "text";

Expand Down

0 comments on commit 344fce0

Please sign in to comment.