@@ -104,7 +104,7 @@ export const swarmAppConfigSchema: JTDSchemaType<SwarmAppConfig> = {
104104 } ,
105105 replicas : { type : "int32" } ,
106106 stop_signal : { enum : [ "SIGTERM" , "SIGQUIT" ] } ,
107- stop_grace_period : { type : "int32 " } ,
107+ stop_grace_period : { type : "float64 " } ,
108108 user : { type : "string" } ,
109109 placement : {
110110 optionalProperties : {
@@ -124,8 +124,8 @@ export const swarmAppConfigSchema: JTDSchemaType<SwarmAppConfig> = {
124124 ports : {
125125 elements : {
126126 properties : {
127- published_port : { type : "int16 " } ,
128- target_port : { type : "int16 " } ,
127+ published_port : { type : "uint16 " } ,
128+ target_port : { type : "uint16 " } ,
129129 } ,
130130 optionalProperties : {
131131 publish_mode : { enum : [ "ingress" , "host" ] } ,
@@ -138,11 +138,11 @@ export const swarmAppConfigSchema: JTDSchemaType<SwarmAppConfig> = {
138138 health_check : {
139139 optionalProperties : {
140140 test : { elements : { type : "string" } } ,
141- interval : { type : "int32 " } ,
142- timeout : { type : "int32 " } ,
141+ interval : { type : "float64 " } ,
142+ timeout : { type : "float64 " } ,
143143 retries : { type : "int32" } ,
144- start_period : { type : "int32 " } ,
145- start_interval : { type : "int32 " } ,
144+ start_period : { type : "float64 " } ,
145+ start_interval : { type : "float64 " } ,
146146 } ,
147147 } ,
148148 dir : { type : "string" } ,
0 commit comments