mirror of
https://github.com/openziti/ziti.git
synced 2026-09-21 18:13:38 +00:00
b562fb5c07
- splits Open API 2.0 (swagger) into client/management APIs - uses go-swaggers flatten capabilities - uses newer version of go-swagger (v0.27.0) - introduces /edge/client/v1, /edge/management/v1 - non-prefixed URLs default to /edge/client/v1 - splits some shared management/client API handlers - renames some REST models to "client" instead of "limited" - passes all apitests, fails dataflow upd test (main fails this as well) - updates generate rest script for powershell - todo: test generate rest script for bash - todo: use xweb (different branch)
41 lines
856 B
YAML
41 lines
856 B
YAML
---
|
|
paths:
|
|
protocols:
|
|
get:
|
|
summary: Return a list of the listening Edge protocols
|
|
security: [ ]
|
|
tags:
|
|
- Informational
|
|
operationId: listProtocols
|
|
responses:
|
|
'200':
|
|
$ref: '#/responses/listProtocols'
|
|
|
|
responses:
|
|
listProtocols:
|
|
description: A list of supported Edge protocols
|
|
schema:
|
|
$ref: '#/definitions/listProtocolsEnvelope'
|
|
|
|
definitions:
|
|
listProtocolsEnvelope:
|
|
type: object
|
|
required:
|
|
- meta
|
|
- data
|
|
properties:
|
|
meta:
|
|
$ref: '../shared/standard-responses.yml#/definitions/meta'
|
|
data:
|
|
$ref: '#/definitions/listProtocols'
|
|
listProtocols:
|
|
type: object
|
|
additionalProperties:
|
|
$ref: '#/definitions/protocol'
|
|
protocol:
|
|
type: object
|
|
required:
|
|
- address
|
|
properties:
|
|
address:
|
|
type: string |