openapi: Use indentations for human-readable JSON (#53707)

pull/53763/head
sam boyer 3 years ago committed by GitHub
parent a19d82124b
commit 4a5afe4fb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9129
      public/api-merged.json
  2. 8350
      public/api-spec.json
  3. 17990
      public/openapi3.json
  4. 2
      scripts/openapi3/openapi3conv.go

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

@ -49,7 +49,7 @@ func main() {
// a URL. Adding this will ensure that all the api calls start with "/api".
doc3.AddServer(&openapi3.Server{URL: "/api"})
j3, err := doc3.MarshalJSON()
j3, err := json.MarshalIndent(doc3, "", " ")
if err != nil {
panic(err)
}

Loading…
Cancel
Save