Closed Ericlm closed 2 days ago
kubb
3.0.2
macOS
@tanstack-query
MSW
React
Vue
"dependencies": { "@kubb/cli": "^3.0.2", "@kubb/core": "^3.0.2", "@kubb/plugin-oas": "^3.0.2", "@kubb/plugin-ts": "^3.0.2" }
https://codesandbox.io/p/sandbox/quirky-mountain-zdlsdz
In the provided example, the field id in the Order schema is deprecated in the petStore.yaml file, but is not reported as @deprecated in the generated types.
id
Order
petStore.yaml
@deprecated
Every time
No response
KUBB-63 PluginTS - deprecated field
@Ericlm This has been fixed with Kubb v3.0.3
3.0.3
Thank you very much ! I recently tried kubb for a Vue project, and it could replace a lot of boilerplate work, so thank you for kubb ! 😊
What version of
kubb
is running?3.0.2
What platform is your computer?
macOS
What version of external packages are you using(
@tanstack-query
,MSW
,React
,Vue
, ...)"dependencies": { "@kubb/cli": "^3.0.2", "@kubb/core": "^3.0.2", "@kubb/plugin-oas": "^3.0.2", "@kubb/plugin-ts": "^3.0.2" }
What steps can reproduce the bug?
https://codesandbox.io/p/sandbox/quirky-mountain-zdlsdz
In the provided example, the field
id
in theOrder
schema is deprecated in thepetStore.yaml
file, but is not reported as@deprecated
in the generated types.How often does this bug happen?
Every time
What is the expected behavior?
No response
Swagger/OpenAPI file?
No response
Additional information
No response