Skip to content

Commit

Permalink
fix docs body schemas to have id strings instead of refs
Browse files Browse the repository at this point in the history
  • Loading branch information
luiqor committed Nov 18, 2024
1 parent 35b0bdd commit 44ce9b8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions docs/cooperation/cooperation-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,13 @@ definitions:
type: object
properties:
offer:
$ref: '#/definitions/offer'
type: string
description: _id
ref: '#/definitions/offer'
receiver:
$ref: '#/definitions/user'
type: string
description: _id
ref: '#/definitions/user'
receiverRole:
type: string
price:
Expand Down
8 changes: 6 additions & 2 deletions docs/quiz/quiz-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,15 @@ definitions:
description:
type: string
category:
$ref: '#/definitions/resourcesCategory'
type: string
description: _id
ref: '#/definitions/resourcesCategory'
items:
type: array
items:
$ref: '#/definitions/question'
type: string
description: _id
ref: '#/components/question'
settings:
type: object
properties:
Expand Down

0 comments on commit 44ce9b8

Please sign in to comment.