fmt swagger.json

Signed-off-by: runzexia <runzexia@yunify.com>
This commit is contained in:
runzexia
2019-09-26 18:54:53 +08:00
parent 02fd803ca9
commit 2f87ad7e2c
2 changed files with 22031 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@@ -107,7 +107,7 @@ func generateSwaggerJson() {
}, },
}) })
data, _ := json.Marshal(swagger) data, _ := json.MarshalIndent(swagger, "", " ")
err := ioutil.WriteFile(output, data, 420) err := ioutil.WriteFile(output, data, 420)
if err != nil { if err != nil {
log.Fatal(err) log.Fatal(err)