Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 1.21 KB

README.md

File metadata and controls

41 lines (25 loc) · 1.21 KB

Quarkus Restlint

This extension was created for the 18th JUG Vale event.

Title: Desbravando o Quarkus Criando extensōes para sua aplicação nativa de nuvem

img.png

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 @PathParamannotations.

@GET
public Response findByName(@QueryParam("name") String name) {}

Features

A DevUI page describing what errors has in the source code.

img.png

The source code responsible for creating this DevUI page can be found here.

Links

Writing extensions

If you want to learn more about how to create a Quarkus extension see the following links: