This repository has been archived by the owner on Nov 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dom Harrington
committed
Sep 11, 2018
1 parent
09bee48
commit 128599d
Showing
3 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"openapi": "3.0.0", | ||
"servers": [ | ||
{ | ||
"url": "http://httpbin.org" | ||
} | ||
], | ||
"info": { | ||
"version": "1.0.0", | ||
"title": "x-headers demo" | ||
}, | ||
"paths": { | ||
"/post": { | ||
"post": { | ||
"summary": "Should send static x-headers with the request", | ||
"description": "", | ||
"parameters": [], | ||
"responses": { | ||
"200": { | ||
"description": "Successful" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"x-headers": [ | ||
{ | ||
"key": "x-api-key", | ||
"value": "static-value" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters