fork of hey-api/openapi-ts because I need some additional things
1{
2 "paths": {
3 "/test1/{pathId}": {
4 "get": {
5 "summary": "First endpoint using the same pathId schema",
6 "parameters": [
7 {
8 "$ref": "path-parameter.json#/components/parameters/pathId"
9 }
10 ],
11 "responses": {
12 "200": {
13 "description": "Test 1 response"
14 }
15 }
16 }
17 },
18 "/test2/{pathId}": {
19 "get": {
20 "summary": "Second endpoint using the same pathId schema",
21 "parameters": [
22 {
23 "$ref": "path-parameter.json#/components/parameters/pathId"
24 }
25 ],
26 "responses": {
27 "200": {
28 "description": "Test 2 response"
29 }
30 }
31 }
32 }
33 }
34}