kubb-labs / kubb

The ultimate toolkit for working with APIs.
https://kubb.dev
MIT License
728 stars 67 forks source link

PluginTS - deprecated field #1386

Closed Ericlm closed 2 days ago

Ericlm commented 2 days ago

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 the Order schema is deprecated in the petStore.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

linear[bot] commented 2 days ago

KUBB-63 PluginTS - deprecated field

stijnvanhulle commented 2 days ago

@Ericlm This has been fixed with Kubb v3.0.3

Ericlm commented 2 days ago

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 ! 😊