hachreak / swagger_routerl

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:Other


Languages

Language:Erlang 99.8%Language:Shell 0.2%