Skip to content

hachreak/swagger_routerl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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