KUBB_DEPRECATED: Deprecated
The KUBB_DEPRECATED diagnostic flags a schema or operation marked deprecated in your OpenAPI document.
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
petStore.yaml
components: schemas: Pet: type: object deprecated: true properties: id: type: stringExample output
Terminal
[KUBB_DEPRECATED]: This schema is marked as deprecated. at: #/components/schemas/Pet see: https://kubb.dev/docs/5.x/reference/diagnostics/kubb-deprecated