| | |
| | | ] |
| | | } |
| | | }, |
| | | "/api/Task/AbnormalComplete": { |
| | | "post": { |
| | | "tags": [ |
| | | "Task" |
| | | ], |
| | | "summary": " (Auth)", |
| | | "requestBody": { |
| | | "content": { |
| | | "application/json-patch+json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/AbnormalCompleteDTO" |
| | | } |
| | | }, |
| | | "application/json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/AbnormalCompleteDTO" |
| | | } |
| | | }, |
| | | "text/json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/AbnormalCompleteDTO" |
| | | } |
| | | }, |
| | | "application/*+json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/AbnormalCompleteDTO" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "responses": { |
| | | "200": { |
| | | "description": "Success", |
| | | "content": { |
| | | "text/plain": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/WebResponseContent" |
| | | } |
| | | }, |
| | | "application/json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/WebResponseContent" |
| | | } |
| | | }, |
| | | "text/json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/WebResponseContent" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "401": { |
| | | "description": "Unauthorized" |
| | | }, |
| | | "403": { |
| | | "description": "Forbidden" |
| | | } |
| | | }, |
| | | "security": [ |
| | | { |
| | | "oauth2": [ ] |
| | | } |
| | | ] |
| | | }, |
| | | "get": { |
| | | "tags": [ |
| | | "Task" |
| | | ], |
| | | "summary": " (Auth)", |
| | | "requestBody": { |
| | | "content": { |
| | | "application/json-patch+json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/AbnormalCompleteDTO" |
| | | } |
| | | }, |
| | | "application/json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/AbnormalCompleteDTO" |
| | | } |
| | | }, |
| | | "text/json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/AbnormalCompleteDTO" |
| | | } |
| | | }, |
| | | "application/*+json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/AbnormalCompleteDTO" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "responses": { |
| | | "200": { |
| | | "description": "Success", |
| | | "content": { |
| | | "text/plain": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/WebResponseContent" |
| | | } |
| | | }, |
| | | "application/json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/WebResponseContent" |
| | | } |
| | | }, |
| | | "text/json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/WebResponseContent" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "401": { |
| | | "description": "Unauthorized" |
| | | }, |
| | | "403": { |
| | | "description": "Forbidden" |
| | | } |
| | | }, |
| | | "security": [ |
| | | { |
| | | "oauth2": [ ] |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "/api/Task/Add": { |
| | | "post": { |
| | | "tags": [ |
| | |
| | | }, |
| | | "additionalProperties": false |
| | | }, |
| | | "AbnormalCompleteDTO": { |
| | | "type": "object", |
| | | "properties": { |
| | | "taskNum": { |
| | | "type": "integer", |
| | | "format": "int32" |
| | | }, |
| | | "station": { |
| | | "type": "string", |
| | | "nullable": true |
| | | }, |
| | | "message": { |
| | | "type": "string", |
| | | "nullable": true |
| | | } |
| | | }, |
| | | "additionalProperties": false |
| | | }, |
| | | "ActionDTO": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "remark": { |
| | | "type": "string", |
| | | "nullable": true |
| | | }, |
| | | "ljTaskNum": { |
| | | "type": "integer", |
| | | "format": "int32" |
| | | } |
| | | }, |
| | | "additionalProperties": false |
| | |
| | | "remark": { |
| | | "type": "string", |
| | | "nullable": true |
| | | }, |
| | | "ljTaskNum": { |
| | | "type": "integer", |
| | | "format": "int32" |
| | | } |
| | | }, |
| | | "additionalProperties": false |