Skip to content

Commit aa67301

Browse files
committed
example
1 parent 913ed8f commit aa67301

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

docs/specs/server-override.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
openapi: 3.0.2
2+
info:
3+
version: '1.0'
4+
title: Server Override
5+
description: For testing operation server override
6+
servers:
7+
- url: http://www.defaultserver.com
8+
paths:
9+
/simple:
10+
get:
11+
summary: Test override servers
12+
responses:
13+
'200':
14+
description: successful operation
15+
content:
16+
application/json:
17+
schema:
18+
type: string
19+
/simple-override:
20+
get:
21+
summary: Test override servers
22+
responses:
23+
'200':
24+
description: successful operation
25+
content:
26+
application/json:
27+
schema:
28+
type: string
29+
servers:
30+
- url: 'https://www.customserver1.com'
31+
- url: 'https://www.customserver2.com'

0 commit comments

Comments
 (0)