We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<rule name="AvoidSameMethodInvocationInChain" since="0.3.0" language="java" externalInfoUrl="https://github.com/dgroup/arch4u-pmd/discussions/..." message="Avoid same method invocation in chain: https://github.com/dgroup/arch4u-pmd/discussions/..." class="io.github.dgroup.arch4u.pmd.AvoidSameMethodInvocationInChain"> <priority>3</priority> <properties> <property name="allowedMethods" value="to"/> </properties> </rule>
description
rest() .post("/tbd") .id("tbd-endpoint").description("TBD endpoint") .description("TBD endpoint again ") //violation here .consumes(MediaType.APPLICATION_JSON_VALUE) .produces(MediaType.APPLICATION_JSON_VALUE)
to
rest() .post("/tbd") .id("tbd-endpoint") .description("tbd endpoint") .consumes(MediaType.APPLICATION_JSON_VALUE) .produces(MediaType.APPLICATION_JSON_VALUE) .to("tbd 1") .to("tbd 2")
The text was updated successfully, but these errors were encountered:
dgroup
No branches or pull requests
Summary
Your rule definition
Describe the defect or false/positive rule violation
description
invoked twiceto
is allowedThe text was updated successfully, but these errors were encountered: