update
Some checks failed
K8S Fission Deployment / Deployment fission functions (push) Failing after 22s
Some checks failed
K8S Fission Deployment / Deployment fission functions (push) Failing after 22s
This commit is contained in:
112
ai_test.openapi.yaml
Normal file
112
ai_test.openapi.yaml
Normal file
@@ -0,0 +1,112 @@
|
||||
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: []
|
||||
Reference in New Issue
Block a user