Skip to content

Commit

Permalink
doc: Update swagger documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveGT96 committed Oct 23, 2024
1 parent 912de97 commit 25e6cd6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions openapi/oh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6237,10 +6237,10 @@ components:
example: 0
opd:
type: boolean
female:
type: boolean
male:
type: boolean
female:
type: boolean
pharmacy:
type: boolean
PatientDTO:
Expand Down Expand Up @@ -7571,12 +7571,12 @@ components:
type: array
description: Possible result for the exam(only for exams with procedure
1 and 2)
example: "['POSITIVE', 'NEGATIVE']"
example: "['>=12 (NORMAL)', 'IRREGULAR']"
items:
type: string
description: Possible result for the exam(only for exams with procedure
1 and 2)
example: "['POSITIVE', 'NEGATIVE']"
example: "['>=12 (NORMAL)', 'IRREGULAR']"
PatientExaminationDTO:
required:
- patientCode
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/isf/exam/dto/ExamWithRowsDTO.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
import io.swagger.v3.oas.annotations.media.Schema;

public record ExamWithRowsDTO(
@NotNull @Schema(name = "exam", description = "The exam to mutate") ExamDTO exam,
@Schema(name = "rows", example = "['POSITIVE', 'NEGATIVE']", description = "Possible result for the exam(only for exams with procedure 1 and 2)") List<String> rows
@NotNull @Schema(name = "exam", description = "The exam to be changed") ExamDTO exam,
@Schema(name = "rows", example = "['>=12 (NORMAL)', 'IRREGULAR']", description = "Possible result for the exam(only for exams with procedure 1 and 2)") List<String> rows
) {

}

0 comments on commit 25e6cd6

Please sign in to comment.