113 lines
2.4 KiB
YAML
113 lines
2.4 KiB
YAML
|
|
openapi: 3.0.1
|
||
|
|
info:
|
||
|
|
title: ai_test
|
||
|
|
description: ''
|
||
|
|
version: 1.0.0
|
||
|
|
tags: []
|
||
|
|
paths:
|
||
|
|
/ai/admin/users:
|
||
|
|
get:
|
||
|
|
summary: filter
|
||
|
|
deprecated: false
|
||
|
|
description: ''
|
||
|
|
tags: []
|
||
|
|
parameters: []
|
||
|
|
responses:
|
||
|
|
'200':
|
||
|
|
description: ''
|
||
|
|
content:
|
||
|
|
application/json:
|
||
|
|
schema:
|
||
|
|
type: object
|
||
|
|
properties: {}
|
||
|
|
security: []
|
||
|
|
post:
|
||
|
|
summary: create
|
||
|
|
deprecated: false
|
||
|
|
description: ''
|
||
|
|
tags: []
|
||
|
|
parameters: []
|
||
|
|
requestBody:
|
||
|
|
content:
|
||
|
|
application/json:
|
||
|
|
schema:
|
||
|
|
type: object
|
||
|
|
properties:
|
||
|
|
name:
|
||
|
|
type: string
|
||
|
|
dob:
|
||
|
|
type: string
|
||
|
|
email:
|
||
|
|
type: string
|
||
|
|
gender:
|
||
|
|
type: string
|
||
|
|
required:
|
||
|
|
- name
|
||
|
|
- dob
|
||
|
|
- email
|
||
|
|
- gender
|
||
|
|
example:
|
||
|
|
name: Duc Nguyen
|
||
|
|
dob: '2002-09-25'
|
||
|
|
email: ducit2509@gmail.com
|
||
|
|
gender: MALE
|
||
|
|
responses:
|
||
|
|
'200':
|
||
|
|
description: ''
|
||
|
|
content:
|
||
|
|
application/json:
|
||
|
|
schema:
|
||
|
|
type: object
|
||
|
|
properties: {}
|
||
|
|
security: []
|
||
|
|
/:
|
||
|
|
get:
|
||
|
|
summary: delete
|
||
|
|
deprecated: false
|
||
|
|
description: ''
|
||
|
|
tags: []
|
||
|
|
parameters: []
|
||
|
|
responses:
|
||
|
|
'200':
|
||
|
|
description: ''
|
||
|
|
content:
|
||
|
|
application/json:
|
||
|
|
schema:
|
||
|
|
type: object
|
||
|
|
properties: {}
|
||
|
|
security: []
|
||
|
|
components:
|
||
|
|
schemas: {}
|
||
|
|
responses:
|
||
|
|
Record not found:
|
||
|
|
description: ''
|
||
|
|
content:
|
||
|
|
application/json:
|
||
|
|
schema:
|
||
|
|
type: object
|
||
|
|
properties:
|
||
|
|
code:
|
||
|
|
type: integer
|
||
|
|
message:
|
||
|
|
type: string
|
||
|
|
required:
|
||
|
|
- code
|
||
|
|
- message
|
||
|
|
Invalid input:
|
||
|
|
description: ''
|
||
|
|
content:
|
||
|
|
application/json:
|
||
|
|
schema:
|
||
|
|
type: object
|
||
|
|
properties:
|
||
|
|
code:
|
||
|
|
type: integer
|
||
|
|
message:
|
||
|
|
type: string
|
||
|
|
required:
|
||
|
|
- code
|
||
|
|
- message
|
||
|
|
securitySchemes: {}
|
||
|
|
servers: []
|
||
|
|
security: []
|