MCPcopy Index your code
hub / github.com/rapi-doc/RapiDoc / addPropertyExampleToObjectExamples

Function addPropertyExampleToObjectExamples

src/utils/schema-utils.js:449–453  ·  view source on GitHub ↗
(example, obj, propertyKey)

Source from the content-addressed store, hash-verified

447}
448
449function addPropertyExampleToObjectExamples(example, obj, propertyKey) {
450 for (const key in obj) {
451 obj[key][propertyKey] = example;
452 }
453}
454
455function mergePropertyExamples(obj, propertyName, propExamples) {
456 // Create an example for each variant of the propertyExample, merging them with the current (parent) example

Callers 1

schemaToSampleObjFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…