NB will show them for JAX-RS endpoints. Spring MVC (which is what is being used 
in Spring Boot) is not JAX-RS compliant. They do their own thing. Use Grizzly 
Jersey or something that implements the JAX-RS API to see them in the project 
view. You can use Spring with Jersey.

> On Dec 29, 2017, at 4:58 AM, Diederick de Vries 
> <[email protected]> wrote:
> 
> Hi,
> 
> I'm working on a Spring Boot project. I know that NetBeans 8.2 can show
> (restful) http endpoints in the projects tree, but somehow they're not
> showing in this project.
> 
> I think I'm using a standard way to formulate my endpoints:
> 
> @RequestMapping(value = "/add", method = RequestMethod.PUT, consumes =
> MediaType.APPLICATION_FORM_URLENCODED_VALUE)
>    public @ResponseBody ResponseEntity<Object> add(String name) {...}
> 
> What is needed to make NetBeans discover and show them?
> 
> Cheers,
> Diederick
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to