Skip to content

Commit

Permalink
Change security scheme name for scopes_openAPI.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mevan-karu committed Nov 10, 2024
1 parent b214e4c commit 426e44e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ info:
name: Apache 2.0
url: 'http://www.apache.org/licenses/LICENSE-2.0.html'
security:
- petstore_auth:
- default:
- 'write:scopes'
x-wso2-cors:
accessControlAllowOrigins:
Expand Down Expand Up @@ -102,7 +102,7 @@ paths:
'404':
description: Pet not found
security:
- petstore_auth: []
- default: []
'/pets/findByTags':
get:
tags:
Expand Down Expand Up @@ -132,7 +132,7 @@ paths:
'400':
description: Invalid tag value
security:
- petstore_auth:
- default:
- 'write:scopes'
- 'read:scopes'
deprecated: true
Expand All @@ -141,7 +141,7 @@ securityDefinitions:
type: apiKey
name: api_key
in: header
petstore_auth:
default:
type: oauth2
authorizationUrl: 'http://mockBackend:2380/oauth/authorize'
flow: implicit
Expand Down

0 comments on commit 426e44e

Please sign in to comment.