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

Method resetState

src/core/SpecService.ts:101–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99 }
100
101 private resetState() {
102 this.logger.debug("Resetting service state");
103 this.catalog = [];
104 this.specs = {};
105 this.specCache.clear();
106 }
107
108 private async loadExistingCatalog(): Promise<boolean> {
109 try {

Callers 2

loadExistingCatalogMethod · 0.95
initializeMethod · 0.95

Calls 2

clearMethod · 0.80
debugMethod · 0.65

Tested by

no test coverage detected