Skip to content

Commit

Permalink
Update openapi.*.
Browse files Browse the repository at this point in the history
  • Loading branch information
vertex-nexa[bot] committed Jan 21, 2024
1 parent 53c12c4 commit cbc2c83
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 73 deletions.
124 changes: 63 additions & 61 deletions openapi.containers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -557,40 +557,6 @@ paths:
responses:
"204":
description: No Content
/api/services:
get:
tags:
- Services
summary: Get services
operationId: getServices
responses:
"200":
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/TypesService'
/api/services/{service_id}:
get:
tags:
- Services
summary: Get service
operationId: getService
parameters:
- name: service_id
in: path
required: true
schema:
type: string
responses:
"200":
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/TypesService'
/api/tags:
get:
tags:
Expand Down Expand Up @@ -658,6 +624,40 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/TypesTag'
/api/templates:
get:
tags:
- Templates
summary: Get templates
operationId: getTemplates
responses:
"200":
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/TypesTemplate'
/api/templates/{template_id}:
get:
tags:
- Templates
summary: Get template
operationId: getTemplate
parameters:
- name: template_id
in: path
required: true
schema:
type: string
responses:
"200":
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/TypesTemplate'
components:
schemas:
CommonAbout:
Expand All @@ -681,7 +681,9 @@ components:
CreateContainerInput:
type: object
properties:
service_id:
image:
type: string
template_id:
type: string
CreateTagInput:
type: object
Expand Down Expand Up @@ -750,12 +752,12 @@ components:
name:
type: string
example: Postgres
service_id:
type: string
example: postgres
status:
type: string
example: running
template_id:
type: string
example: postgres
update:
$ref: '#/components/schemas/TypesContainerUpdate'
user_id:
Expand Down Expand Up @@ -864,7 +866,19 @@ components:
format: int32
kind:
type: string
TypesService:
TypesTag:
type: object
properties:
id:
type: string
format: uuid
name:
type: string
example: Vertex SQL
user_id:
type: string
format: uuid
TypesTemplate:
type: object
properties:
color:
Expand All @@ -877,11 +891,11 @@ components:
$ref: '#/components/schemas/TypesDatabaseEnvironment'
description:
type: string
example: The authentication service of Vertex.
example: The authentication backend of Vertex.
environment:
type: array
items:
$ref: '#/components/schemas/TypesServiceEnv'
$ref: '#/components/schemas/TypesTemplateEnv'
features:
$ref: '#/components/schemas/TypesFeatures'
icon:
Expand All @@ -892,7 +906,7 @@ components:
type: string
example: vertex-auth
methods:
$ref: '#/components/schemas/TypesServiceMethods'
$ref: '#/components/schemas/TypesTemplateMethods'
name:
type: string
example: Vertex Auth
Expand All @@ -908,13 +922,13 @@ components:
type: integer
format: int32
example: 2
TypesServiceClone:
TypesTemplateClone:
type: object
properties:
repository:
type: string
example: https://github.com/vertex-center/vertex
TypesServiceEnv:
TypesTemplateEnv:
type: object
properties:
default:
Expand All @@ -936,15 +950,15 @@ components:
type:
type: string
example: port
TypesServiceMethodDocker:
TypesTemplateMethodDocker:
type: object
properties:
capabilities:
type: array
items:
type: string
clone:
$ref: '#/components/schemas/TypesServiceClone'
$ref: '#/components/schemas/TypesTemplateClone'
command:
type: string
nullable: true
Expand Down Expand Up @@ -972,23 +986,11 @@ components:
type: object
additionalProperties:
type: string
TypesServiceMethods:
TypesTemplateMethods:
type: object
properties:
docker:
$ref: '#/components/schemas/TypesServiceMethodDocker'
TypesTag:
type: object
properties:
id:
type: string
format: uuid
name:
type: string
example: Vertex SQL
user_id:
type: string
format: uuid
$ref: '#/components/schemas/TypesTemplateMethodDocker'
TypesURL:
type: object
properties:
Expand All @@ -1014,5 +1016,5 @@ components:
tags:
- name: Containers
- name: Metrics
- name: Services
- name: Tags
- name: Templates
18 changes: 9 additions & 9 deletions openapi.devtools-service-editor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ components:
$ref: '#/components/schemas/TypesDatabaseEnvironment'
description:
type: string
example: The authentication service of Vertex.
example: The authentication backend of Vertex.
environment:
type: array
items:
$ref: '#/components/schemas/TypesServiceEnv'
$ref: '#/components/schemas/TypesTemplateEnv'
features:
$ref: '#/components/schemas/TypesFeatures'
icon:
Expand All @@ -90,7 +90,7 @@ components:
type: string
example: vertex-auth
methods:
$ref: '#/components/schemas/TypesServiceMethods'
$ref: '#/components/schemas/TypesTemplateMethods'
name:
type: string
example: Vertex Auth
Expand Down Expand Up @@ -161,13 +161,13 @@ components:
type: array
items:
$ref: '#/components/schemas/TypesDatabaseFeature'
TypesServiceClone:
TypesTemplateClone:
type: object
properties:
repository:
type: string
example: https://github.com/vertex-center/vertex
TypesServiceEnv:
TypesTemplateEnv:
type: object
properties:
default:
Expand All @@ -189,15 +189,15 @@ components:
type:
type: string
example: port
TypesServiceMethodDocker:
TypesTemplateMethodDocker:
type: object
properties:
capabilities:
type: array
items:
type: string
clone:
$ref: '#/components/schemas/TypesServiceClone'
$ref: '#/components/schemas/TypesTemplateClone'
command:
type: string
nullable: true
Expand Down Expand Up @@ -225,11 +225,11 @@ components:
type: object
additionalProperties:
type: string
TypesServiceMethods:
TypesTemplateMethods:
type: object
properties:
docker:
$ref: '#/components/schemas/TypesServiceMethodDocker'
$ref: '#/components/schemas/TypesTemplateMethodDocker'
TypesURL:
type: object
properties:
Expand Down
6 changes: 3 additions & 3 deletions openapi.sql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,12 @@ components:
name:
type: string
example: Postgres
service_id:
type: string
example: postgres
status:
type: string
example: running
template_id:
type: string
example: postgres
update:
$ref: '#/components/schemas/TypesContainerUpdate'
user_id:
Expand Down

0 comments on commit cbc2c83

Please sign in to comment.