-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathopenapi3.yml
More file actions
33 lines (33 loc) · 1003 Bytes
/
openapi3.yml
File metadata and controls
33 lines (33 loc) · 1003 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
openapi: 3.0.0
info:
title: Test OpenApi 3 spec
description: Test that our plugins prefer to match responses to less generic paths over more generic paths
version: 0.1.0
paths:
/preferLessGenericPathOverMoreGenericPath/{templatedPath}/{forCodeCoverage}:
get:
responses:
200:
description: Response body should be a number
content:
application/json:
schema:
type: number
/preferLessGenericPathOverMoreGenericPath/{templatedPath}/{templatedPath2}:
get:
responses:
200:
description: Response body should be a number
content:
application/json:
schema:
type: number
/preferLessGenericPathOverMoreGenericPath/{templatedPath}/nonTemplatedPath:
get:
responses:
200:
description: Response body should be a string
content:
application/json:
schema:
type: string