Add tests for http basic authentication in python client (#16488)

* add tests for http basic auth in python client

* add new files
This commit is contained in:
William Cheng
2023-09-03 19:11:53 +08:00
committed by GitHub
parent b59719a6ea
commit 47a85e880b
41 changed files with 2096 additions and 30 deletions

View File

@@ -469,6 +469,23 @@ paths:
- body
x-content-type: multipart/form-data
x-accepts: text/plain
/auth/http/basic:
post:
description: To test HTTP basic authentication
operationId: test/auth/http/basic
responses:
"200":
content:
text/plain:
schema:
type: string
description: Successful operation
security:
- http_auth: []
summary: To test HTTP basic authentication
tags:
- auth
x-accepts: text/plain
components:
requestBodies:
Pet:
@@ -729,4 +746,8 @@ components:
required:
- files
type: object
securitySchemes:
http_auth:
scheme: basic
type: http