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
Give the possibility to specify the response object as part of the @ApiResponseObject annotation. For example:
@ApiResponseObject(City.class)
letting it possible to annotate old school servlets:
@ApiMethod(path = "/implicitResponseObject", verb = ApiVerb.GET, description = "a-test-method") @ApiResponseObject(City.class) protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { ... }
Use the JSONDocTypeBuilder class to build the return type. Please create JSONDocNullType and use it as default class in the annotation declaration.
The text was updated successfully, but these errors were encountered:
added spark example issue #41. fixed issue #38.
9fad52d
68e9b4a
97f67d8
No branches or pull requests
Give the possibility to specify the response object as part of the @ApiResponseObject annotation. For example:
letting it possible to annotate old school servlets:
Use the JSONDocTypeBuilder class to build the return type. Please create JSONDocNullType and use it as default class in the annotation declaration.
The text was updated successfully, but these errors were encountered: