paths debug
This commit is contained in:
@@ -110,6 +110,30 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{string} delete success!'
|
||||
/workflow/check/{start_date}/{end_date}:
|
||||
get:
|
||||
tags:
|
||||
- workflow
|
||||
description: |-
|
||||
check booking
|
||||
<br>
|
||||
operationId: WorkflowController.Check
|
||||
parameters:
|
||||
- in: path
|
||||
name: start_date
|
||||
description: 2006-01-02T15:04:05
|
||||
type: string
|
||||
default: the booking start date
|
||||
- in: path
|
||||
name: end_date
|
||||
description: 2006-01-02T15:04:05
|
||||
type: string
|
||||
default: the booking end date
|
||||
responses:
|
||||
"200":
|
||||
description: ""
|
||||
schema:
|
||||
$ref: '#/definitions/models.object'
|
||||
/workflow/publish/{id}:
|
||||
post:
|
||||
tags:
|
||||
@@ -129,110 +153,6 @@ paths:
|
||||
description: ""
|
||||
schema:
|
||||
$ref: '#/definitions/models.workflow'
|
||||
/workflow/resource/:
|
||||
get:
|
||||
tags:
|
||||
- workflow/resource
|
||||
description: |-
|
||||
find workflow by workflowid
|
||||
<br>
|
||||
operationId: WorkflowResourceController.GetAll
|
||||
responses:
|
||||
"200":
|
||||
description: '{workflow} models.workflow'
|
||||
post:
|
||||
tags:
|
||||
- workflow/resource
|
||||
description: |-
|
||||
create workflows
|
||||
<br>
|
||||
operationId: WorkflowResourceController.Create
|
||||
parameters:
|
||||
- in: body
|
||||
name: data
|
||||
description: body for data content (Json format)
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/json'
|
||||
responses:
|
||||
"200":
|
||||
description: ""
|
||||
schema:
|
||||
$ref: '#/definitions/models.workflow'
|
||||
/workflow/resource/{id}:
|
||||
get:
|
||||
tags:
|
||||
- workflow/resource
|
||||
description: |-
|
||||
find workflows
|
||||
<br>
|
||||
operationId: WorkflowResourceController.Get
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
description: the workflowid you want to get
|
||||
required: true
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{workflow} models.workflow'
|
||||
put:
|
||||
tags:
|
||||
- workflow/resource
|
||||
description: |-
|
||||
create workflows
|
||||
<br>
|
||||
operationId: WorkflowResourceController.Update
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
description: the workflowid you want to get
|
||||
required: true
|
||||
type: string
|
||||
- in: body
|
||||
name: body
|
||||
description: The workflow content
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/models.workflow'
|
||||
responses:
|
||||
"200":
|
||||
description: ""
|
||||
schema:
|
||||
$ref: '#/definitions/models.workflow'
|
||||
delete:
|
||||
tags:
|
||||
- workflow/resource
|
||||
description: |-
|
||||
delete the workflow
|
||||
<br>
|
||||
operationId: WorkflowResourceController.Delete
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
description: The workflowId you want to delete
|
||||
required: true
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{string} delete success!'
|
||||
/workflow/resource/search/{search}:
|
||||
get:
|
||||
tags:
|
||||
- workflow/resource
|
||||
description: |-
|
||||
search workspace
|
||||
<br>
|
||||
operationId: WorkflowResourceController.Search
|
||||
parameters:
|
||||
- in: path
|
||||
name: search
|
||||
description: the word search you want to get
|
||||
required: true
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{workspace} models.workspace'
|
||||
/workflow/search/{search}:
|
||||
get:
|
||||
tags:
|
||||
@@ -254,6 +174,9 @@ definitions:
|
||||
json:
|
||||
title: json
|
||||
type: object
|
||||
models.object:
|
||||
title: object
|
||||
type: object
|
||||
models.workflow:
|
||||
title: workflow
|
||||
type: object
|
||||
@@ -261,9 +184,6 @@ tags:
|
||||
- name: workflow
|
||||
description: |
|
||||
Operations about workflow
|
||||
- name: workflow/resource
|
||||
description: |
|
||||
Operations about workflow
|
||||
- name: version
|
||||
description: |
|
||||
VersionController operations for Version
|
||||
|
||||
Reference in New Issue
Block a user