We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90cb50c commit e973322Copy full SHA for e973322
1 file changed
Makefile
@@ -0,0 +1,8 @@
1
+# Java weirdness - see https://github.com/OpenAPITools/openapi-generator/issues/11763#issuecomment-1098337960
2
+generate: ## Generate the SDK from our public openapi spec
3
+ _JAVA_OPTIONS="--add-opens=java.base/java.lang=ALL-UNNAMED \
4
+ --add-opens=java.base/java.util=ALL-UNNAMED" \
5
+ openapi-generator generate -i spec/public-api.yaml \
6
+ -g python \
7
+ -o ./generated
8
+ poetry run datamodel-codegen --input spec/public-api.yaml --output generated/model.py
0 commit comments