oclib
This commit is contained in:
@@ -112,42 +112,42 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{data} models.data'
|
||||
/datacenter/:
|
||||
/compute/:
|
||||
get:
|
||||
tags:
|
||||
- datacenter
|
||||
- compute
|
||||
description: |-
|
||||
find datacenter by id
|
||||
find compute by id
|
||||
<br>
|
||||
operationId: DatacenterController.GetAll
|
||||
operationId: ComputeController.GetAll
|
||||
responses:
|
||||
"200":
|
||||
description: '{datacenter} models.datacenter'
|
||||
description: '{compute} models.compute'
|
||||
post:
|
||||
tags:
|
||||
- datacenter
|
||||
- compute
|
||||
description: |-
|
||||
create datacenter
|
||||
create compute
|
||||
<br>
|
||||
operationId: DatacenterController.Create
|
||||
operationId: ComputeController.Create
|
||||
parameters:
|
||||
- in: body
|
||||
name: datacenter
|
||||
description: body for datacenter content (Json format)
|
||||
name: compute
|
||||
description: body for compute content (Json format)
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/json'
|
||||
responses:
|
||||
"200":
|
||||
description: '{datacenter} models.datacenter'
|
||||
/datacenter/{id}:
|
||||
description: '{compute} models.compute'
|
||||
/compute/{id}:
|
||||
get:
|
||||
tags:
|
||||
- datacenter
|
||||
- compute
|
||||
description: |-
|
||||
find datacenter by id
|
||||
find compute by id
|
||||
<br>
|
||||
operationId: DatacenterController.Get
|
||||
operationId: ComputeController.Get
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
@@ -156,36 +156,36 @@ paths:
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{datacenter} models.datacenter'
|
||||
description: '{compute} models.compute'
|
||||
put:
|
||||
tags:
|
||||
- datacenter
|
||||
- compute
|
||||
description: |-
|
||||
create datacenters
|
||||
create computes
|
||||
<br>
|
||||
operationId: DatacenterController.Update
|
||||
operationId: ComputeController.Update
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
description: the datacenter id you want to get
|
||||
description: the compute id you want to get
|
||||
required: true
|
||||
type: string
|
||||
- in: body
|
||||
name: body
|
||||
description: The datacenter content
|
||||
description: The compute content
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/models.datacenter'
|
||||
$ref: '#/definitions/models.compute'
|
||||
responses:
|
||||
"200":
|
||||
description: '{datacenter} models.datacenter'
|
||||
description: '{compute} models.compute'
|
||||
delete:
|
||||
tags:
|
||||
- datacenter
|
||||
- compute
|
||||
description: |-
|
||||
delete the datacenter
|
||||
delete the compute
|
||||
<br>
|
||||
operationId: DatacenterController.Delete
|
||||
operationId: ComputeController.Delete
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
@@ -194,15 +194,15 @@ paths:
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{datacenter} delete success!'
|
||||
/datacenter/search/{search}:
|
||||
description: '{compute} delete success!'
|
||||
/compute/search/{search}:
|
||||
get:
|
||||
tags:
|
||||
- datacenter
|
||||
- compute
|
||||
description: |-
|
||||
find datacenter by key word
|
||||
find compute by key word
|
||||
<br>
|
||||
operationId: DatacenterController.Get
|
||||
operationId: ComputeController.Get
|
||||
parameters:
|
||||
- in: path
|
||||
name: search
|
||||
@@ -211,7 +211,7 @@ paths:
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{datacenter} models.datacenter'
|
||||
description: '{compute} models.compute'
|
||||
/processing/:
|
||||
get:
|
||||
tags:
|
||||
@@ -602,8 +602,8 @@ definitions:
|
||||
models.data:
|
||||
title: data
|
||||
type: object
|
||||
models.datacenter:
|
||||
title: datacenter
|
||||
models.compute:
|
||||
title: compute
|
||||
type: object
|
||||
models.processing:
|
||||
title: processing
|
||||
@@ -621,9 +621,9 @@ tags:
|
||||
- name: data
|
||||
description: |
|
||||
Operations about data
|
||||
- name: datacenter
|
||||
- name: compute
|
||||
description: |
|
||||
Operations about datacenter
|
||||
Operations about compute
|
||||
- name: storage
|
||||
description: |
|
||||
Operations about storage
|
||||
|
||||
Reference in New Issue
Block a user