File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/main/java/org/gridsuite/dynamicsecurityanalysis/server/config Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 99import com .fasterxml .jackson .databind .MapperFeature ;
1010import com .fasterxml .jackson .databind .ObjectMapper ;
1111import com .fasterxml .jackson .databind .SerializationFeature ;
12+ import com .powsybl .dynamicsimulation .json .DynamicSimulationParametersJsonModule ;
1213import com .powsybl .security .dynamic .json .DynamicSecurityAnalysisJsonModule ;
1314import com .powsybl .ws .commons .computation .ComputationConfig ;
1415import org .springframework .boot .autoconfigure .jackson .Jackson2ObjectMapperBuilderCustomizer ;
@@ -39,6 +40,7 @@ public Jackson2ObjectMapperBuilderCustomizer appJsonCustomizer() {
3940 return builder -> builder
4041 .featuresToDisable (SerializationFeature .WRITE_DATES_AS_TIMESTAMPS )
4142 .featuresToEnable (MapperFeature .ACCEPT_CASE_INSENSITIVE_ENUMS )
42- .modulesToInstall (new DynamicSecurityAnalysisJsonModule ());
43+ .modulesToInstall (new DynamicSecurityAnalysisJsonModule (),
44+ new DynamicSimulationParametersJsonModule ());
4345 }
4446}
You can’t perform that action at this time.
0 commit comments