mix github.gen (Noizu Labs: Github API v0.5.0)

Generates the full Noizu.Github REST client from the OpenAPI description in docs/github-api/api.github.com.json.

Emits, following the project's existing conventions:

  • one Noizu.Github.Api.<Category> module per spec category, with one function per operation, dispatching through Noizu.Github.api_call/5
  • one struct module Noizu.Github.<Schema> per object schema, with a permissive from_json/2
  • typed list wrappers Noizu.Github.Collection.<Item> plus the generic Noizu.Github.Collection / Noizu.Github.Raw fallbacks

Usage:

mix github.gen

All generated files carry a "do not edit" banner and live under lib/api/. Re-run after updating the vendored spec.