test(oath): for authorization bearer (#7936)

This commit is contained in:
Tim Lai
2022-03-23 14:29:02 -07:00
committed by GitHub
parent 7d254d0a2e
commit 7b06ac1b7c
2 changed files with 71 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
openapi: 3.0.0
info:
title: Bearer auth test
version: 1.0.0
servers:
# - url: https://httpbin.org # live external url
- url: http://localhost:3231 # will need to mock
paths:
/get:
get:
responses:
'200':
description: ok
security:
- bearerAuth: []
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer