Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
40 changes: 4 additions & 36 deletions docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -589,15 +589,7 @@ paths:
required: false
schema:
type: string
enum:
[
"open",
"selected",
"shortlist",
"rejected",
"cancelled",
"interview",
]
enum: ['open', 'selected', 'shortlist', 'rejected', 'cancelled', 'interview', 'topcoder-rejected']
description: The job candidate status.
- in: query
name: externalId
Expand Down Expand Up @@ -2620,15 +2612,7 @@ components:
description: "The user id."
status:
type: string
enum:
[
"open",
"selected",
"shortlist",
"rejected",
"cancelled",
"interview",
]
enum: ['open', 'selected', 'shortlist', 'rejected', 'cancelled', 'interview', 'topcoder-rejected']
description: "The job candidate status."
externalId:
type: string
Expand Down Expand Up @@ -2685,15 +2669,7 @@ components:
properties:
status:
type: string
enum:
[
"open",
"selected",
"shortlist",
"rejected",
"cancelled",
"interview",
]
enum: ['open', 'selected', 'shortlist', 'rejected', 'cancelled', 'interview', 'topcoder-rejected']
externalId:
type: string
example: "1212"
Expand Down Expand Up @@ -3401,15 +3377,7 @@ components:
description: "The link for the resume that can be downloaded"
status:
type: string
enum:
[
"open",
"selected",
"shortlist",
"rejected",
"cancelled",
"interview",
]
enum: ['open', 'selected', 'shortlist', 'rejected', 'cancelled', 'interview', 'topcoder-rejected']
description: "The job candidate status."
skills:
type: array
Expand Down
2 changes: 1 addition & 1 deletion src/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Joi.perPage = () => Joi.number().integer().min(1).default(20)
Joi.rateType = () => Joi.string().valid('hourly', 'daily', 'weekly', 'monthly')
Joi.jobStatus = () => Joi.string().valid('sourcing', 'in-review', 'assigned', 'closed', 'cancelled')
Joi.workload = () => Joi.string().valid('full-time', 'fractional')
Joi.jobCandidateStatus = () => Joi.string().valid('open', 'selected', 'shortlist', 'rejected', 'cancelled', 'interview')
Joi.jobCandidateStatus = () => Joi.string().valid('open', 'selected', 'shortlist', 'rejected', 'cancelled', 'interview', 'topcoder-rejected')
Joi.title = () => Joi.string().max(128)
Joi.paymentStatus = () => Joi.string().valid('pending', 'partially-completed', 'completed', 'cancelled')
// Empty string is not allowed by Joi by default and must be enabled with allow('').
Expand Down