A2Pro commited on
Commit
d7bd605
·
1 Parent(s): 8c682e4

Create openai.yaml

Browse files
Files changed (1) hide show
  1. .well-known/openai.yaml +38 -0
.well-known/openai.yaml ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ openapi: 3.0.1
2
+ info:
3
+ title: TODO Plugin
4
+ description: A plugin that dectects if the command acc:UP, acc:DOWN, acc:CLICK, or acc:CLICK first are either in the text or implied by the text.
5
+ version: 'v1'
6
+ servers:
7
+ - url: https://posix4e-puppet.hf.space/
8
+ paths:
9
+ /detectcommand/{command}:
10
+ get:
11
+ operationId: detectCommand
12
+ summary: Detect if up down click or click first are in the command
13
+ parameters:
14
+ - in: path
15
+ name: command
16
+ schema:
17
+ type: string
18
+ required: true
19
+ description: The command to check.
20
+ responses:
21
+ "200":
22
+ description: OK
23
+ content:
24
+ application/json:
25
+ schema:
26
+ $ref: '#/components/schemas/getTodosResponse'
27
+
28
+
29
+ components:
30
+ schemas:
31
+ detectcommandResponse:
32
+ type: object
33
+ properties:
34
+ todos:
35
+ type: array
36
+ items:
37
+ type: string
38
+ description: Command you are detecting.