This extension was created for the 18th JUG Vale event.
Title: Desbravando o Quarkus Criando extensōes para sua aplicação nativa de nuvem
The idea is to demonstrate what is possible to create with a Quarkus extensions.
The goal of this extension is to evict the developer to allow request body when using a GET verb.
@GET
public Response findByName(Map<String, Object> body) {}
We want to assert that the developer have to use @QueryParam
, @Context
or @PathParam
annotations.
@GET
public Response findByName(@QueryParam("name") String name) {}
A DevUI page describing what errors has in the source code.
The source code responsible for creating this DevUI page can be found here.
If you want to learn more about how to create a Quarkus extension see the following links: