code: public boolean expectsResponseBody() {
          boolean result = true;
  
          if (TypeUtil.isTypeOrSubTypeOf(returnType, Void.class)) {
              result = false;
          } else if (TypeUtil.isTypeOrSubTypeOf(returnType, Mono.class) || TypeUtil.isTypeOrSubTypeOf(returnType, Flux.class)) {
              final ParameterizedType asyncReturnType = (ParameterizedType) returnType;
              final Type syncReturnType = asyncReturnType.getActualTypeArguments()[0];
              if (TypeUtil.isTypeOrSubTypeOf(syncReturnType, Void.class)) {
                  result = false;
              } else if (TypeUtil.isTypeOrSubTypeOf(syncReturnType, Response.class)) {
                  result = TypeUtil.restResponseTypeExpectsBody((ParameterizedType) TypeUtil.getSuperType(syncReturnType, Response.class));
              }
          } else if (TypeUtil.isTypeOrSubTypeOf(returnType, Response.class)) {
              result = TypeUtil.restResponseTypeExpectsBody((ParameterizedType) returnType);
          }
  
          return result;
      }
docs: Checks whether or not the Swagger method expects the response to contain a body.
  
  @return true if Swagger method expects the response to contain a body, false otherwise