Skip to content

Commit 6f186bd

Browse files
committed
Add note to generate-routes
1 parent 9071630 commit 6f186bd

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

generate-routes.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,7 @@ const ignoredEndpointPaths = [
5555
] as const
5656

5757
const endpointResources: Partial<Record<keyof typeof openapi.paths, null>> = {
58-
'/access_codes/delete': null,
59-
'/access_codes/unmanaged/delete': null,
60-
'/access_codes/update': null,
6158
'/connect_webviews/view': null,
62-
'/noise_sensors/noise_thresholds/create': null,
63-
'/noise_sensors/noise_thresholds/delete': null,
64-
'/noise_sensors/noise_thresholds/update': null,
65-
'/thermostats/climate_setting_schedules/update': null,
66-
'/workspaces/reset_sandbox': null,
6759
} as const
6860

6961
interface Route {
@@ -103,7 +95,7 @@ const createRoutes = (): Route[] => {
10395
if (unmatchedEndpointPaths.length > 0) {
10496
// eslint-disable-next-line no-console
10597
console.warn(
106-
`The following endpoints will not be generated:\n${unmatchedEndpointPaths.join(
98+
`The following endpoints will not be generated (add them to routePaths in generate-routes.ts):\n${unmatchedEndpointPaths.join(
10799
'\n',
108100
)}`,
109101
)

0 commit comments

Comments
 (0)