update swagger docs
This commit is contained in:
@@ -1,4 +1,32 @@
|
||||
'use strict';
|
||||
/**
|
||||
* @swagger
|
||||
* components:
|
||||
* schemas:
|
||||
* Member:
|
||||
* type: object
|
||||
* properties:
|
||||
* username:
|
||||
* type: string
|
||||
* description: username
|
||||
* example: float
|
||||
* email:
|
||||
* type: string
|
||||
* description: The user's email.
|
||||
* example: support@float.sg
|
||||
* firstname:
|
||||
* type: string
|
||||
* description: The user's firstname.
|
||||
* example: Float
|
||||
* lastname:
|
||||
* type: string
|
||||
* description: The user's lastname.
|
||||
* example: Mobility
|
||||
* phone:
|
||||
* type: string
|
||||
* description: The user's phone.
|
||||
* example: 0123456789
|
||||
*/
|
||||
module.exports = (sequelize, DataTypes) => {
|
||||
const Member = sequelize.define('Member', {
|
||||
username: {
|
||||
|
||||
Reference in New Issue
Block a user