Examples for tesla OpenAPI generator.
priv/specs- source of OpenAPI specifications (this is where you'd put the spec in real life)lib- examples using tesla OpenAPIdocs- generated code documentation, here in browser-friendly formatdump- code generated behind the scenes, for showcase purposes only
If you'd like to help, submit a PR with some API spec using the guide below.
- Add new spec to
Makefile - Add new module in
lib/newapi.ex - Compile & generate docs
# Compile & dump
mix compile
# Run dialyzer
mix dialyzer
# Generate docs
mix docs- Commit & push