Plugins/MSFT_Plugin_Samples/API/OpenAPISpec_BasicAuth.yaml (28 lines of code) (raw):

openapi: 3.0.0 info: title: httpbin.org description: A simple HTTP Request & Response Service. version: "0.9.2" servers: - url: https://httpbin.org/ paths: /basic-auth/{user}/{passwd}: operationId: TestBasicAuth get: summary: Prompts the user for authorization using HTTP Basic parameters: - in: path name: user schema: type: string required: true - in: path name: passwd schema: type: string required: true responses: 200: description: Successful authentication. 401: description: Unsuccessful authentication.