Skip to content

Commit a79901b

Browse files
committed
more updates
1 parent 1e431e0 commit a79901b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ openapi-extract.json:
2121
#
2222
# Also, we're only handling the "extract" OpenAPI spec at this time.
2323
openapi.json: openapi-extract.json
24-
cat openapi-extract.json | jq 'walk(if (.|type) == "object" and .items? and (.items|type) == "array" then .items = .items[0] else . end)|del(.paths["/{api}"])|.openapi="3.0.2"' >openapi.json
24+
cat openapi-extract.json | jq 'walk(if (.|type) == "object" and .items? and (.items|type) == "array" then .items = .items[0] else . end)|del(.paths["/{api}"])|.openapi="3.0.3"' >openapi.json
2525

2626
# Create a minified version, while we're in here
2727
openapi.min.json: openapi.json

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ OpenAPI-shaped object, massages it into compliance with [v3.0.x of the
1212
OpenAPI spec](https://spec.openapis.org/oas/v3.0.3.html), and makes
1313
releases available for general download.
1414

15+
The spec itself may be found under the "releases" section of this
16+
repo.
17+
1518
At this time, the author only requires the extract
1619
endpoints. Therefore, only the extract endpoints are currently
1720
supported. However, the process to add more endpoints is described in

0 commit comments

Comments
 (0)