Neo Workspace for local deployment
This commit is contained in:
@@ -15,6 +15,66 @@
|
||||
},
|
||||
"basePath": "/oc/",
|
||||
"paths": {
|
||||
"/": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"oc-workspace/controllersWorkspaceController"
|
||||
],
|
||||
"description": "find workspace by id\n\u003cbr\u003e",
|
||||
"operationId": "WorkspaceController.GetAll",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{workspace} models.workspace"
|
||||
}
|
||||
}
|
||||
},
|
||||
"post": {
|
||||
"tags": [
|
||||
"oc-workspace/controllersWorkspaceController"
|
||||
],
|
||||
"description": "create workspace\n\u003cbr\u003e",
|
||||
"operationId": "WorkspaceController.Create",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "body",
|
||||
"name": "data",
|
||||
"description": "body for data content (Json format)",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/json"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{workspace} models.workspace"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/search/{search}": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"oc-workspace/controllersWorkspaceController"
|
||||
],
|
||||
"description": "search workspace\n\u003cbr\u003e",
|
||||
"operationId": "WorkspaceController.Search",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "search",
|
||||
"description": "the word search you want to get",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{workspace} models.workspace"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/version/": {
|
||||
"get": {
|
||||
"tags": [
|
||||
@@ -43,70 +103,10 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/workspace/": {
|
||||
"/{id}": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"workspace"
|
||||
],
|
||||
"description": "find workspace by id\n\u003cbr\u003e",
|
||||
"operationId": "WorkspaceController.GetAll",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{workspace} models.workspace"
|
||||
}
|
||||
}
|
||||
},
|
||||
"post": {
|
||||
"tags": [
|
||||
"workspace"
|
||||
],
|
||||
"description": "create workspace\n\u003cbr\u003e",
|
||||
"operationId": "WorkspaceController.Create",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "body",
|
||||
"name": "data",
|
||||
"description": "body for data content (Json format)",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/json"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{workspace} models.workspace"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/workspace/search/{search}": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"workspace"
|
||||
],
|
||||
"description": "search workspace\n\u003cbr\u003e",
|
||||
"operationId": "WorkspaceController.Search",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "search",
|
||||
"description": "the word search you want to get",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{workspace} models.workspace"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/workspace/{id}": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"workspace"
|
||||
"oc-workspace/controllersWorkspaceController"
|
||||
],
|
||||
"description": "find workflow by id\n\u003cbr\u003e",
|
||||
"operationId": "WorkspaceController.Get",
|
||||
@@ -127,7 +127,7 @@
|
||||
},
|
||||
"put": {
|
||||
"tags": [
|
||||
"workspace"
|
||||
"oc-workspace/controllersWorkspaceController"
|
||||
],
|
||||
"description": "create workspaces\n\u003cbr\u003e",
|
||||
"operationId": "WorkspaceController.Update",
|
||||
@@ -157,7 +157,7 @@
|
||||
},
|
||||
"delete": {
|
||||
"tags": [
|
||||
"workspace"
|
||||
"oc-workspace/controllersWorkspaceController"
|
||||
],
|
||||
"description": "delete the workspace\n\u003cbr\u003e",
|
||||
"operationId": "WorkspaceController.Delete",
|
||||
@@ -190,7 +190,7 @@
|
||||
},
|
||||
"tags": [
|
||||
{
|
||||
"name": "workspace",
|
||||
"name": "oc-workspace/controllersWorkspaceController",
|
||||
"description": "Operations about workspace\n"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -12,6 +12,106 @@ info:
|
||||
url: https://opensource.org/license/mit
|
||||
basePath: /oc/
|
||||
paths:
|
||||
/:
|
||||
get:
|
||||
tags:
|
||||
- oc-workspace/controllersWorkspaceController
|
||||
description: |-
|
||||
find workspace by id
|
||||
<br>
|
||||
operationId: WorkspaceController.GetAll
|
||||
responses:
|
||||
"200":
|
||||
description: '{workspace} models.workspace'
|
||||
post:
|
||||
tags:
|
||||
- oc-workspace/controllersWorkspaceController
|
||||
description: |-
|
||||
create workspace
|
||||
<br>
|
||||
operationId: WorkspaceController.Create
|
||||
parameters:
|
||||
- in: body
|
||||
name: data
|
||||
description: body for data content (Json format)
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/json'
|
||||
responses:
|
||||
"200":
|
||||
description: '{workspace} models.workspace'
|
||||
/{id}:
|
||||
get:
|
||||
tags:
|
||||
- oc-workspace/controllersWorkspaceController
|
||||
description: |-
|
||||
find workflow by id
|
||||
<br>
|
||||
operationId: WorkspaceController.Get
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
description: the id you want to get
|
||||
required: true
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{workspace} models.workspace'
|
||||
put:
|
||||
tags:
|
||||
- oc-workspace/controllersWorkspaceController
|
||||
description: |-
|
||||
create workspaces
|
||||
<br>
|
||||
operationId: WorkspaceController.Update
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
description: the workspace id you want to get
|
||||
required: true
|
||||
type: string
|
||||
- in: body
|
||||
name: body
|
||||
description: The workspace content
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/models.workspace'
|
||||
responses:
|
||||
"200":
|
||||
description: '{workspace} models.workspace'
|
||||
delete:
|
||||
tags:
|
||||
- oc-workspace/controllersWorkspaceController
|
||||
description: |-
|
||||
delete the workspace
|
||||
<br>
|
||||
operationId: WorkspaceController.Delete
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
description: The id you want to delete
|
||||
required: true
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{workspace} delete success!'
|
||||
/search/{search}:
|
||||
get:
|
||||
tags:
|
||||
- oc-workspace/controllersWorkspaceController
|
||||
description: |-
|
||||
search workspace
|
||||
<br>
|
||||
operationId: WorkspaceController.Search
|
||||
parameters:
|
||||
- in: path
|
||||
name: search
|
||||
description: the word search you want to get
|
||||
required: true
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{workspace} models.workspace'
|
||||
/version/:
|
||||
get:
|
||||
tags:
|
||||
@@ -34,106 +134,6 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: ""
|
||||
/workspace/:
|
||||
get:
|
||||
tags:
|
||||
- workspace
|
||||
description: |-
|
||||
find workspace by id
|
||||
<br>
|
||||
operationId: WorkspaceController.GetAll
|
||||
responses:
|
||||
"200":
|
||||
description: '{workspace} models.workspace'
|
||||
post:
|
||||
tags:
|
||||
- workspace
|
||||
description: |-
|
||||
create workspace
|
||||
<br>
|
||||
operationId: WorkspaceController.Create
|
||||
parameters:
|
||||
- in: body
|
||||
name: data
|
||||
description: body for data content (Json format)
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/json'
|
||||
responses:
|
||||
"200":
|
||||
description: '{workspace} models.workspace'
|
||||
/workspace/{id}:
|
||||
get:
|
||||
tags:
|
||||
- workspace
|
||||
description: |-
|
||||
find workflow by id
|
||||
<br>
|
||||
operationId: WorkspaceController.Get
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
description: the id you want to get
|
||||
required: true
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{workspace} models.workspace'
|
||||
put:
|
||||
tags:
|
||||
- workspace
|
||||
description: |-
|
||||
create workspaces
|
||||
<br>
|
||||
operationId: WorkspaceController.Update
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
description: the workspace id you want to get
|
||||
required: true
|
||||
type: string
|
||||
- in: body
|
||||
name: body
|
||||
description: The workspace content
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/models.workspace'
|
||||
responses:
|
||||
"200":
|
||||
description: '{workspace} models.workspace'
|
||||
delete:
|
||||
tags:
|
||||
- workspace
|
||||
description: |-
|
||||
delete the workspace
|
||||
<br>
|
||||
operationId: WorkspaceController.Delete
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
description: The id you want to delete
|
||||
required: true
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{workspace} delete success!'
|
||||
/workspace/search/{search}:
|
||||
get:
|
||||
tags:
|
||||
- workspace
|
||||
description: |-
|
||||
search workspace
|
||||
<br>
|
||||
operationId: WorkspaceController.Search
|
||||
parameters:
|
||||
- in: path
|
||||
name: search
|
||||
description: the word search you want to get
|
||||
required: true
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{workspace} models.workspace'
|
||||
definitions:
|
||||
json:
|
||||
title: json
|
||||
@@ -142,7 +142,7 @@ definitions:
|
||||
title: workspace
|
||||
type: object
|
||||
tags:
|
||||
- name: workspace
|
||||
- name: oc-workspace/controllersWorkspaceController
|
||||
description: |
|
||||
Operations about workspace
|
||||
- name: version
|
||||
|
||||
Reference in New Issue
Block a user