Skip to content
This repository was archived by the owner on Sep 22, 2022. It is now read-only.

Commit 26902b8

Browse files
authored
Update README.md
1 parent 6e778bf commit 26902b8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[![Stability: Maintenance](https://masterminds.github.io/stability/maintenance.svg)](https://masterminds.github.io/stability/maintenance.html)
22
[![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/adven27/grpc-wiremock?label=build&logo=docker)](https://hub.docker.com/repository/docker/adven27/grpc-wiremock/builds)
3-
[![Docker Image Version (tag latest semver)](https://img.shields.io/docker/v/adven27/grpc-wiremock/1.3.0?logo=docker)](https://hub.docker.com/repository/docker/adven27/grpc-wiremock/general)
3+
[![Docker Image Version (tag latest semver)](https://img.shields.io/docker/v/adven27/grpc-wiremock/1.3.1?logo=docker)](https://hub.docker.com/repository/docker/adven27/grpc-wiremock/general)
44

55
# Overview
66
grpc-wiremock is a **mock server** for **GRPC** services implemented as a wrapper around the [WireMock](http://wiremock.org) http server.
@@ -18,7 +18,7 @@ docker run -p 8888:8888 -p 50000:50000 -v $(pwd)/example/proto:/proto -v $(pwd)/
1818
```
1919

2020
2) Stub
21-
```json
21+
```posh
2222
curl -X POST http://localhost:8888/__admin/mappings \
2323
-d '{
2424
"request": {
@@ -42,7 +42,7 @@ curl -X POST http://localhost:8888/__admin/mappings \
4242
```
4343

4444
3) Check
45-
```json
45+
```posh
4646
grpcurl -H 'withAmount: 100.0' -plaintext -d '{"id": 1, "currency": "EUR"}' localhost:50000 api.wallet.BalanceService/getUserBalance
4747
```
4848

@@ -154,7 +154,7 @@ how many responses should be returned during the stream (`1` - if absent).
154154

155155
The current response iteration number is available in `request.headers.streamCursor`:
156156

157-
```json
157+
```posh
158158
curl -X POST http://localhost:8888/__admin/mappings \
159159
-d '{
160160
"request": {

0 commit comments

Comments
 (0)