create-raml
Advanced tools
Comparing version 3.2.2 to 3.2.3
# create-raml changelog | ||
## [3.2.3](http://github.com/ivanoff/create-raml/tree/3.2.3) (2017-03-23) | ||
[Full Changelog](http://github.com/ivanoff/create-raml/compare/3.2.2...3.2.3) | ||
**What Was Done:** | ||
- add simple express example | ||
## [3.2.2](http://github.com/ivanoff/create-raml/tree/3.2.2) (2017-03-07) | ||
@@ -4,0 +12,0 @@ [Full Changelog](http://github.com/ivanoff/create-raml/compare/3.1.1...3.2.2) |
# create-raml | ||
## Extended express API example | ||
[back to readme](../README.md) | ||
## Movies database API example ( GET, POST, DELETE methods; RAM data storage ) | ||
Result example as html: [Movies Database API documentation](http://create-raml.simpleness.org/express_movies_api.html) | ||
### Install modules | ||
@@ -9,0 +11,0 @@ |
{ | ||
"name": "create-raml", | ||
"version": "3.2.2", | ||
"version": "3.2.3", | ||
"description": "Create RAML", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -15,3 +15,3 @@ | ||
v3.2.2 | ||
v3.2.3 | ||
@@ -25,4 +25,22 @@ | ||
### Extended example | ||
### Simple express example | ||
```javascript | ||
var express = require('express'); | ||
var Raml = require('create-raml'); | ||
var app = express(); | ||
var raml = new Raml({ express: app }); | ||
// regular app express workflow ( app.get, app.post, app.listen... etc ) | ||
``` | ||
### Get created raml | ||
```curl 127.0.0.1:3000/api.raml``` | ||
### Extended express example | ||
- [extended Express API example](docs/express_movies_api.md) - movies database API example ( GET, POST, DELETE methods; RAM data storage ). Result example as html: [Movies Database API documentation](http://create-raml.simpleness.org/express_movies_api.html) | ||
@@ -29,0 +47,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
69427
218