Closed predic8 closed 1 month ago
private void initOpenAPI() throws IOException, ClassNotFoundException { if (specs.isEmpty()) return; apiRecords = new OpenAPIRecordFactory(router).create(specs); checkForDuplicatePaths(); basePaths = getOpenAPIMap(); configureBasePaths(); // @TODO only add if there are OpenAPI Specs interceptors.add(new OpenAPIPublisherInterceptor(apiRecords)); interceptors.add(new OpenAPIInterceptor(this, router)); }