Commit ecbea928 authored by Julien Schröter's avatar Julien Schröter

Fix a couple typos in api specification

parent d28e79ee
Pipeline #2060 passed with stage
in 4 minutes and 16 seconds
...@@ -39,7 +39,7 @@ paths: ...@@ -39,7 +39,7 @@ paths:
'200': '200':
description: Success description: Success
content: content:
applicaion/json: application/json:
schema: schema:
type: object type: object
description: As the endpoint is public, just try it out. description: As the endpoint is public, just try it out.
...@@ -251,7 +251,7 @@ paths: ...@@ -251,7 +251,7 @@ paths:
- field - field
properties: properties:
field: field:
description: The field which failed, eiter 'username' or 'email'. If both, the email address and the username, are already used, the field will be 'username'. description: The field which failed, either 'username' or 'email'. If both, the email address and the username, are already used, the field will be 'username'.
type: string type: string
'500': '500':
description: The server cannot deliver due to an internal error. description: The server cannot deliver due to an internal error.
...@@ -680,10 +680,10 @@ paths: ...@@ -680,10 +680,10 @@ paths:
'/duel/report': '/duel/report':
post: post:
summary: Report a mistake in a question. summary: Report a mistake in a question.
description: Endpoint to report a mistake in a question, its answers or its explaination. description: Endpoint to report a mistake in a question, its answers or its explanation.
parameters: parameters:
- name: question - name: question
description: ID of the falty question. description: ID of the faulty question.
in: query in: query
required: true required: true
schema: schema:
...@@ -1052,7 +1052,7 @@ components: ...@@ -1052,7 +1052,7 @@ components:
error: error:
description: General error. description: General error.
type: string type: string
default: An unexpected error occured default: An unexpected error occurred
login: login:
type: object type: object
required: required:
...@@ -1088,7 +1088,7 @@ components: ...@@ -1088,7 +1088,7 @@ components:
format: int32 format: int32
userinfo: userinfo:
description: >- description: >-
Information on a user that is publicly availabe to other users. Information on a user that is publicly available to other users.
type: object type: object
required: required:
- username - username
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment