Commit Graph

5 Commits

Author SHA1 Message Date
Toshiya Kawasaki
56793a3b2a Fix scaffold to support rest-json style API (#1291)
* append appropriate urls when scaffolding

* make dispatch for rest-api

* fix dispatch for rest-json

* fix moto/core/response to obtain path and body parameters

* small fixes

* remove unused import

* fix get_int_param

* fix scaffold

* fix formatting of scaffold

* fix misc

* escape service to handle service w/ hyphen like iot-data

* escape service w/ hyphen

* fix regexp to extract region from url

* escape service

* fix syntax

* skip loading body to json object when request body is None
2017-10-24 20:45:39 +02:00
Toshiya Kawasaki
60cac09e93 fix scaffold template 2017-10-20 18:33:48 +09:00
Toshiya Kawasaki
ea26466e6d Add more files and lines when scaffolding (#1222)
* auto-generatr urls.py

* add mocks to moto/__init__.py and moto/backends.py

* add uri to urls.py

* change output of scaffold.py
2017-10-01 15:17:02 -07:00
Terry Cain
fcacecbef0 Nearly finished Polly implementation 2017-09-26 16:46:18 +01:00
Toshiya Kawasaki
4cc4b36f15 move helper script to scripts dir and add one to Makefile 2017-09-22 19:23:10 +09:00