@DeleteMapping(value = "/{email}")
	@Operation(description = "Delete existing person", responses = {
			@ApiResponse(responseCode = "204", description = "Person has been deleted"),
			@ApiResponse(responseCode = "404", description = "Person with such e-mail doesn't exists") })
	public ResponseEntity<String> deletePerson(
			@Parameter(description = "E-Mail address to lookup for", required = true) @PathVariable("email") final String email) {
		if (people.remove(email) == null) {
			throw new RuntimeException("Person with such e-mail doesn't exists");
		}
		return ResponseEntity.noContent().build();
	}
Delete person response entity.

@param email the email
@return the response entity
springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/java/test/org/springdoc/api/v30/app1/PeopleRestService.java