openapi: 3.0.3 info: title: QUIZ ANSWERER service api description: Title version: 1.0.0 paths: /answer: post: description: method for put answers requestBody: content: 'multipart/form-data': schema: type: object properties: answers: type: array description: array of short answers required: true items: properties: question_id: type: integer description: integer id of question content: type: string description: content of answer. for files send "file:" and fill such field filename1-n: type: object description: file for file type question responses: '200': description: successful stored '500': description: not mentioned error content: 'application/json': schema: type: string default: if you get any content string send it to developer '413': description: failed to parse multipart message '400': description: expecting multipart form file '424': description: no quiz id provided '406': description: not exists quiz id provided '401': description: no session id or quiz id