1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-01 08:18:14 +09:00

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