Neo oc-whared for local deployment

This commit is contained in:
mr
2024-10-15 11:00:39 +02:00
parent 68c3322bba
commit 3b8c543697
7 changed files with 80 additions and 306 deletions

View File

@@ -12,10 +12,10 @@ info:
url: https://opensource.org/license/mit
basePath: /oc
paths:
/shared/collaborative_area/:
/collaborative_area/:
get:
tags:
- shared/collaborative_area
- collaborative_area
description: |-
find shared workspace by id
<br>
@@ -25,7 +25,7 @@ paths:
description: '{shared_workspace} models.shared_workspace'
post:
tags:
- shared/collaborative_area
- collaborative_area
description: |-
create shared workspace
<br>
@@ -40,10 +40,10 @@ paths:
responses:
"200":
description: '{shared workspace} models.shared_workspace'
/shared/collaborative_area/{id}:
/collaborative_area/{id}:
get:
tags:
- shared/collaborative_area
- collaborative_area
description: |-
find shared workspace by id
<br>
@@ -59,7 +59,7 @@ paths:
description: '{shared workspace} models.shared_workspace'
put:
tags:
- shared/collaborative_area
- collaborative_area
description: |-
create shared workspaces
<br>
@@ -81,7 +81,7 @@ paths:
description: '{shared workspace} models.shared_workspace'
delete:
tags:
- shared/collaborative_area
- collaborative_area
description: |-
delete the shared workspace
<br>
@@ -95,10 +95,10 @@ paths:
responses:
"200":
description: '{shared workspace} delete success!'
/shared/collaborative_area/{id}/peer/{id2}:
/collaborative_area/{id}/peer/{id2}:
post:
tags:
- shared/collaborative_area
- collaborative_area
description: |-
find shared workspace by id
<br>
@@ -119,7 +119,7 @@ paths:
description: '{shared workspace} models.shared_workspace'
delete:
tags:
- shared/collaborative_area
- collaborative_area
description: |-
find shared workspace by id
<br>
@@ -138,10 +138,10 @@ paths:
responses:
"200":
description: '{shared workspace} models.shared_workspace'
/shared/collaborative_area/{id}/rule/{id2}:
/collaborative_area/{id}/rule/{id2}:
post:
tags:
- shared/collaborative_area
- collaborative_area
description: |-
find shared workspace by id
<br>
@@ -162,7 +162,7 @@ paths:
description: '{shared workspace} models.shared_workspace'
delete:
tags:
- shared/collaborative_area
- collaborative_area
description: |-
find shared workspace by id
<br>
@@ -181,10 +181,10 @@ paths:
responses:
"200":
description: '{shared workspace} models.shared_workspace'
/shared/collaborative_area/{id}/workflow/{id2}:
/collaborative_area/{id}/workflow/{id2}:
post:
tags:
- shared/collaborative_area
- collaborative_area
description: |-
find shared workspace by id
<br>
@@ -205,7 +205,7 @@ paths:
description: '{shared workspace} models.shared_workspace'
delete:
tags:
- shared/collaborative_area
- collaborative_area
description: |-
find shared workspace by id
<br>
@@ -224,10 +224,10 @@ paths:
responses:
"200":
description: '{shared workspace} models.shared_workspace'
/shared/collaborative_area/{id}/workspace/{id2}:
/collaborative_area/{id}/workspace/{id2}:
post:
tags:
- shared/collaborative_area
- collaborative_area
description: |-
find shared workspace by id
<br>
@@ -248,7 +248,7 @@ paths:
description: '{shared workspace} models.shared_workspace'
delete:
tags:
- shared/collaborative_area
- collaborative_area
description: |-
find shared workspace by id
<br>
@@ -267,110 +267,10 @@ paths:
responses:
"200":
description: '{shared workspace} models.shared_workspace'
/shared/collaborative_area/rule/:
/collaborative_area/search/{search}:
get:
tags:
- shared/collaborative_area/rule
description: |-
find rule by id
<br>
operationId: RuleController.GetAll
responses:
"200":
description: '{rule} models.rule'
post:
tags:
- shared/collaborative_area/rule
description: |-
create rule
<br>
operationId: RuleController.Create
parameters:
- in: body
name: data
description: body for data content (Json format)
required: true
schema:
$ref: '#/definitions/json'
responses:
"200":
description: '{rule} models.rule'
/shared/collaborative_area/rule/{id}:
get:
tags:
- shared/collaborative_area/rule
description: |-
find rule by id
<br>
operationId: RuleController.Get
parameters:
- in: path
name: id
description: the id you want to get
required: true
type: string
responses:
"200":
description: '{rule} models.rule'
put:
tags:
- shared/collaborative_area/rule
description: |-
create rules
<br>
operationId: RuleController.Update
parameters:
- in: path
name: id
description: the rule id you want to get
required: true
type: string
- in: body
name: body
description: The rule content
required: true
schema:
$ref: '#/definitions/models.rule'
responses:
"200":
description: '{rule} models.rule'
delete:
tags:
- shared/collaborative_area/rule
description: |-
delete the rule
<br>
operationId: RuleController.Delete
parameters:
- in: path
name: id
description: The id you want to delete
required: true
type: string
responses:
"200":
description: '{rule} delete success!'
/shared/collaborative_area/rule/search/{search}:
get:
tags:
- shared/collaborative_area/rule
description: |-
search rule
<br>
operationId: RuleController.Search
parameters:
- in: path
name: search
description: the word search you want to get
required: true
type: string
responses:
"200":
description: '{rule} models.rule'
/shared/collaborative_area/search/{search}:
get:
tags:
- shared/collaborative_area
- collaborative_area
description: |-
search shared workspace
<br>
@@ -417,12 +317,9 @@ definitions:
title: workspace
type: object
tags:
- name: shared/collaborative_area
- name: collaborative_area
description: |
Operations about workspace
- name: shared/collaborative_area/rule
description: |
Operations about rule
- name: version
description: |
VersionController operations for Version