mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-04 20:28:00 +00:00
chore: tweak user service response
This commit is contained in:
@ -439,7 +439,7 @@ paths:
|
||||
"200":
|
||||
description: A successful response.
|
||||
schema:
|
||||
$ref: '#/definitions/v1CreateUserResponse'
|
||||
$ref: '#/definitions/v1User'
|
||||
default:
|
||||
description: An unexpected error response.
|
||||
schema:
|
||||
@ -460,7 +460,7 @@ paths:
|
||||
"200":
|
||||
description: A successful response.
|
||||
schema:
|
||||
$ref: '#/definitions/v1GetUserResponse'
|
||||
$ref: '#/definitions/v1User'
|
||||
default:
|
||||
description: An unexpected error response.
|
||||
schema:
|
||||
@ -480,7 +480,8 @@ paths:
|
||||
"200":
|
||||
description: A successful response.
|
||||
schema:
|
||||
$ref: '#/definitions/v1DeleteUserResponse'
|
||||
type: object
|
||||
properties: {}
|
||||
default:
|
||||
description: An unexpected error response.
|
||||
schema:
|
||||
@ -522,7 +523,7 @@ paths:
|
||||
"200":
|
||||
description: A successful response.
|
||||
schema:
|
||||
$ref: '#/definitions/v1CreateUserAccessTokenResponse'
|
||||
$ref: '#/definitions/v1UserAccessToken'
|
||||
default:
|
||||
description: An unexpected error response.
|
||||
schema:
|
||||
@ -549,7 +550,8 @@ paths:
|
||||
"200":
|
||||
description: A successful response.
|
||||
schema:
|
||||
$ref: '#/definitions/v1DeleteUserAccessTokenResponse'
|
||||
type: object
|
||||
properties: {}
|
||||
default:
|
||||
description: An unexpected error response.
|
||||
schema:
|
||||
@ -624,7 +626,7 @@ paths:
|
||||
"200":
|
||||
description: A successful response.
|
||||
schema:
|
||||
$ref: '#/definitions/v1UpdateUserResponse'
|
||||
$ref: '#/definitions/v1User'
|
||||
default:
|
||||
description: An unexpected error response.
|
||||
schema:
|
||||
@ -989,22 +991,8 @@ definitions:
|
||||
properties:
|
||||
collection:
|
||||
$ref: '#/definitions/apiv1Collection'
|
||||
v1CreateUserAccessTokenResponse:
|
||||
type: object
|
||||
properties:
|
||||
accessToken:
|
||||
$ref: '#/definitions/v1UserAccessToken'
|
||||
v1CreateUserResponse:
|
||||
type: object
|
||||
properties:
|
||||
user:
|
||||
$ref: '#/definitions/v1User'
|
||||
v1DeleteCollectionResponse:
|
||||
type: object
|
||||
v1DeleteUserAccessTokenResponse:
|
||||
type: object
|
||||
v1DeleteUserResponse:
|
||||
type: object
|
||||
v1GetCollectionByNameResponse:
|
||||
type: object
|
||||
properties:
|
||||
@ -1033,11 +1021,6 @@ definitions:
|
||||
items:
|
||||
type: object
|
||||
$ref: '#/definitions/GetShortcutAnalyticsResponseAnalyticsItem'
|
||||
v1GetUserResponse:
|
||||
type: object
|
||||
properties:
|
||||
user:
|
||||
$ref: '#/definitions/v1User'
|
||||
v1GetUserSettingResponse:
|
||||
type: object
|
||||
properties:
|
||||
@ -1142,11 +1125,6 @@ definitions:
|
||||
type: string
|
||||
required:
|
||||
- licenseKey
|
||||
v1UpdateUserResponse:
|
||||
type: object
|
||||
properties:
|
||||
user:
|
||||
$ref: '#/definitions/v1User'
|
||||
v1UpdateUserSettingResponse:
|
||||
type: object
|
||||
properties:
|
||||
|
Reference in New Issue
Block a user