Bug Report Checklist
Description
Path parameters (which are required) are not marked @NotNull
openapi-generator version
7.15
OpenAPI declaration file content or url
You can see this in the samples.
|
default ResponseEntity<Void> deletePet( |
The operation is DELETE /pet/{petId} - but petId is not marked NotNull despite being required
@ApiParam(value = "Pet id to delete", required = true) @PathVariable("petId") Long petId,
Bug Report Checklist
Description
Path parameters (which are required) are not marked
@NotNullopenapi-generator version
7.15
OpenAPI declaration file content or url
You can see this in the samples.
openapi-generator/samples/server/petstore/springboot/src/main/java/org/openapitools/api/PetApi.java
Line 107 in bdfbb32
The operation is
DELETE /pet/{petId}- but petId is not marked NotNull despite being required