Skip to content

Commit

Permalink
Replace TODO with GH Issue #4
Browse files Browse the repository at this point in the history
  • Loading branch information
neiser committed Nov 30, 2020
1 parent 2faed51 commit ea2a842
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ static RouterFunctionAnalysis.Result analyze(RouterFunction<?> routerFunction) {

@Override
public void startNested(RequestPredicate predicate) {
// TODO handle nesting?
// see GH Issue #4
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public static class RequestBodyMapper implements HandlerMethod.RequestBodyMapper
@Nullable
@Override
public List<HandlerMethod.RequestBody> map(HandlerMethod handlerMethod) {
// TODO implement when dummy parameter type is seen on non-empty content type header?
// see GH Issue #4
return Collections.emptyList();
}
}
Expand All @@ -50,7 +50,7 @@ public List<HandlerMethod.Response> map(HandlerMethod handlerMethod) {
if (handlerMethod instanceof RouterFunctionHandlerMethod) {
RouterFunctionHandlerMethod routerFunctionHandlerMethod = (RouterFunctionHandlerMethod) handlerMethod;
RouterFunctionHandlerMethod.Response response = new RouterFunctionHandlerMethod.Response(
// TODO check if response code just from bean factory method is good enough
// see GH Issue #4
findResponseCode(handlerMethod),
routerFunctionHandlerMethod.getRouterFunctionAnalysisResult().getProducesContentTypesFromHeader(),
// Schema building could still use @Schema annotation from bean factory method,
Expand Down

0 comments on commit ea2a842

Please sign in to comment.