Code Monkey home page Code Monkey logo

Comments (4)

patoch avatar patoch commented on May 15, 2024

Hello,

I was looking at the code and found that in the ApiMethod reader, parameters are added even though no annotation is set.

private void documentParameters() {

          ....

        if (apiParam == null)
        {
            log.warn("{} is missing @ApiParam annotation - so generating default documentation", 
                     methodParameter.getMethod());
            generateDefaultParameterDocumentation(methodParameter);
            continue;
        }

           ....

}

Wouldn' it be good not to add anything in this case, so that the user can choose which parameter to publish ?

Thanks for your feedback,

Patrick

NB: I couldn't compile your sources, is there anything to be cautious of ? don't know the "val" type, looks like scala...

from springfox.

patoch avatar patoch commented on May 15, 2024

Hi,

just found out you should add lombok to your dependencies :

org.projectlombok lombok 0.11.4 provided

from springfox.

vtn avatar vtn commented on May 15, 2024

Any answer to this apart from recompiling? Thanks

from springfox.

dilipkrish avatar dilipkrish commented on May 15, 2024

@patoch this feature has been implemented in the 0.3.1-SNAPSHOT. @vtn there should be a 0.3.1 release in a week or so that you could use :)

from springfox.

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.