File tree Expand file tree Collapse file tree 2 files changed +1
-19
lines changed Expand file tree Collapse file tree 2 files changed +1
-19
lines changed Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ public static void main(final String[] args) throws Exception {
240
240
});
241
241
242
242
post ("/followup/alteration" , (req , res ) -> {
243
- addOptions ( req , res );
243
+ res . status ( HttpStatus . OK_200 );
244
244
addContent (req , res );
245
245
List <GeneticAlteration > alterations = objectMapper .readValue (req .body (),
246
246
new TypeReference <List <GeneticAlteration >>() {
Original file line number Diff line number Diff line change 10
10
@ JsonPropertyOrder ({
11
11
"author" ,
12
12
"date" ,
13
- "diagnosis" ,
14
13
"generalRecommendation" ,
15
14
"geneticCounselingRecommendation" ,
16
15
"id" ,
@@ -26,8 +25,6 @@ public class Mtb {
26
25
private String author ;
27
26
@ JsonProperty ("date" )
28
27
private String date ;
29
- @ JsonProperty ("diagnosis" )
30
- private String diagnosis ;
31
28
@ JsonProperty ("generalRecommendation" )
32
29
private String generalRecommendation ;
33
30
@ JsonProperty ("geneticCounselingRecommendation" )
@@ -75,21 +72,6 @@ public Mtb withDate(String date) {
75
72
return this ;
76
73
}
77
74
78
- @ JsonProperty ("diagnosis" )
79
- public String getDiagnosis () {
80
- return diagnosis ;
81
- }
82
-
83
- @ JsonProperty ("diagnosis" )
84
- public void setDiagnosis (String diagnosis ) {
85
- this .diagnosis = diagnosis ;
86
- }
87
-
88
- public Mtb withDiagnosis (String diagnosis ) {
89
- this .diagnosis = diagnosis ;
90
- return this ;
91
- }
92
-
93
75
@ JsonProperty ("generalRecommendation" )
94
76
public String getGeneralRecommendation () {
95
77
return generalRecommendation ;
You can’t perform that action at this time.
0 commit comments