Skip to content

Commit 829c5a6

Browse files
committed
tweak openapi generator
1 parent 60405b5 commit 829c5a6

37 files changed

+1155
-921
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ ctags_exclude
1111
test/*.gs
1212
elm-stuff
1313
.parcel-cache
14-
templates

Makefile

+3-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
openapi:
2-
docker run --rm \
3-
-v "${PWD}/openapi:/build"
4-
openapitools/openapi-generator-cli:latest generate \
5-
-i https://raw.githubusercontent.com/graphsense/graphsense-openapi/develop/graphsense.yaml \
6-
-g elm \
7-
-o /build \
8-
--additional-properties=generateAliasAsModel=false
2+
tools/generate-openapi.sh
3+
#--global-property=debugModels \
4+
#--global-property=debugOperations \
95

106
.PHONY: openapi

elm.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"type": "application",
33
"source-directories": [
44
"src",
5-
"openapi",
5+
"openapi/src",
66
"themes"
77
],
88
"elm-version": "0.19.1",

openapi/.openapi-generator/FILES

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ src/Api.elm
55
src/Api/Data.elm
66
src/Api/Request/Addresses.elm
77
src/Api/Request/Blocks.elm
8-
src/Api/Request/Bulk.elm
98
src/Api/Request/Entities.elm
109
src/Api/Request/General.elm
1110
src/Api/Request/Rates.elm

0 commit comments

Comments
 (0)