fix swagger handler

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2023-08-14 13:43:19 +03:00
parent 90b7b7ec1c
commit a665b69706

View File

@ -32,6 +32,7 @@ var Handler = func(dst map[string]interface{}, fsys fs.FS) http.HandlerFunc {
if dst == nil {
w.WriteHeader(http.StatusOK)
_, _ = w.Write(buf)
return
}
var src interface{}