I am currently working on my API documentation with AsyncApi. I couldn't find an example of marking a channel as deprecated, does anyone know how to do that? I tried it as follow, but there is no visible sign that the channel is deprecated when accessing the api.
channels:
queuing.XXX:
description: >
....
publish:
message:
oneOf:
- name: XXX
description: >
...
deprecated: true
payload:
$ref: '#/components/schemas/XXX'
...