Skip to content

A Controller method that does not return a response body still documents a schema, media type, etc #40

@leoherbie

Description

@leoherbie
@GetMapping("/health")
@ResponseStatus(HttpStatus.OK)
fun check() { }

This function only returns a status code and nothing more. I would expect the generated documentation to reflect this. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions