-
-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1010 from hey-api/fix/tanstack-query-key-client
fix: set query key base url from supplied client if provided
- Loading branch information
Showing
31 changed files
with
77 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
'@example/openapi-ts-tanstack-svelte-query': patch | ||
'@example/openapi-ts-tanstack-react-query': patch | ||
'@example/openapi-ts-tanstack-vue-query': patch | ||
'@hey-api/openapi-ts': patch | ||
--- | ||
|
||
fix: set query key base url from supplied client if provided |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// This file is auto-generated by @hey-api/openapi-ts | ||
|
||
export const $Order = { | ||
export const OrderSchema = { | ||
properties: { | ||
complete: { | ||
type: 'boolean', | ||
|
@@ -38,7 +38,7 @@ export const $Order = { | |
}, | ||
} as const; | ||
|
||
export const $Customer = { | ||
export const CustomerSchema = { | ||
properties: { | ||
address: { | ||
items: { | ||
|
@@ -66,7 +66,7 @@ export const $Customer = { | |
}, | ||
} as const; | ||
|
||
export const $Address = { | ||
export const AddressSchema = { | ||
properties: { | ||
city: { | ||
example: 'Palo Alto', | ||
|
@@ -91,7 +91,7 @@ export const $Address = { | |
}, | ||
} as const; | ||
|
||
export const $Category = { | ||
export const CategorySchema = { | ||
properties: { | ||
id: { | ||
example: 1, | ||
|
@@ -110,7 +110,7 @@ export const $Category = { | |
}, | ||
} as const; | ||
|
||
export const $User = { | ||
export const UserSchema = { | ||
properties: { | ||
email: { | ||
example: '[email protected]', | ||
|
@@ -155,7 +155,7 @@ export const $User = { | |
}, | ||
} as const; | ||
|
||
export const $Tag = { | ||
export const TagSchema = { | ||
properties: { | ||
id: { | ||
format: 'int64', | ||
|
@@ -172,7 +172,7 @@ export const $Tag = { | |
}, | ||
} as const; | ||
|
||
export const $Pet = { | ||
export const PetSchema = { | ||
properties: { | ||
category: { | ||
$ref: '#/components/schemas/Category', | ||
|
@@ -224,7 +224,7 @@ export const $Pet = { | |
}, | ||
} as const; | ||
|
||
export const $ApiResponse = { | ||
export const ApiResponseSchema = { | ||
properties: { | ||
code: { | ||
format: 'int32', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// This file is auto-generated by @hey-api/openapi-ts | ||
|
||
export const $Order = { | ||
export const OrderSchema = { | ||
properties: { | ||
complete: { | ||
type: 'boolean', | ||
|
@@ -38,7 +38,7 @@ export const $Order = { | |
}, | ||
} as const; | ||
|
||
export const $Customer = { | ||
export const CustomerSchema = { | ||
properties: { | ||
address: { | ||
items: { | ||
|
@@ -66,7 +66,7 @@ export const $Customer = { | |
}, | ||
} as const; | ||
|
||
export const $Address = { | ||
export const AddressSchema = { | ||
properties: { | ||
city: { | ||
example: 'Palo Alto', | ||
|
@@ -91,7 +91,7 @@ export const $Address = { | |
}, | ||
} as const; | ||
|
||
export const $Category = { | ||
export const CategorySchema = { | ||
properties: { | ||
id: { | ||
example: 1, | ||
|
@@ -110,7 +110,7 @@ export const $Category = { | |
}, | ||
} as const; | ||
|
||
export const $User = { | ||
export const UserSchema = { | ||
properties: { | ||
email: { | ||
example: '[email protected]', | ||
|
@@ -155,7 +155,7 @@ export const $User = { | |
}, | ||
} as const; | ||
|
||
export const $Tag = { | ||
export const TagSchema = { | ||
properties: { | ||
id: { | ||
format: 'int64', | ||
|
@@ -172,7 +172,7 @@ export const $Tag = { | |
}, | ||
} as const; | ||
|
||
export const $Pet = { | ||
export const PetSchema = { | ||
properties: { | ||
category: { | ||
$ref: '#/components/schemas/Category', | ||
|
@@ -224,7 +224,7 @@ export const $Pet = { | |
}, | ||
} as const; | ||
|
||
export const $ApiResponse = { | ||
export const ApiResponseSchema = { | ||
properties: { | ||
code: { | ||
format: 'int32', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// This file is auto-generated by @hey-api/openapi-ts | ||
|
||
export const $Order = { | ||
export const OrderSchema = { | ||
properties: { | ||
complete: { | ||
type: 'boolean', | ||
|
@@ -38,7 +38,7 @@ export const $Order = { | |
}, | ||
} as const; | ||
|
||
export const $Customer = { | ||
export const CustomerSchema = { | ||
properties: { | ||
address: { | ||
items: { | ||
|
@@ -66,7 +66,7 @@ export const $Customer = { | |
}, | ||
} as const; | ||
|
||
export const $Address = { | ||
export const AddressSchema = { | ||
properties: { | ||
city: { | ||
example: 'Palo Alto', | ||
|
@@ -91,7 +91,7 @@ export const $Address = { | |
}, | ||
} as const; | ||
|
||
export const $Category = { | ||
export const CategorySchema = { | ||
properties: { | ||
id: { | ||
example: 1, | ||
|
@@ -110,7 +110,7 @@ export const $Category = { | |
}, | ||
} as const; | ||
|
||
export const $User = { | ||
export const UserSchema = { | ||
properties: { | ||
email: { | ||
example: '[email protected]', | ||
|
@@ -155,7 +155,7 @@ export const $User = { | |
}, | ||
} as const; | ||
|
||
export const $Tag = { | ||
export const TagSchema = { | ||
properties: { | ||
id: { | ||
format: 'int64', | ||
|
@@ -172,7 +172,7 @@ export const $Tag = { | |
}, | ||
} as const; | ||
|
||
export const $Pet = { | ||
export const PetSchema = { | ||
properties: { | ||
category: { | ||
$ref: '#/components/schemas/Category', | ||
|
@@ -224,7 +224,7 @@ export const $Pet = { | |
}, | ||
} as const; | ||
|
||
export const $ApiResponse = { | ||
export const ApiResponseSchema = { | ||
properties: { | ||
code: { | ||
format: 'int32', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// This file is auto-generated by @hey-api/openapi-ts | ||
|
||
export const $Order = { | ||
export const OrderSchema = { | ||
properties: { | ||
complete: { | ||
type: 'boolean', | ||
|
@@ -38,7 +38,7 @@ export const $Order = { | |
}, | ||
} as const; | ||
|
||
export const $Customer = { | ||
export const CustomerSchema = { | ||
properties: { | ||
address: { | ||
items: { | ||
|
@@ -66,7 +66,7 @@ export const $Customer = { | |
}, | ||
} as const; | ||
|
||
export const $Address = { | ||
export const AddressSchema = { | ||
properties: { | ||
city: { | ||
example: 'Palo Alto', | ||
|
@@ -91,7 +91,7 @@ export const $Address = { | |
}, | ||
} as const; | ||
|
||
export const $Category = { | ||
export const CategorySchema = { | ||
properties: { | ||
id: { | ||
example: 1, | ||
|
@@ -110,7 +110,7 @@ export const $Category = { | |
}, | ||
} as const; | ||
|
||
export const $User = { | ||
export const UserSchema = { | ||
properties: { | ||
email: { | ||
example: '[email protected]', | ||
|
@@ -155,7 +155,7 @@ export const $User = { | |
}, | ||
} as const; | ||
|
||
export const $Tag = { | ||
export const TagSchema = { | ||
properties: { | ||
id: { | ||
format: 'int64', | ||
|
@@ -172,7 +172,7 @@ export const $Tag = { | |
}, | ||
} as const; | ||
|
||
export const $Pet = { | ||
export const PetSchema = { | ||
properties: { | ||
category: { | ||
$ref: '#/components/schemas/Category', | ||
|
@@ -224,7 +224,7 @@ export const $Pet = { | |
}, | ||
} as const; | ||
|
||
export const $ApiResponse = { | ||
export const ApiResponseSchema = { | ||
properties: { | ||
code: { | ||
format: 'int32', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.