Skip to content

Commit

Permalink
added userSpokenLanguagesEnum
Browse files Browse the repository at this point in the history
  • Loading branch information
nebby2105 committed Dec 25, 2024
1 parent 53f4f48 commit 335c5d4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 18 deletions.
20 changes: 2 additions & 18 deletions docs/offer/offer-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,15 +159,7 @@ definitions:
offerLanguagesValues:
type: array
items:
type: string
enum:
- English
- Ukrainian
- Polish
- German
- French
- Spanish
- Arabic
$ref: '#/definitions/userSpokenLanguagesEnum'
offerAuthor:
type: object
properties:
Expand Down Expand Up @@ -219,15 +211,7 @@ definitions:
tutor:
type: number
nativeLanguage:
type: string
enum:
- English
- Ukrainian
- Polish
- German
- French
- Spanish
- Arabic
$ref: '#/definitions/userSpokenLanguagesEnum'
status:
$ref: '#/definitions/userStatusEnum'
photo:
Expand Down
10 changes: 10 additions & 0 deletions docs/user/user-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -335,3 +335,13 @@ definitions:
enum:
- active
- blocked
userSpokenLanguagesEnum:
type: string
enum:
- English
- Ukrainian
- Polish
- German
- French
- Spanish
- Arabic

0 comments on commit 335c5d4

Please sign in to comment.