[Swagger]Fix date format

This commit is contained in:
Tosuke 2017-01-06 16:19:41 +09:00
parent ac0824b574
commit b2dad3a9c2
2 changed files with 4 additions and 3 deletions

View file

@ -27,7 +27,7 @@ import serialize from '../../../serializers/auth-session';
* properties: * properties:
* created_at: * created_at:
* type: string * type: string
* format: date * format: date-time
* description: Date and time of the session creation * description: Date and time of the session creation
* app_id: * app_id:
* type: string * type: string

View file

@ -99,11 +99,12 @@ const defaultSwagger = {
}, },
"birthday": { "birthday": {
"type": "string", "type": "string",
"format": "date",
"description": "誕生日" "description": "誕生日"
}, },
"created_at": { "created_at": {
"type": "string", "type": "string",
"format": "date", "format": "date-time",
"description": "アカウント作成日時" "description": "アカウント作成日時"
}, },
"drive_capacity": { "drive_capacity": {
@ -161,7 +162,7 @@ const defaultSwagger = {
"properties": { "properties": {
"created_at": { "created_at": {
"type": "string", "type": "string",
"format": "date", "format": "date-time",
"description": "アプリケーションの作成日時" "description": "アプリケーションの作成日時"
}, },
"user_id": { "user_id": {