feat(governance): model aliases resolve through providers with a policy (#2063)
This commit is contained in:
15 files changed
+1321
-73
No files matched your search
+735
-2
@@ -141,6 +141,32 @@ components:
|
||||
required:
|
||||
- capture
|
||||
type: object
|
||||
CatalogueGrants:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
credentials:
|
||||
items:
|
||||
type: string
|
||||
type:
|
||||
- array
|
||||
- "null"
|
||||
egress:
|
||||
items:
|
||||
type: string
|
||||
type:
|
||||
- array
|
||||
- "null"
|
||||
env:
|
||||
items:
|
||||
type: string
|
||||
type:
|
||||
- array
|
||||
- "null"
|
||||
required:
|
||||
- egress
|
||||
- env
|
||||
- credentials
|
||||
type: object
|
||||
ChangePasswordInputBody:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
@@ -437,6 +463,64 @@ components:
|
||||
- description
|
||||
- schema
|
||||
type: object
|
||||
ConnectorsCatalogueEntry:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
contract:
|
||||
type: string
|
||||
description:
|
||||
type: string
|
||||
digest:
|
||||
type: string
|
||||
display_name:
|
||||
type: string
|
||||
grants:
|
||||
$ref: "#/components/schemas/CatalogueGrants"
|
||||
group:
|
||||
enum:
|
||||
- platform
|
||||
- integration
|
||||
- agent
|
||||
type: string
|
||||
installed:
|
||||
type: boolean
|
||||
installed_version:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
update_available:
|
||||
type: boolean
|
||||
version:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- display_name
|
||||
- description
|
||||
- contract
|
||||
- group
|
||||
- version
|
||||
- digest
|
||||
- grants
|
||||
- installed
|
||||
- update_available
|
||||
type: object
|
||||
ConnectorsCatalogueSource:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
location:
|
||||
description: An https URL or an absolute path to the catalogue; its signature is beside it with .sig added
|
||||
type: string
|
||||
newest:
|
||||
format: date-time
|
||||
readOnly: true
|
||||
type: string
|
||||
public_key:
|
||||
description: The base64 Ed25519 public key the catalogue is signed with
|
||||
type: string
|
||||
required:
|
||||
- location
|
||||
- public_key
|
||||
type: object
|
||||
ConnectorsCredentialKind:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
@@ -548,12 +632,16 @@ components:
|
||||
ConnectorsExtensionView:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
accepted:
|
||||
$ref: "#/components/schemas/CatalogueGrants"
|
||||
args:
|
||||
items:
|
||||
type: string
|
||||
type:
|
||||
- array
|
||||
- "null"
|
||||
can_rollback:
|
||||
type: boolean
|
||||
capabilities:
|
||||
$ref: "#/components/schemas/ConnectorsCapabilities"
|
||||
contract:
|
||||
@@ -562,8 +650,14 @@ components:
|
||||
additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
declared:
|
||||
$ref: "#/components/schemas/CatalogueGrants"
|
||||
description:
|
||||
type: string
|
||||
digest:
|
||||
type: string
|
||||
display_name:
|
||||
type: string
|
||||
effects:
|
||||
$ref: "#/components/schemas/ConnectorsServerEffects"
|
||||
egress:
|
||||
@@ -572,6 +666,8 @@ components:
|
||||
type:
|
||||
- array
|
||||
- "null"
|
||||
enabled:
|
||||
type: boolean
|
||||
env:
|
||||
items:
|
||||
type: string
|
||||
@@ -586,10 +682,14 @@ components:
|
||||
- integration
|
||||
- agent
|
||||
type: string
|
||||
managed:
|
||||
type: boolean
|
||||
name:
|
||||
type: string
|
||||
path:
|
||||
type: string
|
||||
pending:
|
||||
$ref: "#/components/schemas/ConnectorsPendingView"
|
||||
settings:
|
||||
additionalProperties:
|
||||
type: string
|
||||
@@ -603,6 +703,8 @@ components:
|
||||
state:
|
||||
type: string
|
||||
tools: {}
|
||||
update_policy:
|
||||
type: string
|
||||
url:
|
||||
type: string
|
||||
version:
|
||||
@@ -618,6 +720,9 @@ components:
|
||||
- settings
|
||||
- settings_schema
|
||||
- credentials
|
||||
- enabled
|
||||
- managed
|
||||
- can_rollback
|
||||
type: object
|
||||
ConnectorsField:
|
||||
additionalProperties: false
|
||||
@@ -630,6 +735,32 @@ components:
|
||||
type: string
|
||||
writeOnly: true
|
||||
type: object
|
||||
ConnectorsGrantsRequest:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
credentials:
|
||||
additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
egress:
|
||||
description: Every host the extension may reach; empty leaves it unconfined, which only an extension that declares no hosts may be given
|
||||
items:
|
||||
type: string
|
||||
type:
|
||||
- array
|
||||
- "null"
|
||||
env:
|
||||
description: Host environment variables the extension may see
|
||||
items:
|
||||
type: string
|
||||
type:
|
||||
- array
|
||||
- "null"
|
||||
settings:
|
||||
additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
ConnectorsHealth:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
@@ -652,6 +783,26 @@ components:
|
||||
- contract
|
||||
- healthy
|
||||
type: object
|
||||
ConnectorsLifecycle:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
digest:
|
||||
type: string
|
||||
enabled:
|
||||
type: boolean
|
||||
name:
|
||||
type: string
|
||||
pending:
|
||||
type: boolean
|
||||
version:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- version
|
||||
- digest
|
||||
- pending
|
||||
- enabled
|
||||
type: object
|
||||
ConnectorsMcpRequest:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
@@ -711,6 +862,20 @@ components:
|
||||
- name
|
||||
- state
|
||||
type: object
|
||||
ConnectorsPendingView:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
added:
|
||||
$ref: "#/components/schemas/CatalogueGrants"
|
||||
digest:
|
||||
type: string
|
||||
version:
|
||||
type: string
|
||||
required:
|
||||
- version
|
||||
- digest
|
||||
- added
|
||||
type: object
|
||||
ConnectorsPrivilegedEffects:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
@@ -761,6 +926,16 @@ components:
|
||||
- key
|
||||
- label
|
||||
type: object
|
||||
ConnectorsSourceView:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
configured:
|
||||
type: boolean
|
||||
source:
|
||||
$ref: "#/components/schemas/ConnectorsCatalogueSource"
|
||||
required:
|
||||
- configured
|
||||
type: object
|
||||
ConnectorsTarget:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
@@ -1565,6 +1740,33 @@ components:
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
ExtensionEnabledInputBody:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
enabled:
|
||||
type: boolean
|
||||
required:
|
||||
- enabled
|
||||
type: object
|
||||
ExtensionPolicyInputBody:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
policy:
|
||||
enum:
|
||||
- manual
|
||||
- auto
|
||||
type: string
|
||||
required:
|
||||
- policy
|
||||
type: object
|
||||
ExtensionSettingsInputBody:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
settings:
|
||||
additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
GovernanceAuthStatusBody:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
@@ -1846,16 +2048,22 @@ components:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
api_key_credential:
|
||||
readOnly: true
|
||||
type: string
|
||||
base_url:
|
||||
readOnly: true
|
||||
type: string
|
||||
class:
|
||||
readOnly: true
|
||||
type: string
|
||||
model:
|
||||
description: The model's name on the provider
|
||||
type: string
|
||||
provider:
|
||||
description: The provider the model is called on
|
||||
type: string
|
||||
required:
|
||||
- class
|
||||
- base_url
|
||||
- provider
|
||||
- model
|
||||
type: object
|
||||
GovernanceModelAnswer:
|
||||
@@ -1869,6 +2077,54 @@ components:
|
||||
- model
|
||||
- answer
|
||||
type: object
|
||||
GovernanceModelClass:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
class:
|
||||
type: string
|
||||
default_base_url:
|
||||
type: string
|
||||
required:
|
||||
- class
|
||||
type: object
|
||||
GovernanceModelPolicy:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
chat_aliases:
|
||||
description: Aliases chat may use; null lets it use any
|
||||
items:
|
||||
type: string
|
||||
type:
|
||||
- array
|
||||
- "null"
|
||||
workflow_aliases:
|
||||
description: Aliases workflows may name; null lets them use any
|
||||
items:
|
||||
type: string
|
||||
type:
|
||||
- array
|
||||
- "null"
|
||||
required:
|
||||
- workflow_aliases
|
||||
- chat_aliases
|
||||
type: object
|
||||
GovernanceModelProvider:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
api_key_credential:
|
||||
type: string
|
||||
base_url:
|
||||
type: string
|
||||
class:
|
||||
description: A provider class from the model classes catalogue
|
||||
type: string
|
||||
name:
|
||||
description: Lowercase letters, digits, dots, underscores or hyphens
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- class
|
||||
type: object
|
||||
GovernanceOrgBody:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
@@ -5509,6 +5765,343 @@ paths:
|
||||
summary: List the kinds of extension and the group each belongs to
|
||||
tags:
|
||||
- Connectors
|
||||
/api/extensions:
|
||||
get:
|
||||
operationId: list-extensions
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
items:
|
||||
$ref: "#/components/schemas/ConnectorsExtensionView"
|
||||
type:
|
||||
- array
|
||||
- "null"
|
||||
description: OK
|
||||
default:
|
||||
content:
|
||||
application/problem+json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ErrorModel"
|
||||
description: Error
|
||||
summary: List every accepted package, whatever its contract
|
||||
tags:
|
||||
- Extensions
|
||||
/api/extensions/catalogue:
|
||||
get:
|
||||
operationId: list-catalogue
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
items:
|
||||
$ref: "#/components/schemas/ConnectorsCatalogueEntry"
|
||||
type:
|
||||
- array
|
||||
- "null"
|
||||
description: OK
|
||||
default:
|
||||
content:
|
||||
application/problem+json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ErrorModel"
|
||||
description: Error
|
||||
summary: List the extensions the signed catalogue offers
|
||||
tags:
|
||||
- Extension catalogue
|
||||
/api/extensions/catalogue-source:
|
||||
get:
|
||||
operationId: get-catalogue-source
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ConnectorsSourceView"
|
||||
description: OK
|
||||
default:
|
||||
content:
|
||||
application/problem+json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ErrorModel"
|
||||
description: Error
|
||||
summary: Get where the extension catalogue is read from
|
||||
tags:
|
||||
- Extension catalogue
|
||||
put:
|
||||
operationId: put-catalogue-source
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ConnectorsCatalogueSource"
|
||||
required: true
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ConnectorsSourceView"
|
||||
description: OK
|
||||
default:
|
||||
content:
|
||||
application/problem+json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ErrorModel"
|
||||
description: Error
|
||||
summary: Set where the extension catalogue is read from and the key that signs it
|
||||
tags:
|
||||
- Extension catalogue
|
||||
/api/extensions/catalogue/{name}/install:
|
||||
post:
|
||||
operationId: install-extension
|
||||
parameters:
|
||||
- in: path
|
||||
name: name
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ConnectorsLifecycle"
|
||||
description: OK
|
||||
default:
|
||||
content:
|
||||
application/problem+json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ErrorModel"
|
||||
description: Error
|
||||
summary: Fetch an extension at the digest the catalogue pins and install it, not yet accepted
|
||||
tags:
|
||||
- Extension catalogue
|
||||
/api/extensions/{name}:
|
||||
delete:
|
||||
operationId: remove-extension
|
||||
parameters:
|
||||
- in: path
|
||||
name: name
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ConnectorsPackageState"
|
||||
description: OK
|
||||
default:
|
||||
content:
|
||||
application/problem+json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ErrorModel"
|
||||
description: Error
|
||||
summary: Remove an accepted package
|
||||
tags:
|
||||
- Extensions
|
||||
/api/extensions/{name}/accept:
|
||||
post:
|
||||
operationId: accept-extension-grants
|
||||
parameters:
|
||||
- in: path
|
||||
name: name
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ConnectorsGrantsRequest"
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ConnectorsLifecycle"
|
||||
description: OK
|
||||
default:
|
||||
content:
|
||||
application/problem+json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ErrorModel"
|
||||
description: Error
|
||||
summary: Accept the grants an installed extension may use, and its settings
|
||||
tags:
|
||||
- Extension catalogue
|
||||
/api/extensions/{name}/approve-update:
|
||||
post:
|
||||
operationId: approve-extension-update
|
||||
parameters:
|
||||
- in: path
|
||||
name: name
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ConnectorsLifecycle"
|
||||
description: OK
|
||||
default:
|
||||
content:
|
||||
application/problem+json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ErrorModel"
|
||||
description: Error
|
||||
summary: Apply the pending update and accept the grants it declares
|
||||
tags:
|
||||
- Extension catalogue
|
||||
/api/extensions/{name}/enabled:
|
||||
put:
|
||||
operationId: put-extension-enabled
|
||||
parameters:
|
||||
- in: path
|
||||
name: name
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ExtensionEnabledInputBody"
|
||||
required: true
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ConnectorsLifecycle"
|
||||
description: OK
|
||||
default:
|
||||
content:
|
||||
application/problem+json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ErrorModel"
|
||||
description: Error
|
||||
summary: Start or stop an accepted extension
|
||||
tags:
|
||||
- Extension catalogue
|
||||
/api/extensions/{name}/rollback:
|
||||
post:
|
||||
operationId: rollback-extension
|
||||
parameters:
|
||||
- in: path
|
||||
name: name
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ConnectorsLifecycle"
|
||||
description: OK
|
||||
default:
|
||||
content:
|
||||
application/problem+json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ErrorModel"
|
||||
description: Error
|
||||
summary: Restore the previous version with the grants accepted for it
|
||||
tags:
|
||||
- Extension catalogue
|
||||
/api/extensions/{name}/settings:
|
||||
put:
|
||||
operationId: put-extension-settings
|
||||
parameters:
|
||||
- in: path
|
||||
name: name
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ExtensionSettingsInputBody"
|
||||
required: true
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ConnectorsLifecycle"
|
||||
description: OK
|
||||
default:
|
||||
content:
|
||||
application/problem+json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ErrorModel"
|
||||
description: Error
|
||||
summary: Save an installed extension's settings and restart it
|
||||
tags:
|
||||
- Extension catalogue
|
||||
/api/extensions/{name}/update:
|
||||
post:
|
||||
operationId: update-extension
|
||||
parameters:
|
||||
- in: path
|
||||
name: name
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ConnectorsLifecycle"
|
||||
description: OK
|
||||
default:
|
||||
content:
|
||||
application/problem+json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ErrorModel"
|
||||
description: Error
|
||||
summary: Move an extension to the digest the catalogue now pins
|
||||
tags:
|
||||
- Extension catalogue
|
||||
/api/extensions/{name}/update-policy:
|
||||
put:
|
||||
operationId: put-extension-update-policy
|
||||
parameters:
|
||||
- in: path
|
||||
name: name
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ExtensionPolicyInputBody"
|
||||
required: true
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ConnectorsLifecycle"
|
||||
description: OK
|
||||
default:
|
||||
content:
|
||||
application/problem+json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ErrorModel"
|
||||
description: Error
|
||||
summary: Set whether an extension follows the catalogue on its own
|
||||
tags:
|
||||
- Extension catalogue
|
||||
/api/groups:
|
||||
get:
|
||||
operationId: list-groups
|
||||
@@ -7138,6 +7731,146 @@ paths:
|
||||
summary: Change the organisation's standing instructions
|
||||
tags:
|
||||
- Governance
|
||||
/api/settings/model-classes:
|
||||
get:
|
||||
operationId: list-model-classes
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
items:
|
||||
$ref: "#/components/schemas/GovernanceModelClass"
|
||||
type:
|
||||
- array
|
||||
- "null"
|
||||
description: OK
|
||||
default:
|
||||
content:
|
||||
application/problem+json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ErrorModel"
|
||||
description: Error
|
||||
summary: List the provider classes the runtime can build
|
||||
tags:
|
||||
- Governance
|
||||
/api/settings/model-policy:
|
||||
get:
|
||||
operationId: get-model-policy
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/GovernanceModelPolicy"
|
||||
description: OK
|
||||
default:
|
||||
content:
|
||||
application/problem+json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ErrorModel"
|
||||
description: Error
|
||||
summary: Get which aliases workflows and chat may use
|
||||
tags:
|
||||
- Governance
|
||||
put:
|
||||
operationId: put-model-policy
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/GovernanceModelPolicy"
|
||||
required: true
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/GovernanceModelPolicy"
|
||||
description: OK
|
||||
default:
|
||||
content:
|
||||
application/problem+json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ErrorModel"
|
||||
description: Error
|
||||
summary: Set which aliases workflows and chat may use
|
||||
tags:
|
||||
- Governance
|
||||
/api/settings/model-providers:
|
||||
get:
|
||||
operationId: list-model-providers
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
additionalProperties:
|
||||
$ref: "#/components/schemas/GovernanceModelProvider"
|
||||
type: object
|
||||
description: OK
|
||||
default:
|
||||
content:
|
||||
application/problem+json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ErrorModel"
|
||||
description: Error
|
||||
summary: List model providers
|
||||
tags:
|
||||
- Governance
|
||||
/api/settings/model-providers/{name}:
|
||||
delete:
|
||||
operationId: delete-model-provider
|
||||
parameters:
|
||||
- in: path
|
||||
name: name
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
responses:
|
||||
"204":
|
||||
description: No Content
|
||||
default:
|
||||
content:
|
||||
application/problem+json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ErrorModel"
|
||||
description: Error
|
||||
summary: Delete a model provider no alias uses
|
||||
tags:
|
||||
- Governance
|
||||
put:
|
||||
operationId: put-model-provider
|
||||
parameters:
|
||||
- description: Lowercase letters, digits, dots, underscores or hyphens
|
||||
in: path
|
||||
name: name
|
||||
required: true
|
||||
schema:
|
||||
description: Lowercase letters, digits, dots, underscores or hyphens
|
||||
type: string
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/GovernanceModelProvider"
|
||||
required: true
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/GovernanceModelProvider"
|
||||
description: OK
|
||||
default:
|
||||
content:
|
||||
application/problem+json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ErrorModel"
|
||||
description: Error
|
||||
summary: Save a model provider
|
||||
tags:
|
||||
- Governance
|
||||
/api/sources:
|
||||
get:
|
||||
operationId: list-sources
|
||||
|
||||
Reference in new issue
Block a user