1.8 define /todo/{id} PUT endpoint
Jul 10, 2017 · 1 min read
wb todoMVC Master >> 1.7 define /todo/{id} PUT…
Update 7/19
OpenAPI3 (aka swagger3) is just about ready for official release. This means steps 1.1–1.x will need to be rewritten soon. The folks over at swagger-api are working hard updating the many swag tools to work with the latest spec.
Gotchas
If you have not implemented CORS this step will fail. See how to implement CORS here.
Steps
Run swagger editor & server in mock mode if not running already.
Define PUT action under Paths: /todo/{id} in swagger.yaml
Test

Tutorial Navigation
The master tutorial doc is located here: WB todoMVC MASTER
Previous Step: 1.7 define /todo/{id} DELETE endpoint.
Next Step: 2.1 create PSQL app user & empty database
