openapi-generator-for-spring icon indicating copy to clipboard operation
openapi-generator-for-spring copied to clipboard

Improve support for WebFlux RouterFunction

Open neiser opened this issue 4 years ago • 0 comments

Open points:

  • The RouterFunctionAnalysis does not handle nesting of router functions, also the integration test App27 only tests very simple router function definitions.

  • The competition library springdoc-open-api has the idea of providing some helper predicates to support router functions better. A first attempt has been NamedHeaderPredicate in this library. Investigate this option closer.

  • Improve support for Content-Type and Accept header based content negotiation as we do for WebMVC handler methods

  • Improve finding the response code of a router function, see RouterFunctionHandlerMethodMapper.ResponseMapper

neiser avatar Nov 30 '20 09:11 neiser