Skip to content

Commit c1191b2

Browse files
committed
update docs
1 parent a0070c7 commit c1191b2

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff 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

3131
import 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

0 commit comments

Comments
 (0)