Pravda v0.2.2 Pravda View Source

Documentation for Pravda.

Link to this section Summary

Link to this section Functions

Link to this function

add_schema(router, spec)

View Source
Link to this function

compile_paths(router, raw_specs)

View Source

Returns the version of the currently loaded Pravda, in string format.

Link to this function

compile_spec(router, raw_spec)

View Source
compile_spec(module(), any()) :: list()
Link to this function

phoenix_route_to_schema(conn, router)

View Source
Link to this function

validate_body(schema, conn, allow_invalid)

View Source
Link to this function

validate_params(schema, conn, allow_invalid)

View Source
Link to this function

validate_response(schema, conn)

View Source

Returns the version of the currently loaded Pravda, in string format.