Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,34 @@ <h2>Compliant Solution</h2>
x-scope: read
x-aut-type: "Application &amp; Application User"
</pre>
<h2>Noncompliant Code Example (OpenAPI 3)</h2>
<pre>
openapi: "3.0.0"
x-wso2-security:
apim:
x-wso2-scopes:
- name: read
key: read
roles: READ_ROLE
description: Allows users to view records
paths:
/pets:
get:
x-scope: read
</pre>
<h2>Compliant Solution (OpenAPI 3)</h2>
<pre>
openapi: "3.0.0"
x-wso2-security:
apim:
x-wso2-scopes:
- name: read
key: read
roles: READ_ROLE
description: Allows users to view records
paths:
/pets:
get:
x-scope: read
x-aut-type: "Application &amp; Application User"
</pre>
Loading