These are fantastic tutorials, thanks for making it
@balajijawalageri8172 жыл бұрын
I have observed that when applied securityscheme (custom) , though I mentioned header details in the securityscheme as mandatory, but it doesn't behave the same way at the implementation. I mean after the raml is imported into the code, when mandatory header details not passed, I'd expected it fails with raml validation as header not passed but not the case.It will simply pass the request to the flow without failure. Mandatory check is only shown in the design centre - Mock service.!!
@shounakrendalkar9460 Жыл бұрын
You have to include required : true and also write minLength and maxLength.
@katamreddymanjula28854 жыл бұрын
Continue your good work
@anonymous-us5dz4 жыл бұрын
cool.
@ramesha52433 жыл бұрын
Hello Sir, what is the use of resource path? like /accounts
@meghalogy3 жыл бұрын
Very informative!!!! Q: Is it possible to add multiple security schemes using secured by? If I add multiple, RAML recognises them as optional. But what if we want them both to be mandatory?
@manilkumar79643 жыл бұрын
Hi sir, i have one doubt . which policy can we apply entire RAML
client_id String Required client_secret String Required but it's not validating when no value filled No code differences , pls help me to understand
@ajinkyabansode6568 Жыл бұрын
same question. please let me know if you get any answers over this.
@shounakrendalkar9460 Жыл бұрын
You have to include required : true and also write minLength and maxLength.@@ajinkyabansode6568
@ErickCianca Жыл бұрын
#%RAML 1.0 SecurityScheme type: x-token-authorize description: This will make sure that we have token in Authorization header describedBy: headers: cliente-id: type: string required: true minLength: 1 maxLength: 12 responses: 401: description: 401- UnAuthorize access