Files
Andrew MartinezandGitHub 2a12985526 Fix.openziti.ziti.3356.www.authenticate.headers (#169)
* for openziti/ziti#3356 add www-authenticate headers

- adds www-authenticate headers to all responses
- moves to swagger 0.33.1
- updates readme
- updates version checking in powershell and bash
2026-02-12 13:41:23 -05:00

51 lines
1.2 KiB
YAML

---
paths:
protocols:
get:
summary: Return a list of the listening Edge protocols
security: [ ]
tags:
- Informational
operationId: listProtocols
responses:
'200':
$ref: '#/responses/listProtocols'
'429':
$ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse'
'503':
$ref: '../shared/standard-responses.yml#/responses/serverUnavailableResponse'
responses:
listProtocols:
description: A list of supported Edge protocols
headers:
WWW-Authenticate:
description: "Denotes different type of security token related information"
type: array
items:
type: string
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