Openapi.input.param.of: def of ezmcp@0.1.0.0 Import: import ezmcp@0.1.0.0/src/openapi.bend as Openapi Lines 852-866 of ezmcp@0.1.0.0/src/openapi.bend: https://jend.leeeet.dev/read.txt?path=ezmcp@0.1.0.0/src/openapi.bend&start_line=852&end_line=866 import Base import emerging-ezjson@1.2.0.0/src/value.bend as Value # a parameter as an input property: one with a name and a schema is the # property of that name, its schema mapped (`schema`) and described by the # parameter's description when that is a non-empty string, and required # when the parameter is; any other leaves the input as it is def input.param.of( name: Maybe<&2, String>, ok: Bool, +one: Value.Json, st: In ) -> In: match name ok: case Some{+got} True{}: input.param.put(got, one, st) case _n _ok: st Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=emerging-ezjson@1.3.0.0/src/value.bend&name=Json https://jend.leeeet.dev/definition.txt?path=ezmcp@0.1.0.0/src/openapi.bend&name=In https://jend.leeeet.dev/definition.txt?path=ezmcp@0.1.0.0/src/openapi.bend&name=input.param.put