json_hyperschema_client_builder v0.12.0 JSONPointer

Link to this section Summary

Functions

Takes a URI, optionally containing JSON pointers, and an ExJsonSchema resolved schema and returns a 2-element tuple containing a path template, and the variables to insert in the template.

Link to this section Functions

Link to this function

parse(uri, schema)

Takes a URI, optionally containing JSON pointers, and an ExJsonSchema resolved schema and returns a 2-element tuple containing a path template, and the variables to insert in the template.

parse( "/foo/{(%23%2Fdefinitions%2Fthing%2Fdefinitions%2Fweight)}/bar", schema ) {"/foo/#{bar}", [:bar]}