diff --git a/src/main/scala/code/api/v1_4_0/APIMethods140.scala b/src/main/scala/code/api/v1_4_0/APIMethods140.scala index be2a9ebae..7b674fe19 100644 --- a/src/main/scala/code/api/v1_4_0/APIMethods140.scala +++ b/src/main/scala/code/api/v1_4_0/APIMethods140.scala @@ -302,13 +302,24 @@ trait APIMethods140 extends Loggable with APIMethods130 with APIMethods121{ "GET", "/resource-docs/obp", "Get Resource Documentation in OBP format.", - "Returns documentation about the resources on this server including example body for POST or PUT requests.", + """Returns documentation about the RESTful resources on this server including example body for POST or PUT requests. + | Thus the OBP API Explorer (and other apps) can display and work with the API documentation. + | In the future this information will be used to create Swagger and RAML files. + | + """, emptyObjectJson, emptyObjectJson, emptyObjectJson :: Nil ) - // Provides resource documents so that live docs (currently on Sofi) can display API documentation + // Provides resource documents so that API Explorer (or other apps) can display API documentation lazy val getResourceDocs : PartialFunction[Req, Box[User] => Box[JsonResponse]] = { case "resource-docs" :: "obp" :: Nil JsonGet _ => { user => {