我将如何记录Swagger的InputStream路径参数?List<Person>ApiPath 似乎没有 request 和 requestContainer 参数。提前致谢。
@POST
@Path("/V1/person/batch")
public void postPersonBatch(InputStream in) throws IOException {
try (MappingIterator<Person> people = reader.readValues(in)) {
people.forEachRemaining(writer::write);
}
}