-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathopenapi-config.ts
57 lines (55 loc) · 1.45 KB
/
openapi-config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import type { ConfigFile } from "@rtk-query/codegen-openapi";
const config: ConfigFile = {
schemaFile: "./swagger.json",
apiFile: "./src/redux/services/digmaEmpty.ts",
apiImport: "digmaEmptyApi",
outputFile: "./src/redux/services/digmaCodeGen.ts",
exportName: "digmaCodeGenApi",
endpointOverrides: [
"postCodeAnalyticsErrorsCodeobjectSummary",
"postCodeAnalyticsCodeObjectsRecentActivity",
"postCodeAnalyticsCodeObjectsLens",
"postCodeAnalyticsCodeobjectsStatus",
"postCodeAnalyticsCodeObjectsSpanNavigation",
"postCodeAnalyticsEventsLatest",
"postCodeAnalyticsUserUsageStats",
"postErrors",
"postErrorsFilters",
"postGraphsGraphForSpanScaling",
"postGraphsGraphForSpanPercentiles",
"postHighlightsPerformance",
"postHighlightsTopInsights",
"postInsightsGetMethodUsage",
"postInsightsTypesForJaeger",
"postInsightsIssues",
"postHighlightsImpact",
"postHighlightsScaling",
"postLiveDataLiveData",
"postReportsServicesIssues",
"postReportsEndpointsIssues",
"postTestingGetLatestTestsOfSpan"
].map((pattern) => ({
pattern,
type: "query"
})),
filterEndpoints: [
/About/,
/Assets/,
/Authentication/,
/CodeAnalytics/,
/Dashboard/,
/Environments/,
/Errors/,
/Graphs/,
/Highlights/,
/Insights/,
/InsightsActions/,
/LiveData/,
/Reports/,
/Services/,
/Spans/,
/Testing/
],
hooks: true
};
export default config;