Looking at the Redoc demo and they have used a "Webhook" label beside their title but I couldn't figure out how to implement it specifically for other labels. How would I be able to implement this to show a "Beta" label?
Asked
Active
Viewed 339 times
1
-
Does this help https://redocly.com/docs/settings/labels/ – Deepak Patankar Apr 25 '22 at 15:24
2 Answers
0
Don't think Redoc provides the capability to put customized label beside operation title (summary).
The webhook marker shown in your screenshot represents the "New pet" is not a normal API operation but a webhook. Please read here for how does Redoc support webhooks.
If you want to know more about webhooks, you could read this post.
Webhooks provide a mechanism where by a server-side application can notify a client-side application when a new event (that the client-side application might be interested in) has occurred on the server.

aleung
- 9,848
- 3
- 55
- 69
0
I wasn't able to find a way to accomplish this. What I ended up doing is adding a label in the description which supports html.

mocha
- 45
- 6