KUBB_DEPRECATED: Deprecated
Code: KUBB_DEPRECATED
Level: info
A referenced schema or operation is marked deprecated.
What happened
The OpenAPI adapter found deprecated: true on a schema while walking the named component schemas. Kubb still generates it. The notice is informational and never fails the build. The adapter reports it on every run.
How to fix it
Migrate off the deprecated definition if the notice is unwanted. Leave it in place if you still depend on it. The diagnostic changes nothing about the output.
Example
yaml
components:
schemas:
Pet:
type: object
deprecated: true
properties:
id:
type: stringExample output
text
[KUBB_DEPRECATED] @kubb/adapter-oas: This schema is marked as deprecated.
at: #/components/schemas/Pet
see: https://kubb.dev/docs/5.x/reference/diagnostics/kubb-deprecated