[ 
http://opencast.jira.com/browse/MH-7850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=26980#comment-26980
 ] 

Kenneth Lui commented on MH-7850:
---------------------------------

In the previous version of the documentation engine, it did not allow GET 
endpoints to have any required rest parameters. I just reproduced the same 
requirement in the new engine.

In line 191 in RestEndpointData.java (in org.opencastproject.runtimeinfo.rest), 
it checks to make sure that whether there is a required parameter, the endpoint 
does not use GET method.

So the question comes into whether a GET endpoint can have required parameters, 
which I do not know the answer.

> REST Docs do not allow required GET parameters, returns 500 server error
> ------------------------------------------------------------------------
>
>                 Key: MH-7850
>                 URL: http://opencast.jira.com/browse/MH-7850
>             Project: Matterhorn Project
>          Issue Type: Bug
>          Components: Administrative Tools, documentation
>    Affects Versions: 1.2
>            Reporter: Micah Sutton
>            Assignee: Kenneth Lui
>            Priority: Release Blocker
>             Fix For: 1.2
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to