Fix the API so we are clear what is being returned when updating a file.

This commit is contained in:
Dan Funk 2020-03-25 08:06:58 -04:00
parent 37a8b69ffe
commit bd92c230e4
1 changed files with 3 additions and 5 deletions

View File

@ -533,13 +533,11 @@ paths:
- file - file
responses: responses:
'200': '200':
description: Returns the actual file description: Returns the updated file model with the new version information.
content: content:
application/octet-stream: application/json:
schema: schema:
type: string $ref: "#/components/schemas/File"
format: binary
example: '<?xml version="1.0" encoding="UTF-8"?><bpmn:definitions></bpmn:definitions>'
# /v1.0/workflow/0 # /v1.0/workflow/0
/reference_file: /reference_file:
get: get: