mirror of
https://github.com/valitydev/swag-analytics.git
synced 2024-11-06 08:45:28 +00:00
f30e1f8e93
And drop proprietary CI stuff.
954 B
954 B
Valitydev Analytics API Specification
Deprecated. See instead https://github.com/valitydev/swag-anapi-v2.
Working on specification
Install
- Install Node JS
- Clone repo and
cd
- Run
npm install
- Run
Usage
- Run
npm start
- Checkout console output to see where local server is started. You can use all links (except
preview
) by replacing upstream url with url from the message:Server started <url>
- Make changes using your favorite editor or
swagger-editor
(look for URL in console output) - All changes are immediately propagated to your local server, moreover all documentation pages will be automagically refreshed in a browser after each change
TIP: you can open
swagger-editor
, documentation andswagger-ui
in parallel - Once you finish with the changes you can run tests using:
npm test
- Share you changes with the rest of the world by pushing to GitHub 😄