Skip to content

Commit

Permalink
Updating master
Browse files Browse the repository at this point in the history
  • Loading branch information
guardrail website builder committed Dec 22, 2023
1 parent 03f2641 commit 74897d7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions plugins/sbt.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ By putting the following in your `build.sbt`, generated classes for petstore and

```sbt
Compile / guardrailTasks := List(
Client(file("petstore.yaml")),
Client(file("github.yaml"), pkg="com.example.clients.github"),
Server(file("myserver.yaml"), pkg="com.example.server", tracing=true)
ScalaClient(file("petstore.yaml")),
ScalaClient(file("github.yaml"), pkg="com.example.clients.github"),
ScalaServer(file("myserver.yaml"), pkg="com.example.server", tracing=true)
)

Test / guardrailTasks := List(
Server(file("petstore.yaml")),
Server(file("github.yaml"), pkg="com.example.tests.github"),
Client(file("myserver.yaml"), pkg="com.example.tests.server", tracing=true)
ScalaServer(file("petstore.yaml")),
ScalaServer(file("github.yaml"), pkg="com.example.tests.github"),
ScalaClient(file("myserver.yaml"), pkg="com.example.tests.server", tracing=true)
)
```

Expand Down

0 comments on commit 74897d7

Please sign in to comment.