withRequestAsCollection sets MethodDescriptor.requestAsCollection true but SwaggerSpecBuilder.buildRequestFromType does not check isRequestAsCollection so the documentation ends up with a model of the type rather than a model of a collection of the type.