Steps to reproduce:
- configure latest nightly
- login as amadmin
- try to access /json/docs/api
The following stacktrace can be found by debugger:
Caused by: java.lang.NullPointerException at org.forgerock.api.markup.ApiDocGenerator.outputResource(ApiDocGenerator.java:406) at org.forgerock.api.markup.ApiDocGenerator.outputPaths(ApiDocGenerator.java:321) at org.forgerock.api.markup.ApiDocGenerator.doExecute(ApiDocGenerator.java:208) at org.forgerock.api.markup.ApiDocGenerator.execute(ApiDocGenerator.java:201) at org.forgerock.openam.core.rest.docs.api.ApiDocsService.handle(ApiDocsService.java:138)
This seems to happen because SmsCollectionProvider does not set the description on the resource.
After fixing this bug there are other problems around query().description() and action().description as well.