[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: * 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": {