osprey - Generate Node.JS API middleware from a RAML definition

  •        39

Generate API middleware from a RAML definition, which can be used locally or globally for validating API requests and responses. Osprey can be used as a validation proxy with any other API server. Just install the module globally and use the CLI to set up the application endpoint(s) to proxy, as well as the RAML definition to use. Invalid API requests will be blocked before they reach your application server.

https://github.com/mulesoft/osprey

Dependencies:

arrify : ^1.0.0
body-parser : ^1.15.2
compose-middleware : ^2.0.1
compression : ^1.5.2
cookie-session : ^1.2.0
cors : ^2.7.1
datatype-expansion : ^0.1.0
debug : ^2.2.0
finalhandler : ^0.4.0
form-data : ^1.0.0-rc3
http-errors : ^1.3.1
invariant : ^2.2.2
oauth2orize : ^1.0.1
osprey-method-handler : ^0.11.1
osprey-resources : ^0.7.1
osprey-router : ^0.5.1
parseurl : ^1.3.0
passport : ^0.3.0
passport-http : ^0.3.0
passport-http-bearer : ^1.0.1
passport-oauth2-client-password : ^0.1.2
raml-1-parser : ^1.1.19
request-error-handler : ^1.0.0
type-is : ^1.5.5
xtend : ^4.0.0
yargs : ^4.1.0

Tags
Implementation
License
Platform

   




Related Projects

raml-for-jax-rs - This project is all about two way transformation of JAX-RS-annotated Java code to RAML API description and back

  •    Java

This project is all about two way transformation of JAX-RS-annotated Java code to RAML API description and back.

api-console - A Web Component for an interactive REST console based on RAML files

  •    HTML

See live example of the API console in our demo application. MuleSoft's API Console is a full-fledged API documentation tool that generates mobile-friendly web documentation based on RAML (Restful API Modeling Language) documents. In addition to providing documentation, the tool provides the capability for users to try out requests on the fly.

api-designer - A web editor for creating and sharing RAML API specifications

  •    Javascript

API Designer is a standalone/embeddable editor for RAML (RESTful API Modeling Language) written in JavaScript using Angular.JS. By default, the editor uses an in-browser filesystem stored in HTML5 Localstorage. There is an online preview version of the API Designer, check it out a different branch.

raml2html - RAML to HTML documentation generator.

  •    Javascript

A simple RAML to HTML documentation generator, written for Node.js, with theme support. raml2html 4 and higher only support RAML 1.0 files. Please stick with raml2html 3.x for RAML 0.8 support.

abao - REST API automated testing tool based on RAML

  •    CoffeeScript

Abao is a command-line tool for testing API documentation written in RAML format against its back-end implementation. With Abao, you can easily plug your API documentation into a Continuous Integration (CI) system (e.g., Travis, Jenkins) and have API documentation up-to-date, all the time. Abao uses Mocha for judging if a particular API response is valid or not. This version of the software only supports the RAML-0.8 specification.


RAML - The simplest way to design APIs

  •    

RAML is a language for the definition of HTTP-based APIs that embody most or all of the principles of Representational State Transfer (REST). The RAML specification (this document) defines an application of the YAML 1.2 specification that provides mechanisms for the definition of practically-RESTful APIs, while providing provisions with which source code generators for client and server source code and comprehensive user documentation can be created.

aws-apigateway-importer - Tools to work with Amazon API Gateway, Swagger, and RAML

  •    Java

The Amazon API Gateway Importer lets you create or update Amazon API Gateway APIs from a Swagger or RAML API representation.To learn more about API Gateway, please see the service documentation or the API documentation.

ramses - RAML + Elasticsearch / Postgres / Mongodb / Your Data Store™ + Pyramid = RESTful API

  •    Python

Ramses is a framework that generates a RESTful API using RAML. It uses Pyramid and Nefertari which provides Elasticsearch / Posgres / MongoDB / Your Data Store™ -powered views. Looking to get started quickly? You can take a look at the "Getting Started" guide.

kafka-web-console - A web console for Apache Kafka (retired)

  •    CSS

This project is no longer supported. Please consider Kafka Manager instead. Furthermore, the console provides a JSON API described in RAML. The API can be tested using the embedded API Console accessible through the URL http://[hostname]:[port]/api/console.

web-api - Public issue tracker for Spotify's Web API

  •    RAML

The purpose of this repository is to work as the public issue tracker for Spotify's Web API. If you've found a bug in the API, or have ideas on how we could improve it, please create an issue. It's greatly appreciated.We differentiate between enhancement requests and feature requests in that enhancement requests are improvement of existing features, while feature requests are requests for entirely new features.

docs - 轻芒对外服务的文档说明

  •    RAML

轻芒对外服务的文档说明

light-4j - A fast, lightweight and more productive microservices framework

  •    Java

Light 4j is a fast, lightweight and cloud native microservices framework. Light means lightweight, lighting fast and shed light on how to program with modern Java SE. It is 44 times faster than the most popular microservices platform Spring Boot embedded Tomcat and use only 1/5 of memory.

csp-builder - Build Content-Security-Policy headers from a JSON file (or build them programmatically)

  •    PHP

Easily integrate Content-Security-Policy headers into your web application, either from a JSON configuration file, or programatically. CSP Builder was created by Paragon Initiative Enterprises as part of our effort to encourage better application security practices.

httplive - HTTP Request & Response Service, Mock HTTP

  •    Go

The HttpLive is a tool for API designers, Proxy, mobile and web application developers to develop and test their applications faster without being dependent on any server or backend applications. HttpLive has a built-in user interface. Therefore, you can do all the configurations you need on this UI, and with dynamic URL (Routing) definitions you can specify your own JSON return types for your applications.

gSOAP Toolkit

  •    C

Development toolkit for Web services and XML data bindings for Camp;C++

vee-validate - ✔ Form validation for Vue

  •    Javascript

vee-validate is a plugin for Vue.js that allows you to validate input fields and display errors. You don't have to do anything fancy in your app -- most of the work goes into the html. You only need to specify for each input what kind of validators should be used when the value changes. The errors will be automatically generated. The plugin offers many validations out of the box.

angular-bootstrap-show-errors - An Angular directive for Bootstrap to intelligently show form validation errors

  •    Javascript

An Angular directive for Bootstrap 3 that intelligently applies the 'has-error' class to invalid form fields. See the Bootstrap Form Validation Done Right in AngularJS blog post to read about the benefits of using this directive.

angular-schema-form - Generate forms from a JSON schema, with AngularJS!

  •    Javascript

Schema Form is inspired by the nice [JSON Form](https://github.com/joshfire/jsonform) library andaims to be roughly compatible with it, especially its form definition. So what sets Schema Formapart from JSON Form?1. Schema Form integrates deeply with AngularJS and uses AngularJS conventions to handle forms.2. Schema Form uses [tv4](https://github.com/geraintluff/tv4) for validation, making it compatible with version 4 of the JSON schema standard.3. By default, Schema Form generates Bootstrap 3

revalidation - Higher Order Component for Validating Forms in React

  •    Javascript

Revalidation lets you write your forms as stateless function components, taking care of managing the local form state as well as the validation. Revalidation also works with classes and will support other React-like libraries like Preact or Inferno in the future. Form handling sounds trivial sometimes, but let’s just take a second to think about what is involved in the process. We need to define form fields, we need to validate the fields, we also might need to display errors according to the fact if the input validates, furthermore we need to figure out if the validation is instant or only after clicking on a submit button and so on and so forth.

sqler - write APIs using direct SQL queries with no hassle, let's rethink about SQL

  •    Go

SQL-er is a tiny portable server enables you to write APIs using SQL query to be executed when anyone hits it, also it enables you to define validation rules so you can validate the request body/query params, as well as data transformation using simple javascript syntax. sqler uses nginx style configuration language (HCL) amd javascript engine for custom expressions. RESTful server could be used to interact directly with i.e mobile, browser, ... etc, in this mode SQLer is protected by authorizers, which gives you the ability to check authorization against another 3rd-party api. Each macro you add to the configuration file(s) you can access to it by issuing a http request to /<macro-name>, every query param and json body will be passed to the macro .Input.