QuenyaBuilder.ResponseValidator (QuenyaBuilder v0.2.1) View Source

Build response validator module

Usage:

{:ok, root} = Quenya.Parser.parse("todo.yml")
doc = root["paths"]["/todos"]["get"]
# generate response validator for GET /todos
QuenyaBuilder.Response.gen(doc, :awesome_app, "listTodos")

Link to this section Summary

Link to this section Functions

Link to this function

gen(doc, app, name, opts \\ [])

View Source