Skip to content

Commit

Permalink
upgrade stripe oas3 v1071 and ndc-rest v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hgiasac committed Jun 8, 2024
1 parent 7754aec commit e52b13a
Show file tree
Hide file tree
Showing 514 changed files with 655,225 additions and 252,555 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM ghcr.io/hasura/ndc-rest:v0.1.3
FROM ghcr.io/hasura/ndc-rest:v0.2.0

COPY ./config /config
12 changes: 5 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
STRIPE_VERSION ?= v1027
NDC_REST_VERSION ?= v0.1.3
NDC_REST_VERSION ?= v0.2.0
UID ?= $(shell id -u)
GID ?= $(shell id -g)

.PHONY: build-schema
build-schema:
docker run -v ./config:/home/config -u $(UID):$(GID) --rm ghcr.io/hasura/ndc-rest:$(NDC_REST_VERSION) convert \
-f https://raw.githubusercontent.com/stripe/openapi/$(STRIPE_VERSION)/openapi/spec3.json \
--trim-prefix /v1 --spec openapi3 \
--env-prefix STRIPE \
-o /home/config/schema.json
go install github.com/hasura/ndc-rest-schema@$(NDC_REST_VERSION)
ndc-rest-schema convert \
-c schema/config.yaml \
-o config/schema.json

.PHONY: update-deps
update-deps:
Expand Down
2 changes: 1 addition & 1 deletion config/config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
files:
- path: schema.json
- file: schema.json
spec: ndc
Loading

0 comments on commit e52b13a

Please sign in to comment.