BlogDocs

feat(api-gen): validate exposed endpoints vs schema defined endpoints(#1365)

Merged
Comparing
feat/validate-schema-vs-api-endpoints
(
b0ddc01
) with
main
(
221af3c
)
0%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
9
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Passed

[api-client][transformPathToQuery] - transform with body params
packages/api-client/src/tests/transform.bench.ts::transforming requests::[api-client][transformPathToQuery] - transform with body params
0%
70.9 µs
70.6 µs
[api-client][transformPathToQuery] - transform with path,query,body,header params
packages/api-client/src/tests/transform.bench.ts::transforming requests::[api-client][transformPathToQuery] - transform with path,query,body,header params
0%
280.9 µs
280.2 µs
[api-client][createAdminAPIClient] - creating client
packages/api-client/src/tests/apiClient.bench.ts::apiClient benchmarks::[api-client][createAdminAPIClient] - creating client
0%
101.1 µs
100.9 µs
[api-client][transformPathToQuery] - transform with path params
packages/api-client/src/tests/transform.bench.ts::transforming requests::[api-client][transformPathToQuery] - transform with path params
0%
72.5 µs
72.4 µs
[api-client][createAPIClient] - creating client
packages/api-client/src/tests/apiClient.bench.ts::apiClient benchmarks::[api-client][createAPIClient] - creating client
0%
95 µs
94.8 µs
[api-client][transformPathToQuery] - transform with query params
packages/api-client/src/tests/transform.bench.ts::transforming requests::[api-client][transformPathToQuery] - transform with query params
0%
70.1 µs
70 µs
[api-client][transformPathToQuery] - transform with header params
packages/api-client/src/tests/transform.bench.ts::transforming requests::[api-client][transformPathToQuery] - transform with header params
0%
78.4 µs
78.4 µs
[api-gen][generate] - generate schema command
packages/api-gen/tests/generate.bench.ts::api-gen - generate::[api-gen][generate] - generate schema command
0%
7.8 s
7.9 s
[api-client][transformPathToQuery] - transform without any params
packages/api-client/src/tests/transform.bench.ts::transforming requests::[api-client][transformPathToQuery] - transform without any params
0%
136 µs
136.1 µs

Commits

Click on a commit to change the comparison range
base
main
221af3c
0%
feat(api-gen): validate exposed endpoints vs schema defined endpoints
b0ddc01
15 days ago
by patzick
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.