/autorest.testserver

Local server offering a variety of APIs that can be used to test code generated by AutoRest (https://github.com/Azure/autorest)

Primary LanguageJavaScriptMIT LicenseMIT

Test server V2

Requirements

  • Node.js

Recommended:

  • VSCode, with the following plugins
    • Prettier
    • ESLint
    • EditorConfig

Getting started

# Install dependencies
npm install

# Start for dev: Will start the server and automatically restart in case there is changes in the files.
npm run start:dev

# Start for running: Will build and start the server
npm run start

Writing mock apis

See docs