macchiato-framework/macchiato-core

Input & output validation with api-docs (swagger)

Open

#7 opened on Dec 20, 2016

View on GitHub
 (17 comments) (0 reactions) (0 assignees)Clojure (34 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (383 stars)
PR merge metrics
 (PR metrics pending)

Description

Optional & pluggable, for handlers, maybe also for middleware. Schema is awesome and proven per today, Spec is the probable future. I could pull out a proposal for a common structure for input & output coercion with api-docs, based on our libs.

  • simple, data-driven core
  • optionally "easy" macro sugar with inferred models
  • pluggable implementation (schema, spec, other)
  • protocols for routing libs to collect routes for api-docs
  • swagger-docs (ring/spec-swagger)

what do you think?

Contributor guide