json_hyperschema_client_builder v0.7.0 JSONPointer

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

Functions

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]}