Files
ziti/specs/source/client/protocols.yml
T
Andrew Martinez b562fb5c07 splits API specs into composible modules
- 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)
2021-05-04 11:30:32 -04:00

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