Skip to content

Commit c56f501

Browse files
committed
added openai spec fixture
1 parent 5479046 commit c56f501

2 files changed

Lines changed: 37 additions & 1 deletion

File tree

‎.gitignore‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,5 +199,4 @@ dist
199199
# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)
200200

201201
*.lua
202-
openapi.json
203202

‎test/fixtures/openapi.json‎

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"openapi": "3.0.0",
3+
"info": {
4+
"title": "test",
5+
"version": "1.0.0"
6+
},
7+
"paths": {
8+
"/users/{target}/flags": {
9+
"get": {
10+
"responses": {
11+
"200": {
12+
"description": "ok"
13+
}
14+
}
15+
}
16+
},
17+
"/echo": {
18+
"post": {
19+
"requestBody": {
20+
"required": false,
21+
"content": {
22+
"application/json": {
23+
"schema": {
24+
"type": "object"
25+
}
26+
}
27+
}
28+
},
29+
"responses": {
30+
"200": {
31+
"description": "ok"
32+
}
33+
}
34+
}
35+
}
36+
}
37+
}

0 commit comments

Comments
 (0)