api with oauth-provider, automagic routing and documentation generation