...
1swagger: "2.0"
2info:
3 version: "1.0.0"
4 title: "fragment-param test"
5schemes:
6- http
7basePath: /service
8paths:
9 /foo/bar{fragment}.{subfragment}:
10 get:
11 description: "lookup foo with bar*.*, where * is some string"
12 parameters:
13 - name: "fragment"
14 in: "path"
15 type: string
16 required: true
17 description: "this fragment header parameter is not recognized by codegen"
18 - name: "subfragment"
19 in: "path"
20 type: string
21 required: true
22 description: "this subfragment header parameter is not recognized by codegen"
23 produces:
24 - text/plain
25 responses:
26 '200':
27 description: "Successful"
28 schema:
29 type: string
30 '400':
31 description: "Bad request"
32
View as plain text