[ 
https://issues.apache.org/jira/browse/OFBIZ-11995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17190057#comment-17190057
 ] 

Jacques Le Roux commented on OFBIZ-11995:
-----------------------------------------

Thanks Girish,

The draft looks good to me, and I see not much need to put documentation in 
since the names and such are quite obvious. We just need to add
{code:xml}<xs:include 
schemaLocation="http://ofbiz.apache.org/dtds/rest-api.xsd"/>{code}. You know 
better than me if it needs more information, seems complete to me.

I glbally agree about resources depending on services, though I'm not sure 
that's the case for all ressources (images come to mind). ANyway we don't need 
to be completely REST orthodoxal, pragmatism is OK with me. So you mean to 
replace the ressource element by the  service element and to remove the service 
element at bottom?

bq. Some elements can be used to generate API documentation as well.
Sorry I have no ideas about that :)

> Define schema for RESTFul resources mapping.
> --------------------------------------------
>
>                 Key: OFBIZ-11995
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11995
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: ALL PLUGINS
>    Affects Versions: Trunk
>            Reporter: Girish Vasmatkar
>            Assignee: Girish Vasmatkar
>            Priority: Major
>         Attachments: rest-api.xsd
>
>
> As a developer, I need to have the ability to define REST resources using XML 
> DSL allowing to plug in OFBiz services to the resources that can serve the 
> HTTP requests.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to