Skip to content

Commit

Permalink
adds capabilities free form string and enumerated endpoint for constants
Browse files Browse the repository at this point in the history
- free form to allow unknown strings to be returned
- enum for the current versions const references
  • Loading branch information
andrewpmartinez committed Sep 28, 2023
1 parent 29f28ab commit af323a3
Show file tree
Hide file tree
Showing 30 changed files with 1,888 additions and 12 deletions.
36 changes: 35 additions & 1 deletion client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ info:
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
version: 0.25.31
version: 0.25.32
host: demo.ziti.dev
basePath: /edge/client/v1
paths:
Expand Down Expand Up @@ -1820,6 +1820,19 @@ paths:
name: token
in: query
required: true
/enumerated-capabiities:
get:
security: []
tags:
- Informational
summary: Returns all capabilities this version of the controller is aware of,
enabled or not.
operationId: listEnumeratedCapabilities
responses:
"200":
description: A typed and enumerated list of capabilities
schema:
$ref: '#/definitions/listEnumeratedCapabilitiesEnvelope'
/external-jwt-signers:
get:
security:
Expand Down Expand Up @@ -3158,6 +3171,11 @@ definitions:
updatedAt:
type: string
format: date-time
capabilities:
type: string
enum:
- OIDC_AUTH
- HA_CONTROLLER
clientExternalJwtSignerDetail:
description: A External JWT Signer resource
type: object
Expand Down Expand Up @@ -3761,6 +3779,18 @@ definitions:
$ref: '#/definitions/currentIdentityEdgeRouterList'
meta:
$ref: '#/definitions/meta'
listEnumeratedCapabilitiesEnvelope:
type: object
required:
- meta
- data
properties:
data:
type: array
items:
$ref: '#/definitions/capabilities'
meta:
$ref: '#/definitions/meta'
listProtocols:
type: object
additionalProperties:
Expand Down Expand Up @@ -4329,6 +4359,10 @@ definitions:
buildDate:
type: string
example: "2020-02-11 16:09:08"
capabilities:
type: array
items:
type: string
revision:
type: string
example: ea556fc18740
Expand Down
36 changes: 35 additions & 1 deletion management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ info:
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
version: 0.25.31
version: 0.25.32
host: demo.ziti.dev
basePath: /edge/management/v1
paths:
Expand Down Expand Up @@ -5857,6 +5857,19 @@ paths:
name: id
in: path
required: true
/enumerated-capabiities:
get:
security: []
tags:
- Informational
summary: Returns all capabilities this version of the controller is aware of,
enabled or not.
operationId: listEnumeratedCapabilities
responses:
"200":
description: A typed and enumerated list of capabilities
schema:
$ref: '#/definitions/listEnumeratedCapabilitiesEnvelope'
/external-jwt-signers:
get:
security:
Expand Down Expand Up @@ -13316,6 +13329,11 @@ definitions:
example: My CA
tags:
$ref: '#/definitions/tags'
capabilities:
type: string
enum:
- OIDC_AUTH
- HA_CONTROLLER
commonEdgeRouterProperties:
type: object
required:
Expand Down Expand Up @@ -14996,6 +15014,18 @@ definitions:
$ref: '#/definitions/enrollmentList'
meta:
$ref: '#/definitions/meta'
listEnumeratedCapabilitiesEnvelope:
type: object
required:
- meta
- data
properties:
data:
type: array
items:
$ref: '#/definitions/capabilities'
meta:
$ref: '#/definitions/meta'
listExternalJwtSignersEnvelope:
type: object
required:
Expand Down Expand Up @@ -16851,6 +16881,10 @@ definitions:
buildDate:
type: string
example: "2020-02-11 16:09:08"
capabilities:
type: array
items:
type: string
revision:
type: string
example: ea556fc18740
Expand Down
40 changes: 40 additions & 0 deletions rest_client_api_client/informational/informational_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit af323a3

Please sign in to comment.