Skip to content

Commit

Permalink
Update specmatic-order-contracts and README.md
Browse files Browse the repository at this point in the history
- Updated proto srcDir accordingly.
  • Loading branch information
StarKhan6368 committed Jul 24, 2024
1 parent 2c4daeb commit 8459c64
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ This sample project demonstrates [Specmatic](https://specmatic.io/) **gRPC suppo

The **specmatic-order-api-grpc-kotlin** is a gRPC server application developed according to the following proto files, which can be found in the central contract repository:

* [order.proto](https://github.com/znsio/specmatic-order-contracts/blob/grpc-contracts/in/specmatic/examples/store/order_api_grpc/order.proto)
* [product.proto](https://github.com/znsio/specmatic-order-contracts/blob/grpc-contracts/in/specmatic/examples/store/order_api_grpc/product.proto)
* [order.proto](https://github.com/znsio/specmatic-order-contracts/blob/main/io/specmatic/examples/store/grpc/order_api/order.proto)
* [product.proto](https://github.com/znsio/specmatic-order-contracts/blob/main/io/specmatic/examples/store/grpc/order_api/product.proto)

The `ContractTest` class demonstrates how to use Specmatic to test **specmatic-order-api-grpc-kotlin** gRPC server app using the above proto files.

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ dependencies {
sourceSets {
main {
proto {
srcDir 'specmatic-order-contracts/in/specmatic/examples/store/order_api_grpc'
srcDir 'specmatic-order-contracts/io/specmatic/examples/store/grpc/order_api'
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion specmatic-order-contracts

0 comments on commit 8459c64

Please sign in to comment.