Skip to content

teamon/tesla-openapi-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tesla OpenAPI Examples

Examples for tesla OpenAPI generator.

Directory structure

  • priv/specs - source of OpenAPI specifications (this is where you'd put the spec in real life)
  • lib - examples using tesla OpenAPI
  • docs - generated code documentation, here in browser-friendly format
  • dump - code generated behind the scenes, for showcase purposes only

Contributing

If you'd like to help, submit a PR with some API spec using the guide below.

Adding new examples

  1. Add new spec to Makefile
  2. Add new module in lib/newapi.ex
  3. Compile & generate docs
# Compile & dump
mix compile

# Run dialyzer
mix dialyzer

# Generate docs
mix docs
  1. Commit & push

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages