webapi-parser icon indicating copy to clipboard operation
webapi-parser copied to clipboard

How to get securitySchemes for oauth_2_0

Open vipulvaghela86 opened this issue 3 years ago • 1 comments

Library version used 0.5.0

Language library used with Java

My RAML file content like below securitySchemes: oauth_2_0: description: | Dropbox supports OAuth 2.0 for authenticating all API requests. type: OAuth 2.0 describedBy: headers: Authorization: description: | Used to send a valid OAuth 2 access token. Do not use with the "access_token" query string parameter. type: string

I want to get details of headers described in securitiesSchemes, how can I ? I'm trying to read like this but seems no more information on this securities object.

WebApi api = (WebApi) webModel.encodes(); Map<String, Object> root = new LinkedHashMap<>();

    **List<SecurityRequirement> securities =  api.security();**

vipulvaghela86 avatar Mar 06 '22 20:03 vipulvaghela86

Git2Gus App is installed but the .git2gus/config.json doesn't exist.

uip-robot-zz avatar Mar 06 '22 20:03 uip-robot-zz