MCPcopy Create free account
hub / github.com/APIs-guru/aws2openapi / checkDef

Function checkDef

index.js:63–68  ·  view source on GitHub ↗
(openapi,container)

Source from the content-addressed store, hash-verified

61}
62
63function checkDef(openapi,container) {
64 assert.equal(typeof container.shape,'string');
65 if (!openapi.components.schemas[container.shape]) {
66 openapi.components.schemas[container.shape] = {};
67 }
68}
69
70// Taken from aws-sdk/lib/region_config.js:
71function generateRegionPrefix(region) {

Callers 3

transformShapeFunction · 0.85
attachParametersFunction · 0.85
index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected