wip 15
This commit is contained in:
@@ -460,8 +460,8 @@ components:
|
||||
user_id:
|
||||
type: string
|
||||
value:
|
||||
type: integer
|
||||
format: int64
|
||||
type: number
|
||||
format: double
|
||||
required:
|
||||
- user_id
|
||||
- value
|
||||
@@ -617,6 +617,20 @@ components:
|
||||
filter:
|
||||
type: string
|
||||
|
||||
InfoResponse:
|
||||
type: object
|
||||
properties:
|
||||
version:
|
||||
type: string
|
||||
search_enabled:
|
||||
type: boolean
|
||||
registration_enabled:
|
||||
type: boolean
|
||||
required:
|
||||
- version
|
||||
- search_enabled
|
||||
- registration_enabled
|
||||
|
||||
securitySchemes:
|
||||
BearerAuth:
|
||||
type: http
|
||||
@@ -1111,6 +1125,26 @@ paths:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
|
||||
/info:
|
||||
get:
|
||||
summary: Get server information
|
||||
operationId: getInfo
|
||||
tags:
|
||||
- Info
|
||||
responses:
|
||||
200:
|
||||
description: Successful response
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/InfoResponse'
|
||||
500:
|
||||
description: Internal server error
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
|
||||
/home:
|
||||
get:
|
||||
summary: Get home page data
|
||||
|
||||
Reference in New Issue
Block a user