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