mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 09:03:08 +02:00
[Swagger]Fix date format
This commit is contained in:
parent
ac0824b574
commit
b2dad3a9c2
2 changed files with 4 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
Loading…
Reference in a new issue