@nestjs/swagger#ApiParamOptions TypeScript Examples

The following examples show how to use @nestjs/swagger#ApiParamOptions. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: announcement.paramdocs.ts    From edu-server with MIT License 5 votes vote down vote up
announcementId: ApiParamOptions = {
  name: 'announcementId',
  type: String,
  description: 'Announcement Id in the form of MongoId',
  example: '60ccf3758dc53371bd4d0154',
}
Example #2
Source File: assignment.paramdocs.ts    From edu-server with MIT License 5 votes vote down vote up
courseId: ApiParamOptions = {
  name: 'courseId',
  type: String,
  description: 'Course Id in the form of MongoId',
  example: '60ccf3758dc53371bd4d0154',
}
Example #3
Source File: course.paramdocs.ts    From edu-server with MIT License 5 votes vote down vote up
courseId: ApiParamOptions = {
  name: 'courseId',
  type: String,
  description: 'Course Id in the form of MongoId',
  example: '60ccf3758dc53371bd4d0154',
}
Example #4
Source File: course.paramdocs.ts    From edu-server with MIT License 5 votes vote down vote up
scheduleId: ApiParamOptions = {
  name: 'scheduleId',
  type: String,
  description: 'schedule Id in the form of MongoId',
  example: '60ccf3758dc53371bd4d0154',
}
Example #5
Source File: doubt.paramdocs.ts    From edu-server with MIT License 5 votes vote down vote up
courseId: ApiParamOptions = {
  name: 'courseId',
  type: String,
  description: 'Course Id in the form of MongoId',
  example: '60ccf3758dc53371bd4d0154',
}
Example #6
Source File: doubt.paramdocs.ts    From edu-server with MIT License 5 votes vote down vote up
doubtId: ApiParamOptions = {
  name: 'doubtId',
  type: String,
  description: 'Doubt Id in the form of MongoId',
  example: '60ccf3758dc53371bd4d0154',
}
Example #7
Source File: doubt.paramdocs.ts    From edu-server with MIT License 5 votes vote down vote up
doubtAnswerId: ApiParamOptions = {
  name: 'doubtAnswerId',
  type: String,
  description: 'DoubtAnswer Id in the form of MongoId',
  example: '60ccf3758dc53371bd4d0154',
}
Example #8
Source File: mentor.paramdocs.ts    From edu-server with MIT License 5 votes vote down vote up
mentorId: ApiParamOptions = {
  name: 'mentorId',
  type: String,
  description: 'mentor Id in the form of MongoId',
  example: '60ccf3758dc53371bd4d0154',
}
Example #9
Source File: mentor.paramdocs.ts    From edu-server with MIT License 5 votes vote down vote up
courseId: ApiParamOptions = {
  name: 'courseId',
  type: String,
  description: 'Course Id in the form of MongoId',
  example: '60ccf3758dc53371bd4d0154',
}
Example #10
Source File: user.paramdocs.ts    From edu-server with MIT License 5 votes vote down vote up
userId: ApiParamOptions = {
  name: 'userId',
  type: String,
  description: 'User Id in the form of MongoId',
  example: '60ccf3758dc53371bd4d0154',
}