Tighten up multi-valued inputs to "lite" HTTP endpoint

If the user function is single valued but the input is an array,
we should output an array (just like the full webflux version).
This commit is contained in:
Dave Syer
2018-10-25 14:06:34 +01:00
parent 2e5c6d22b5
commit 2691b20a4b
3 changed files with 21 additions and 12 deletions

View File

@@ -13,20 +13,20 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.0.M1</version>
<version>2.1.0.RC1</version>
<relativePath />
</parent>
<properties>
<java.version>1.8</java.version>
<spring-cloud-function.version>2.0.0.BUILD-SNAPSHOT</spring-cloud-function.version>
<wrapper.version>1.0.13.RELEASE</wrapper.version>
<wrapper.version>1.0.17.RELEASE</wrapper.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-function-web</artifactId>
<artifactId>spring-cloud-starter-function-webflux</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>