Created
March 24, 2018 06:15
-
-
Save shockey/c9a1a2340ba3adabd007d2f83d1edc98 to your computer and use it in GitHub Desktop.
HTTPBin Basic Auth
This file contains hidden or 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
swagger: "2.0" | |
host: httpbin.org | |
basePath: / | |
paths: | |
/basic-auth/{user}/{pass}: | |
get: | |
security: | |
- MyBasicAuth: [] | |
parameters: | |
- name: user | |
in: path | |
required: true | |
- name: pass | |
in: path | |
required: true | |
responses: | |
200: | |
description: OK | |
securityDefinitions: | |
MyBasicAuth: | |
type: basic |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment