Coder Social home page Coder Social logo

Using custom header in REST client together with `@NotBody` annotated argument results in warning from EndpointIndexer about quarkus HOT 3 CLOSED

mzuber avatar mzuber commented on July 1, 2024
Using custom header in REST client together with `@NotBody` annotated argument results in warning from EndpointIndexer

from quarkus.

Comments (3)

quarkus-bot avatar quarkus-bot commented on July 1, 2024

/cc @cescoffier (rest-client), @geoand (rest-client)

from quarkus.

mzuber avatar mzuber commented on July 1, 2024

@geoand The fix you added in #38800 was released as part of Quarkus 3.7.4 but I'm still seeing the same warnings:

2024-02-23 14:51:50,031 WARN  [org.jbo.res.rea.com.pro.EndpointIndexer] (build-105) Using a body parameter with jakarta.ws.rs.GET is strongly discouraged. Offending method is 'com.example.MyTestClient#java.lang.String getSomethingById(java.lang.String id, java.lang.String token)'
2024-02-23 14:52:00,934 INFO  [io.quarkus] (Quarkus Main Thread) example-app 1.0.0 on JVM (powered by Quarkus 3.7.4) started in 14.306s. Listening on: http://localhost:12000
2024-02-23 14:52:00,935 INFO  [io.quarkus] (Quarkus Main Thread) Profile dev activated. Live Coding activated.
2024-02-23 14:52:00,935 INFO  [io.quarkus] (Quarkus Main Thread) Installed features: [agroal, cache, cdi, hibernate-orm, hibernate-orm-panache, hibernate-validator, jdbc-postgresql, liquibase, micrometer, narayana-jta, reactive-routes, rest-client-reactive, rest-client-reactive-jackson, resteasy-reactive, resteasy-reactive-jackson, security, smallrye-context-propagation, smallrye-graphql, smallrye-health, smallrye-openapi, smallrye-reactive-messaging, smallrye-reactive-messaging-amqp, swagger-ui, vertx]

Am I missing anything here?

from quarkus.

geoand avatar geoand commented on July 1, 2024

You are right, I see the warning is still there, so I'll have to reopen

from quarkus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.