Skip to content

Commit 41f81b2

Browse files
authored
Update ASC spec to v4.0.0 (#142)
No breaking changes afaik One notable change is the addition of `components.schemas.PagingInformation.paging.nextCursor` (which is possibly supposed to be the query parameter portion of `links.next`? could simplify the pagination code) but this doesn't seem to be returned by the prod ASC API right now.
1 parent 0a3c135 commit 41f81b2

File tree

3 files changed

+8272
-619
lines changed

3 files changed

+8272
-619
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,4 +166,7 @@ openapi/openapi.json: openapi/base.json Sources/DeveloperAPI/patch.js
166166

167167
openapi/base.json:
168168
@mkdir -p openapi
169-
curl -fsSL "$(SPEC_URL)" | bsdtar -xOf- > openapi/base.json
169+
# piping curl|bsdtar concatenates xattrs into the JSON :thonk:
170+
curl -fsSL "$(SPEC_URL)" -o openapi/spec.zip
171+
bsdtar -xO -f openapi/spec.zip > openapi/base.json
172+
rm -f openapi/spec.zip

0 commit comments

Comments
 (0)