Annotation Interface OkWithResource
A convenience annotation that is itself annotated with
@ApiResponse.
Methods that carry this annotation will be included in generated
openApi documentation with predefined HTTP status code 200.
And are assumed to have a ResponseEntity return type.
That will have at least Content-Disposition header specified.
@ResponseBody description and example will
not be generated.
NOTE: @OkWithResource is processed if annotated method
is part of properly configured RestController and
springdoc-openapi library.
- Since:
- 1.0
- Author:
- Ilya Nikolaev
- See Also: