openapi-backend
Advanced tools
Comparing version
@@ -65,3 +65,3 @@ import _ from 'lodash'; | ||
ajv: Ajv.Ajv; | ||
valid: boolean | Ajv.Thenable<any>; | ||
valid: boolean | PromiseLike<any>; | ||
}; | ||
@@ -68,0 +68,0 @@ getOperations(): { |
{ | ||
"name": "openapi-backend", | ||
"description": "Tools for building API backends with the OpenAPI standard", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"author": "Viljami Kuosmanen <viljami@avoinsorsa.fi>", | ||
@@ -29,2 +29,3 @@ "license": "MIT", | ||
"@types/swagger-parser": "^4.0.2", | ||
"ajv": "^6.5.4", | ||
"lodash": "^4.17.11", | ||
@@ -31,0 +32,0 @@ "swagger-parser": "^6.0.1" |
# OpenAPI Backend | ||
[](https://travis-ci.org/anttiviljami/openapi-backend) | ||
[](https://badge.fury.io/js/openapi-backend) | ||
[](http://anttiviljami.mit-license.org) | ||
[](https://www.npmjs.com/package/openapi-backend) | ||
[](https://github.com/anttiviljami/openapi-backend/blob/master/LICENSE) | ||
[](http://spiceprogram.org/oss-sponsorship) | ||
Tools for building API backends with the [OpenAPI standard](https://github.com/OAI/OpenAPI-Specification) | ||
Tools for building API backends with the [OpenAPI standard](https://github.com/OAI/OpenAPI-Specification) previously known as Swagger | ||
@@ -11,3 +12,3 @@ ## Features | ||
- Build APIs by describing them in [OpenAPI document specification](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md) | ||
and importing them via YAML, JSON or as a JavaScript object | ||
and importing them via YAML or JSON files or as a JS object | ||
- Register handlers for API operations in your favourite Node.js backend like [Express](#express), [Hapi](#hapi), | ||
@@ -18,2 +19,4 @@ [AWS Lambda](#aws-serverless-lambda) or [Azure Functions](#azure-serverless-function) | ||
(Currently only OpenAPI v3.0.0+ is supported) | ||
## Quick Start | ||
@@ -149,1 +152,7 @@ | ||
## Contributing | ||
OpenAPI Backend is Free and Open Source Software. Issues and pull requests are more than welcome! | ||
[<img alt="The Chilicorn" src="http://spiceprogram.org/assets/img/chilicorn_sticker.svg" width="250" height="250">](https://spiceprogram.org/oss-sponsorship) | ||
27750
6.36%156
6.12%5
25%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added