mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-16 07:26:35 +00:00
Link Networks API (#265)
* update side menu to link networks * change heading
This commit is contained in:
@@ -10,7 +10,7 @@ export const title = '<%- tag %>'
|
||||
<Col>
|
||||
<%- operation.description %>
|
||||
<% if(operation.parameters && operation.parameters.filter((parameter) => parameter.in === 'path').length > 0){ %>
|
||||
#### Path Parameters
|
||||
### Path Parameters
|
||||
<Properties>
|
||||
<% operation.parameters.filter((parameter) => parameter.in === 'path').forEach(function(parameter){ %>
|
||||
<Property name="<%- parameter.name %>" type="string" required=\{true\}>
|
||||
@@ -20,7 +20,7 @@ export const title = '<%- tag %>'
|
||||
</Properties>
|
||||
<% }; -%>
|
||||
<% if(operation.parameters && operation.parameters.filter((parameter) => parameter.in === 'query').length > 0){ %>
|
||||
#### Query Parameters
|
||||
### Query Parameters
|
||||
<Properties>
|
||||
<% operation.parameters.filter((parameter) => parameter.in === 'query').forEach(function(parameter){ %>
|
||||
<Property name="<%- parameter.name %>" type="<%- parameter.schema.type %>" required=\{false\}>
|
||||
@@ -30,7 +30,7 @@ export const title = '<%- tag %>'
|
||||
</Properties>
|
||||
<% }; -%>
|
||||
<% if(operation.requestBody && operation.requestBody["content"]["application/json"].schema.properties){ %>
|
||||
#### Request-Body Parameters
|
||||
### Request-Body Parameters
|
||||
|
||||
<%
|
||||
function renderProperties(properties, required = [], depth = 0) {
|
||||
|
||||
Reference in New Issue
Block a user