|
1 | 1 | /** |
2 | | - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (7.13.0-SNAPSHOT). |
| 2 | + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (7.15.0-SNAPSHOT). |
3 | 3 | * https://openapi-generator.tech |
4 | 4 | * Do not edit the class manually. |
5 | 5 | */ |
|
18 | 18 | import io.swagger.v3.oas.annotations.security.SecurityRequirement; |
19 | 19 | import io.swagger.v3.oas.annotations.tags.Tag; |
20 | 20 | import io.swagger.v3.oas.annotations.enums.ParameterIn; |
| 21 | +import io.swagger.v3.oas.annotations.media.ExampleObject; |
21 | 22 | import org.springframework.http.HttpStatus; |
22 | 23 | import org.springframework.http.MediaType; |
| 24 | +import org.springframework.lang.Nullable; |
23 | 25 | import org.springframework.http.ResponseEntity; |
24 | 26 | import org.springframework.validation.annotation.Validated; |
25 | 27 | import org.springframework.web.bind.annotation.*; |
|
33 | 35 | import java.util.Optional; |
34 | 36 | import javax.annotation.Generated; |
35 | 37 |
|
36 | | -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.13.0-SNAPSHOT") |
| 38 | +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.15.0-SNAPSHOT") |
37 | 39 | @Validated |
38 | 40 | @Tag(name = "Foo", description = "the Foo API") |
39 | 41 | public interface FooApi { |
@@ -66,7 +68,7 @@ default Optional<NativeWebRequest> getRequest() { |
66 | 68 | ) |
67 | 69 |
|
68 | 70 | default ResponseEntity<FooRefOrValue> createFoo( |
69 | | - @Parameter(name = "Foo", description = "The Foo to be created") @Valid @RequestBody(required = false) Foo foo |
| 71 | + @Parameter(name = "Foo", description = "The Foo to be created") @Valid @RequestBody(required = false) @Nullable Foo foo |
70 | 72 | ) { |
71 | 73 | getRequest().ifPresent(request -> { |
72 | 74 | for (MediaType mediaType: MediaType.parseMediaTypes(request.getHeader("Accept"))) { |
|
0 commit comments