Skip to content

mcruzdev/quarkus-restlint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

JUG Vale 2024-08-22 @ Adyen

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages