forked from loafle/openapi-generator-original
Merge remote-tracking branch 'origin/master' into 4.3.x
This commit is contained in:
@@ -72,7 +72,7 @@ public interface FakeApi {
|
||||
@RequestMapping(value = "/fake/outer/boolean",
|
||||
produces = { "*/*" },
|
||||
method = RequestMethod.POST)
|
||||
default ResponseEntity<Boolean> fakeOuterBooleanSerialize(@ApiParam(value = "Input boolean as post body" ) @Valid @RequestBody Boolean body) {
|
||||
default ResponseEntity<Boolean> fakeOuterBooleanSerialize(@ApiParam(value = "Input boolean as post body" ) @Valid @RequestBody(required = false) Boolean body) {
|
||||
return getDelegate().fakeOuterBooleanSerialize(body);
|
||||
}
|
||||
|
||||
@@ -90,7 +90,7 @@ public interface FakeApi {
|
||||
@RequestMapping(value = "/fake/outer/composite",
|
||||
produces = { "*/*" },
|
||||
method = RequestMethod.POST)
|
||||
default ResponseEntity<OuterComposite> fakeOuterCompositeSerialize(@ApiParam(value = "Input composite as post body" ) @Valid @RequestBody OuterComposite body) {
|
||||
default ResponseEntity<OuterComposite> fakeOuterCompositeSerialize(@ApiParam(value = "Input composite as post body" ) @Valid @RequestBody(required = false) OuterComposite body) {
|
||||
return getDelegate().fakeOuterCompositeSerialize(body);
|
||||
}
|
||||
|
||||
@@ -108,7 +108,7 @@ public interface FakeApi {
|
||||
@RequestMapping(value = "/fake/outer/number",
|
||||
produces = { "*/*" },
|
||||
method = RequestMethod.POST)
|
||||
default ResponseEntity<BigDecimal> fakeOuterNumberSerialize(@ApiParam(value = "Input number as post body" ) @Valid @RequestBody BigDecimal body) {
|
||||
default ResponseEntity<BigDecimal> fakeOuterNumberSerialize(@ApiParam(value = "Input number as post body" ) @Valid @RequestBody(required = false) BigDecimal body) {
|
||||
return getDelegate().fakeOuterNumberSerialize(body);
|
||||
}
|
||||
|
||||
@@ -126,7 +126,7 @@ public interface FakeApi {
|
||||
@RequestMapping(value = "/fake/outer/string",
|
||||
produces = { "*/*" },
|
||||
method = RequestMethod.POST)
|
||||
default ResponseEntity<String> fakeOuterStringSerialize(@ApiParam(value = "Input string as post body" ) @Valid @RequestBody String body) {
|
||||
default ResponseEntity<String> fakeOuterStringSerialize(@ApiParam(value = "Input string as post body" ) @Valid @RequestBody(required = false) String body) {
|
||||
return getDelegate().fakeOuterStringSerialize(body);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user