chore(coreapi): pretty-print vendored openapi spec via jq · Entire

chore(coreapi): pretty-print vendored openapi spec via jq

c1e0559→main·

toothbrush·2w ago·3 files·+8,440 added/-3 removed

Refresh docs now pipe the download through `jq .` so core.openapi.json lands multi-line instead of minified. Reformatted the spec in place; content-identical, core.gen.json and generated client unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

Sessions

d4905717debcView transcript

Changes

3

6 unmodified lines

7
8
9
10
10
11
12
13

6 unmodified lines

// upstream spec/core.openapi.json). Do not edit them by hand. To refresh:
//
//	curl -fsSL https://us.console.entire.io/api/v1/openapi.json \
//	    -o internal/coreapi/spec/core.openapi.json
//	    | jq . > internal/coreapi/spec/core.openapi.json
//	go generate ./internal/coreapi/...  
//
// The hand-written authenticated constructor and error helpers live in

Minternal/coreapi/gen.go+1/-1

1

Diff too large to render.

Minternal/coreapi/spec/core.openapi.json+8438/-1(truncated)

28 unmodified lines

29
30
31
32
32
33
34
35

28 unmodified lines

// gen.go), or by hand after refreshing the spec:
//
//	curl -fsSL https://us.console.entire.io/api/v1/openapi.json \
//	    -o internal/coreapi/spec/core.openapi.json
//	    | jq . > internal/coreapi/spec/core.openapi.json
//	go run spec/normalize.go
package main

Minternal/coreapi/spec/normalize.go+1/-1