File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ See example under [example/generate.scala](./example/generate.scala).
2626
2727``` scala
2828//> using scala 3.6.3
29- //> using dep dev.rolang::gcp-codegen::0.0.1
29+ //> using dep dev.rolang::gcp-codegen::0.0.2
3030
3131import gcp .codegen .* , java .nio .file .* , GeneratorConfig .*
3232
@@ -77,13 +77,12 @@ curl 'https://pubsub.googleapis.com/$discovery/rest?version=v1' > pubsub_v1.json
7777
7878# the path to the executable may be different
7979./modules/cli/target/bin/gcp-codegen-x86_64-linux \
80- --out-dir=src/scala/main/generated \
81- --specs=./pubsub_v1.json \
82- --resources-pkg=gcp.pubsub.v1.resources \
83- --schemas-pkg=gcp.pubsub.v1.schemas \
84- --http-source=sttp4 \
85- --json-codec=jsoniter \
86- --include-resources=' projects.*,!projects.snapshots' # optional filters
80+ -out-dir=src/scala/main/generated \
81+ -specs=./pubsub_v1.json \
82+ -out-pkg=gcp.pubsub.v1 \
83+ -http-source=sttp4 \
84+ -json-codec=jsoniter \
85+ -include-resources=' projects.*,!projects.snapshots' # optional filters
8786```
8887
8988### Building and testing
You can’t perform that action at this time.
0 commit comments