File tree 2 files changed +16
-3
lines changed
generated-tado-api-client
tado-demo/src/main/java/tadodemo
2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 33
33
https://github.com/OpenAPITools/openapi-generator/tree/master/modules/openapi-generator-maven-plugin -->
34
34
<configuration >
35
35
<!-- the essentials -->
36
- <inputSpec >https://raw.githubusercontent.com/kritsel/tado-openapispec-v2/v2.2024.08.01.3 /tado-openapispec-v2.yaml</inputSpec >
36
+ <inputSpec >https://raw.githubusercontent.com/kritsel/tado-openapispec-v2/v2.2024.08.11.4 /tado-openapispec-v2.yaml</inputSpec >
37
37
<generatorName >java</generatorName >
38
38
<library >restclient</library >
39
39
64
64
<sourceFolder >${generated.src.folder} /main/java</sourceFolder >
65
65
</configOptions >
66
66
67
- <!-- use java.time.LocalDateTime instead of java.time.OffsetDateTime -->
67
+ <!-- https://stackoverflow.com/questions/32437550/whats-the-difference-between-instant-and-localdatetime -->
68
+ <!-- configure the Java types to use for string fields with a format specified
69
+ as 'date', 'date-time' or 'time' -->
68
70
<typeMappings >
69
- <typeMapping >DateTime=java.time.LocalDateTime</typeMapping >
71
+ <typeMapping >DateTime=Instant</typeMapping >
72
+ <typeMapping >date=LocalDate</typeMapping >
73
+ <typeMapping >time=LocalTime</typeMapping >
70
74
</typeMappings >
75
+
76
+ <!-- configure the imports to use for the Java types defined above -->
77
+ <importMappings >
78
+ <importMapping >Instant=java.time.Instant</importMapping >
79
+ <importMapping >LocalDate=java.time.LocalDate</importMapping >
80
+ <importMapping >LocalTime=java.time.LocalTime</importMapping >
81
+ </importMappings >
71
82
</configuration >
72
83
</execution >
73
84
</executions >
Original file line number Diff line number Diff line change
1
+ package tadodemo ;public class ScheduledTask {
2
+ }
You can’t perform that action at this time.
0 commit comments