Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced variables #1064

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/attachments/attachments-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ definitions:
type: number
category:
type: string
ref: '#/definitions/resourcesCategory'
$ref: '#/definitions/resourcesCategory'
createdAt:
type: string
format: date-time
Expand All @@ -36,7 +36,7 @@ definitions:
type: number
category:
type: string
ref: '#/definitions/resourcesCategory'
$ref: '#/definitions/resourcesCategory'
attachment:
type: object
properties:
Expand All @@ -52,7 +52,7 @@ definitions:
type: number
category:
type: string
ref: '#/definitions/resourcesCategory'
$ref: '#/definitions/resourcesCategory'
createdAt:
type: string
format: date-time
Expand Down
2 changes: 1 addition & 1 deletion docs/chat/chat-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ definitions:
properties:
user:
type: string
ref: '#/components/user'
$ref: '#/components/user'
role:
type: string
createdAt:
Expand Down
18 changes: 9 additions & 9 deletions docs/course/course-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ definitions:
type: string
author:
type: string
ref: '#components/user'
$ref: '#components/user'
category:
type: string
ref: '#components/category'
$ref: '#definitions/category'
subject:
type: string
ref: '#components/subject'
$ref: '#definitions/subject'
proficiencyLevel:
type: array
items:
Expand Down Expand Up @@ -68,13 +68,13 @@ definitions:
type: string
author:
type: string
ref: '#components/user'
$ref: '#components/user'
category:
type: string
ref: '#components/category'
$ref: '#definitions/category'
subject:
type: string
ref: '#components/subject'
$ref: '#definitions/subject'
proficiencyLevel:
type: array
items:
Expand Down Expand Up @@ -122,13 +122,13 @@ definitions:
type: string
author:
type: string
ref: '#components/user'
$ref: '#components/user'
category:
type: string
ref: '#components/category'
$ref: '#definitions/category'
subject:
type: string
ref: '#components/subject'
$ref: '#definitions/subject'
proficiencyLevel:
type: array
items:
Expand Down
8 changes: 4 additions & 4 deletions docs/message/message-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ definitions:
properties:
author:
type: string
ref: '#/components/user'
$ref: '#/components/user'
text:
type: string
chat:
type: string
ref: '#/components/chat'
$ref: '#/definitions/chat'
message:
type: object
properties:
Expand All @@ -30,7 +30,7 @@ definitions:
properties:
_id:
type: string
ref: '#/components/user'
$ref: '#/components/user'
photo:
type: string
authorRole:
Expand All @@ -46,7 +46,7 @@ definitions:
type: boolean
chat:
type: string
ref: '#/components/chat'
$ref: '#/definitions/chat'
createdAt:
type: string
format: date-time
Expand Down
4 changes: 2 additions & 2 deletions docs/note/note-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ definitions:
type: string
author:
type: string
ref: '#components/user'
$ref: '#components/user'
isPrivate:
type: boolean
createdAt:
Expand All @@ -35,7 +35,7 @@ definitions:
type: string
author:
type: string
ref: '#components/user'
$ref: '#components/user'
isPrivate:
type: boolean
createdAt:
Expand Down
26 changes: 13 additions & 13 deletions docs/offer/offer-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,19 @@ definitions:
type: string
author:
type: string
ref: '#components/user'
$ref: '#components/user'
enrolledUsers:
type: array
ref: '#components/user'
$ref: '#components/user'
subject:
type: string
ref: '#components/subject'
$ref: '#definitions/subject'
category:
type: string
ref: '#components/category'
$ref: '#definitions/category'
chatId:
type: string
ref: '#/components/chat'
$ref: '#/definitions/chat'
status:
type: string
enum:
Expand Down Expand Up @@ -109,13 +109,13 @@ definitions:
type: string
enrolledUsers:
type: array
ref: '#components/user'
$ref: '#components/user'
subject:
type: string
ref: '#components/subject'
$ref: '#definitions/subject'
category:
type: string
ref: '#components/category'
$ref: '#definitions/category'
status:
type: string
enum:
Expand Down Expand Up @@ -169,19 +169,19 @@ definitions:
type: string
author:
type: string
ref: '#components/user'
$ref: '#components/user'
enrolledUsers:
type: array
ref: '#components/user'
$ref: '#components/user'
subject:
type: string
ref: '#components/subject'
$ref: '#definitions/subject'
category:
type: string
ref: '#components/category'
$ref: '#definitions/category'
chatId:
type: string
ref: '#/components/chat'
$ref: '#/definitions/chat'
status:
type: string
enum:
Expand Down
10 changes: 5 additions & 5 deletions docs/questions/question.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ definitions:
type: boolean
author:
type: string
ref: '#/components/user'
$ref: '#/components/user'
category:
type: string
ref: '#/definitions/resourcesCategory'
$ref: '#/definitions/resourcesCategory'
createdAt:
type: string
format: date-time
Expand All @@ -51,7 +51,7 @@ definitions:
type: string
category:
type: string
ref: '#/definitions/resourcesCategory'
$ref: '#/definitions/resourcesCategory'
question:
type: object
properties:
Expand All @@ -72,10 +72,10 @@ definitions:
type: boolean
author:
type: string
ref: '#/components/user'
$ref: '#/components/user'
category:
type: string
ref: '#/definitions/resourcesCategory'
$ref: '#/definitions/resourcesCategory'
createdAt:
type: string
format: date-time
Expand Down
8 changes: 4 additions & 4 deletions docs/quiz/quiz-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ definitions:
items:
$ref: '#/definitions/question'
author:
$ref: '#/definitions/user'
$ref: '#/components/user'
category:
$ref: '#/definitions/resourcesCategory'
settings:
Expand Down Expand Up @@ -50,13 +50,13 @@ definitions:
category:
type: string
description: _id
ref: '#/definitions/resourcesCategory'
$ref: '#/definitions/resourcesCategory'
items:
type: array
items:
type: string
description: _id
ref: '#/components/question'
$ref: '#/definitions/question'
settings:
type: object
properties:
Expand Down Expand Up @@ -87,7 +87,7 @@ definitions:
items:
$ref: '#/definitions/question'
author:
$ref: '#/definitions/user'
$ref: '#/components/user'
category:
$ref: '#/definitions/resourcesCategory'
settings:
Expand Down
4 changes: 2 additions & 2 deletions docs/subject/subject-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ definitions:
type: string
category:
type: string
$ref: '#/components/category'
$ref: '#/definitions/category'
subject:
type: object
properties:
Expand All @@ -52,7 +52,7 @@ definitions:
type: string
category:
type: string
$ref: '#/components/category'
$ref: '#/definitions/category'
totalOffers:
type: object
properties:
Expand Down
Loading