From 1a3a483866c373b25f232f0e59a2f1fc7b8ad8bd Mon Sep 17 00:00:00 2001 From: Tommi Reiman Date: Wed, 5 Sep 2018 13:14:31 +0300 Subject: [PATCH] update README --- examples/ring-swagger/README.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/examples/ring-swagger/README.md b/examples/ring-swagger/README.md index e1a11527..90585d1e 100644 --- a/examples/ring-swagger/README.md +++ b/examples/ring-swagger/README.md @@ -10,15 +10,12 @@ To test the endpoints using [httpie](https://httpie.org/): ```bash -http GET :3000/api/schema/plus x==1 y==20 -http GET :3000/api/spec/plus x==1 y==20 +http GET :3000/math/plus x==1 y==20 +http POST :3000/math/spec/plus x:=1 y:=20 -http GET :3000/api/swagger.json +http GET :3000/swagger.json ``` -* swagger.json: http://localhost:3000/api/swagger.json -* swagger-ui: http://localhost:3000/api-docs/ - ## License