@Operation(description = "Find person by e-mail", responses = {
			@ApiResponse(content = @Content(schema = @Schema(implementation = PersonDTO.class)), responseCode = "200"),
			@ApiResponse(responseCode = "404", description = "Person with such e-mail doesn't exists") })
	@GetMapping(value = "/{email}", produces = MediaType.APPLICATION_JSON_VALUE)
	public PersonDTO findPerson(
			@Parameter(description = "E-Mail address to lookup for", required = true) @PathVariable("email") final String email) {

		final PersonDTO person = people.get(email);

		if (person == null) {
			throw new RuntimeException("Person with such e-mail doesn't exists");
		}

		return person;
	}
Find person person dto.

@param email the email
@return the person dto
springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/java/test/org/springdoc/api/v31/app1/PeopleRestService.java