Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 662 Bytes

README.md

File metadata and controls

23 lines (13 loc) · 662 Bytes

swagger-mock-server

How to use

sh devServer.sh

Brief introduction

make generate_swagger -> typescript-fetchのapiがsrc/api 以下に作成されます

make generate_mock -> nodejs-serverで作ったmockが localhost:8083 で立ち上がります

make ui -> swagger uiが localhost:8082で立ち上がります

References

https://swagger.io/docs/specification/2-0/grouping-operations-with-tags/

https://swagger.io/docs/specification/2-0/describing-request-body/

https://swagger.io/docs/specification/2-0/describing-responses/

Editor Online

https://editor.swagger.io/?_ga=2.214311828.2066962316.1553484796-1386158356.1548202947