Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

Commit

Permalink
chore: sort swagger definitions alphabetically
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKohler committed Jul 9, 2021
1 parent 374d1ea commit 8b006f8
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions server/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,21 @@ paths:
$ref: "#/definitions/Text"

definitions:
SentencesList:
type: "array"
items:
$ref: "#/definitions/Sentence"
GeneralStats:
type: "object"
properties:
added:
type: "integer"
format: "int64"
validated:
type: "integer"
format: "int64"
rejected:
type: "integer"
format: "int64"
contributors:
type: "integer"
format: "int64"
Sentence:
type: "object"
properties:
Expand All @@ -166,24 +177,13 @@ definitions:
updatedAt:
type: "string"
format: "date-time"
Text:
type: "string"
example: "Sentence One\nSentence Two"
SentencesList:
type: "array"
items:
$ref: "#/definitions/Sentence"
SourceText:
type: "string"
example: "Source A\nSource B"
GeneralStats:
type: "object"
properties:
added:
type: "integer"
format: "int64"
validated:
type: "integer"
format: "int64"
rejected:
type: "integer"
format: "int64"
contributors:
type: "integer"
format: "int64"
Text:
type: "string"
example: "Sentence One\nSentence Two"

0 comments on commit 8b006f8

Please sign in to comment.