To indicate that the method may be called without applying any securityScheme, the method may be annotated with the null securityScheme.
...
securedBy: [null, oauth_2_0]
When adding null to the array of security types, I get:
java.lang.NullPointerException
at guru.nidi.ramltester.core.SecurityExtractor.queryParameters(SecurityExtractor.java:46)
at guru.nidi.ramltester.core.RamlChecker.checkQueryParameters(RamlChecker.java:146)
at guru.nidi.ramltester.core.RamlChecker.checkRequest(RamlChecker.java:112)
at guru.nidi.ramltester.core.RamlChecker.check(RamlChecker.java:68)
Per RAML spec:
When adding
null
to the array of security types, I get: