An open API service indexing awesome lists of open source software.

https://github.com/hachreak/swagger_routerl

Routing library that generate the routing table from swagger.yaml.
https://github.com/hachreak/swagger_routerl

api cowboy erlang erlang-libraries erlang-library rest rest-api routing swagger tcp websockets

Last synced: 4 months ago
JSON representation

Routing library that generate the routing table from swagger.yaml.

Awesome Lists containing this project

README

          

swagger_routerl
===============

Routing library that generate the routing table from `swagger.yaml`.

Implemented plugins:

- Cowboy REST routing table.
- Cowboy Websocket routing table: dispatch events on top of a
websocket endpoint.
- Raw tcp: dispatch events on top of a socket.

How configure plugins
---------------------

See example `demo_pets`.

Build
-----

$ rebar3 compile

Test
----

$ ./run-tests.sh