[Swagger]Fix date format

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

View File

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

View File

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