Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.02 KB

README.md

File metadata and controls

27 lines (20 loc) · 1.02 KB

nanoquote

API Design Demo for TechCom 2016

NanoQuote will model and mock a very small resource model for Travel Insurance Quotes.

We'll model a Quotes resource using Swagger Editor

Swagger UI

Then create a mock Quotes API using Sandbox

Steps

  • Fork this repo or use
  • Open the Swagger Editor and paste in the swagger spec in YAML format
  • Get a Sandbox account or use your existing one to mock the API
  • Import the YAML spec into sandbox to create API stubs
  • Take a look at the api.js file in this repo and paste over the generated api.js on sandbox
  • Save
  • Test in a REST client of your choice

Contributions

Updates to the swagger design and the mock API code are very welcome.

Useful links