File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
springdoc-openapi-common/src/main/java/org/springdoc/core Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 7171import org .springframework .web .bind .annotation .ExceptionHandler ;
7272import org .springframework .web .bind .annotation .ResponseStatus ;
7373import org .springframework .web .bind .annotation .RestControllerAdvice ;
74- import org .springframework .web .context .request .WebRequest ;
7574import org .springframework .web .context .request .async .DeferredResult ;
7675
7776import static org .springdoc .core .Constants .SPRINGDOC_DEPRECATING_CONVERTER_ENABLED ;
@@ -350,12 +349,11 @@ class OpenApiResourceAdvice {
350349 * Handle no handler found response entity.
351350 *
352351 * @param e the e
353- * @param request the request
354352 * @return the response entity
355353 */
356354 @ ExceptionHandler (OpenApiResourceNotFoundException .class )
357355 @ ResponseStatus (HttpStatus .NOT_FOUND )
358- public ResponseEntity <ErrorMessage > handleNoHandlerFound (OpenApiResourceNotFoundException e , WebRequest request ) {
356+ public ResponseEntity <ErrorMessage > handleNoHandlerFound (OpenApiResourceNotFoundException e ) {
359357 return ResponseEntity .status (HttpStatus .NOT_FOUND ).body (new ErrorMessage (e .getMessage ()));
360358 }
361359 }
You can’t perform that action at this time.
0 commit comments