Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 1.01 KB

README.md

File metadata and controls

40 lines (29 loc) · 1.01 KB

mock service

Prerequisites

Windows

Linux

1. Test mock service

Install using npm. Open a terminal.

node v8.15.0
npm 6.5.0
$ git clone https://github.com/MGDIS/guide-des-aides.git
$ cd guide-des-aides
$ cd mock-service
$ npm install -g swagger
$ npm install
$ swagger project start
Starting: /guide-des-aides/mock-service/app.js...
  project started here: http://localhost:10010/guide-des-aides
  project will restart on changes.
  to restart at any time, enter `rs`

2. See API documentation

Open your browser and got to /docs

swagger

3. Get the OpenAPI v2.0 specification file

Open your browser and got to /api-docs