MCPcopy Create free account
hub / github.com/ReAPI-com/mcp-openapi / isSchemaObject

Method isSchemaObject

src/core/SpecProcessor.ts:211–213  ·  view source on GitHub ↗

* Type guard to check if a schema is a SchemaObject (not a ReferenceObject)

(schema: SchemaOrRef)

Source from the content-addressed store, hash-verified

209 * Type guard to check if a schema is a SchemaObject (not a ReferenceObject)
210 */
211 private isSchemaObject(schema: SchemaOrRef): schema is SchemaObject {
212 return !("$ref" in schema);
213 }
214}

Callers 2

processSchemaMethod · 0.95
mergeSchemasMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected