Skip to content

Commit 14ad3fa

Browse files
committed
feat: Update tests
1 parent 0a44196 commit 14ad3fa

File tree

34 files changed

+287
-179
lines changed

34 files changed

+287
-179
lines changed

test/document-group.test.ts

Lines changed: 160 additions & 179 deletions
Large diffs are not rendered by default.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
openapi: 3.1.0
2+
paths:
3+
/path1:
4+
post:
5+
responses:
6+
'200':
7+
$ref: '#/components/responses/SuccessResponse'
8+
components:
9+
responses:
10+
SuccessResponse:
11+
$ref: '#/components/responses/SuccessResponse2'
12+
SuccessResponse2:
13+
$ref: '#/components/responses/SuccessResponse'
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
openapi: 3.1.0
2+
paths:
3+
/path:
4+
post:
5+
responses:
6+
'200':
7+
$ref: '#/components/responses/SuccessResponse'
8+
components:
9+
responses:
10+
SuccessResponse:
11+
$ref: '#/components/responses/SuccessResponse'
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
openapi: 3.1.0
2+
paths:
3+
/path1:
4+
post:
5+
responses:
6+
'200':
7+
$ref: '#/components/responses/SuccessResponse'
8+
components:
9+
responses:
10+
SuccessResponse:
11+
description: response description SuccessResponse
12+
content:
13+
application/json:
14+
schema:
15+
type: object
16+
properties:
17+
success:
18+
type: boolean
19+
example: true
20+
SuccessResponse1:
21+
description: response description SuccessResponse1
22+
content:
23+
application/json:
24+
schema:
25+
type: object
26+
properties:
27+
success:
28+
type: boolean
29+
example: true

0 commit comments

Comments
 (0)