Skip to content

APITool and param object #1096

@aclowkey

Description

@aclowkey

The parameter objects are great to have a reasonable route method signature.
However, what is lost is the documentation of the API tool.

You can see this happen in a sample project: jooby-apitool-param-obj

At the moment we're working around this by writing custom ApiPaser, ApiProvider and ApiTool and annotations to hack our way around this using reflection. This will be difficult to maintain as Jooby upgrades.

I think there must be other projects which use the same method of accepting many GET params, and losing the documentation tool.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions