mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-18 00:16:36 +00:00
add badge for deprecated api endpoints to the template (#126)
This commit is contained in:
@@ -4,7 +4,7 @@ export const title = '<%- tag %>'
|
||||
|
||||
<% operations.forEach(function(operation){ %>
|
||||
|
||||
## <%- operation.summary %> {{ tag: '<%- operation.operation.toUpperCase() %>' , label: '<%- operation.path %>' }}
|
||||
## <%- operation.summary %> {{ tag: '<%- operation.operation.toUpperCase() %>' , label: '<%- operation.path %>' }} <% if(operation.deprecated) { %><Badge status="warning" text="Deprecated" /><% } %>
|
||||
|
||||
<Row>
|
||||
<Col>
|
||||
|
||||
Reference in New Issue
Block a user