File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ var testRoutes = []*Route{
5050 FilterFactory : nil ,
5151 Description : i18n .MsgTBD ,
5252 JSONInputValue : func () interface {} { return & fftypes.MessageInOut {} },
53- JSONInputMask : [] string { "id" } ,
53+ JSONInputMask : nil ,
5454 JSONOutputValue : func () interface {} { return & fftypes.Batch {} },
5555 JSONOutputCodes : []int {http .StatusOK },
5656 },
@@ -108,6 +108,19 @@ var testRoutes = []*Route{
108108 JSONOutputValue : func () interface {} { return nil },
109109 JSONOutputCodes : []int {http .StatusNoContent },
110110 },
111+ {
112+ Name : "op5" ,
113+ Path : "example2" ,
114+ Method : http .MethodPost ,
115+ PathParams : nil ,
116+ QueryParams : nil ,
117+ FilterFactory : nil ,
118+ Description : i18n .MsgTBD ,
119+ JSONInputValue : func () interface {} { return & fftypes.Data {} },
120+ JSONInputMask : []string {"id" },
121+ JSONOutputValue : func () interface {} { return & fftypes.Data {} },
122+ JSONOutputCodes : []int {http .StatusOK },
123+ },
111124}
112125
113126func TestOpenAPI3SwaggerGen (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments