MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / oa_prop

Function oa_prop

tests/test_openapi.c:26–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26static const char *oa_prop(const CBMDefinition *d, const char *key) {
27 for (int i = 0; d && d->extra_props && d->extra_props[i]; i += 2) {
28 if (strcmp(d->extra_props[i], key) == 0) {
29 return d->extra_props[i + 1];
30 }
31 }
32 return NULL;
33}
34
35static int oa_count(const CBMFileResult *r, const char *label) {
36 int n = 0;

Callers 1

test_openapi.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected