fix: sanitize OpenAPI document values before splicing into generated … #2023
pr-checks.yaml
on: push
Matrix: pr-checks
publish-preview
0s
Annotations
40 warnings
|
typescript(consistent-type-imports):
tests/__snapshots__/hono/petstore-split-with-handlers-kebab/src/handlers/health-check.ts#L8
tests/__snapshots__/hono/petstore-split-with-handlers-kebab/src/handlers/health-check.ts:8:1: All imports in the declaration are only used as types. Use `import type`.
|
|
typescript(consistent-type-imports):
tests/__snapshots__/hono/petstore-tags-split-with-handlers/src/handlers/deletePetById.ts#L9
tests/__snapshots__/hono/petstore-tags-split-with-handlers/src/handlers/deletePetById.ts:9:1: All imports in the declaration are only used as types. Use `import type`.
|
|
typescript(consistent-type-imports):
tests/__snapshots__/hono/petstore-split-with-handlers-kebab/src/handlers/show-pet-by-id.ts#L9
tests/__snapshots__/hono/petstore-split-with-handlers-kebab/src/handlers/show-pet-by-id.ts:9:1: All imports in the declaration are only used as types. Use `import type`.
|
|
typescript(consistent-type-imports):
tests/__snapshots__/hono/petstore-tags-split-with-handlers/endpoints.validator.ts#L19
tests/__snapshots__/hono/petstore-tags-split-with-handlers/endpoints.validator.ts:19:1: All imports in the declaration are only used as types. Use `import type`.
|
|
typescript(consistent-type-imports):
tests/__snapshots__/hono/petstore-tags-split-with-handlers/endpoints.validator.ts#L17
tests/__snapshots__/hono/petstore-tags-split-with-handlers/endpoints.validator.ts:17:1: All imports in the declaration are only used as types. Use `import type`.
|
|
typescript(consistent-type-imports):
tests/__snapshots__/hono/petstore-tags-split-with-handlers/src/handlers/showPetWithOwner.ts#L9
tests/__snapshots__/hono/petstore-tags-split-with-handlers/src/handlers/showPetWithOwner.ts:9:1: All imports in the declaration are only used as types. Use `import type`.
|
|
typescript(consistent-type-imports):
tests/__snapshots__/hono/petstore-split-with-handlers-kebab/src/handlers/delete-pet-by-id.ts#L9
tests/__snapshots__/hono/petstore-split-with-handlers-kebab/src/handlers/delete-pet-by-id.ts:9:1: All imports in the declaration are only used as types. Use `import type`.
|
|
typescript(consistent-type-imports):
tests/__snapshots__/hono/petstore-split-with-handlers-kebab/endpoints.validator.ts#L19
tests/__snapshots__/hono/petstore-split-with-handlers-kebab/endpoints.validator.ts:19:1: All imports in the declaration are only used as types. Use `import type`.
|
|
typescript(consistent-type-imports):
tests/__snapshots__/hono/petstore-split-with-handlers-kebab/endpoints.validator.ts#L17
tests/__snapshots__/hono/petstore-split-with-handlers-kebab/endpoints.validator.ts:17:1: All imports in the declaration are only used as types. Use `import type`.
|
|
typescript(consistent-type-imports):
tests/__snapshots__/hono/petstore-split-with-handlers-kebab/src/handlers/show-pet-with-owner.ts#L9
tests/__snapshots__/hono/petstore-split-with-handlers-kebab/src/handlers/show-pet-with-owner.ts:9:1: All imports in the declaration are only used as types. Use `import type`.
|
|
typescript(consistent-type-imports):
samples/hono/hono-with-fetch-client/hono-app/src/petstore.validator.ts#L19
samples/hono/hono-with-fetch-client/hono-app/src/petstore.validator.ts:19:1: All imports in the declaration are only used as types. Use `import type`.
|
|
typescript(consistent-type-imports):
samples/hono/hono-with-fetch-client/hono-app/src/petstore.validator.ts#L17
samples/hono/hono-with-fetch-client/hono-app/src/petstore.validator.ts:17:1: All imports in the declaration are only used as types. Use `import type`.
|
|
typescript(consistent-type-imports):
samples/react-app/src/api/mutator/custom-instance.ts#L1
samples/react-app/src/api/mutator/custom-instance.ts:1:1: Imports AxiosRequestConfig are only used as type.
|
|
typescript(consistent-type-imports):
samples/hono/hono-with-fetch-client/hono-app/src/handlers/showPetById.ts#L9
samples/hono/hono-with-fetch-client/hono-app/src/handlers/showPetById.ts:9:1: All imports in the declaration are only used as types. Use `import type`.
|
|
typescript(consistent-type-imports):
samples/hono/composite-routes-with-tags-split/src/endpoints/validator.ts#L19
samples/hono/composite-routes-with-tags-split/src/endpoints/validator.ts:19:1: All imports in the declaration are only used as types. Use `import type`.
|
|
typescript(consistent-type-imports):
samples/hono/composite-routes-with-tags-split/src/endpoints/validator.ts#L17
samples/hono/composite-routes-with-tags-split/src/endpoints/validator.ts:17:1: All imports in the declaration are only used as types. Use `import type`.
|
|
typescript(consistent-type-imports):
samples/react-query/basic/src/api/mutator/custom-instance.ts#L1
samples/react-query/basic/src/api/mutator/custom-instance.ts:1:1: Imports AxiosError and AxiosRequestConfig are only used as type.
|
|
typescript(consistent-type-imports):
samples/hono/composite-routes-with-tags-split/src/endpoints/pets/pets.handlers.ts#L9
samples/hono/composite-routes-with-tags-split/src/endpoints/pets/pets.handlers.ts:9:1: All imports in the declaration are only used as types. Use `import type`.
|
|
typescript(consistent-type-imports):
samples/react-app-with-swr/basic/src/api/mutator/custom-instance.ts#L1
samples/react-app-with-swr/basic/src/api/mutator/custom-instance.ts:1:1: Imports AxiosRequestConfig are only used as type.
|
|
typescript(consistent-type-imports):
samples/vue-query/vue-query-basic/src/api/mutator/custom-instance.ts#L1
samples/vue-query/vue-query-basic/src/api/mutator/custom-instance.ts:1:1: Imports AxiosRequestConfig are only used as type.
|
|
typescript(consistent-type-imports):
tests/__snapshots__/hono/petstore-split-with-handlers-kebab/src/handlers/health-check.ts#L8
tests/__snapshots__/hono/petstore-split-with-handlers-kebab/src/handlers/health-check.ts:8:1: All imports in the declaration are only used as types. Use `import type`.
|
|
typescript(consistent-type-imports):
tests/__snapshots__/hono/petstore-tags-split-with-handlers/src/handlers/deletePetById.ts#L9
tests/__snapshots__/hono/petstore-tags-split-with-handlers/src/handlers/deletePetById.ts:9:1: All imports in the declaration are only used as types. Use `import type`.
|
|
typescript(consistent-type-imports):
tests/__snapshots__/hono/petstore-split-with-handlers-kebab/src/handlers/show-pet-by-id.ts#L9
tests/__snapshots__/hono/petstore-split-with-handlers-kebab/src/handlers/show-pet-by-id.ts:9:1: All imports in the declaration are only used as types. Use `import type`.
|
|
typescript(consistent-type-imports):
tests/__snapshots__/hono/petstore-tags-split-with-handlers/endpoints.validator.ts#L19
tests/__snapshots__/hono/petstore-tags-split-with-handlers/endpoints.validator.ts:19:1: All imports in the declaration are only used as types. Use `import type`.
|
|
typescript(consistent-type-imports):
tests/__snapshots__/hono/petstore-tags-split-with-handlers/endpoints.validator.ts#L17
tests/__snapshots__/hono/petstore-tags-split-with-handlers/endpoints.validator.ts:17:1: All imports in the declaration are only used as types. Use `import type`.
|
|
typescript(consistent-type-imports):
tests/__snapshots__/hono/petstore-tags-split-with-handlers/src/handlers/showPetWithOwner.ts#L9
tests/__snapshots__/hono/petstore-tags-split-with-handlers/src/handlers/showPetWithOwner.ts:9:1: All imports in the declaration are only used as types. Use `import type`.
|
|
typescript(consistent-type-imports):
tests/__snapshots__/hono/petstore-split-with-handlers-kebab/src/handlers/delete-pet-by-id.ts#L9
tests/__snapshots__/hono/petstore-split-with-handlers-kebab/src/handlers/delete-pet-by-id.ts:9:1: All imports in the declaration are only used as types. Use `import type`.
|
|
typescript(consistent-type-imports):
tests/__snapshots__/hono/petstore-split-with-handlers-kebab/endpoints.validator.ts#L19
tests/__snapshots__/hono/petstore-split-with-handlers-kebab/endpoints.validator.ts:19:1: All imports in the declaration are only used as types. Use `import type`.
|
|
typescript(consistent-type-imports):
tests/__snapshots__/hono/petstore-split-with-handlers-kebab/endpoints.validator.ts#L17
tests/__snapshots__/hono/petstore-split-with-handlers-kebab/endpoints.validator.ts:17:1: All imports in the declaration are only used as types. Use `import type`.
|
|
typescript(consistent-type-imports):
tests/__snapshots__/hono/petstore-split-with-handlers-kebab/src/handlers/show-pet-with-owner.ts#L9
tests/__snapshots__/hono/petstore-split-with-handlers-kebab/src/handlers/show-pet-with-owner.ts:9:1: All imports in the declaration are only used as types. Use `import type`.
|
|
typescript(consistent-type-imports):
samples/hono/hono-with-fetch-client/hono-app/src/petstore.validator.ts#L19
samples/hono/hono-with-fetch-client/hono-app/src/petstore.validator.ts:19:1: All imports in the declaration are only used as types. Use `import type`.
|
|
typescript(consistent-type-imports):
samples/hono/hono-with-fetch-client/hono-app/src/petstore.validator.ts#L17
samples/hono/hono-with-fetch-client/hono-app/src/petstore.validator.ts:17:1: All imports in the declaration are only used as types. Use `import type`.
|
|
typescript(consistent-type-imports):
samples/hono/hono-with-fetch-client/hono-app/src/handlers/showPetById.ts#L9
samples/hono/hono-with-fetch-client/hono-app/src/handlers/showPetById.ts:9:1: All imports in the declaration are only used as types. Use `import type`.
|
|
typescript(consistent-type-imports):
samples/react-app/src/api/mutator/custom-instance.ts#L1
samples/react-app/src/api/mutator/custom-instance.ts:1:1: Imports AxiosRequestConfig are only used as type.
|
|
typescript(consistent-type-imports):
samples/hono/composite-routes-with-tags-split/src/endpoints/validator.ts#L19
samples/hono/composite-routes-with-tags-split/src/endpoints/validator.ts:19:1: All imports in the declaration are only used as types. Use `import type`.
|
|
typescript(consistent-type-imports):
samples/hono/composite-routes-with-tags-split/src/endpoints/validator.ts#L17
samples/hono/composite-routes-with-tags-split/src/endpoints/validator.ts:17:1: All imports in the declaration are only used as types. Use `import type`.
|
|
typescript(consistent-type-imports):
samples/react-query/basic/src/api/mutator/custom-instance.ts#L1
samples/react-query/basic/src/api/mutator/custom-instance.ts:1:1: Imports AxiosError and AxiosRequestConfig are only used as type.
|
|
typescript(consistent-type-imports):
samples/hono/composite-routes-with-tags-split/src/endpoints/pets/pets.handlers.ts#L9
samples/hono/composite-routes-with-tags-split/src/endpoints/pets/pets.handlers.ts:9:1: All imports in the declaration are only used as types. Use `import type`.
|
|
typescript(consistent-type-imports):
samples/react-app-with-swr/basic/src/api/mutator/custom-instance.ts#L1
samples/react-app-with-swr/basic/src/api/mutator/custom-instance.ts:1:1: Imports AxiosRequestConfig are only used as type.
|
|
typescript(consistent-type-imports):
samples/vue-query/vue-query-basic/src/api/mutator/custom-instance.ts#L1
samples/vue-query/vue-query-basic/src/api/mutator/custom-instance.ts:1:1: Imports AxiosRequestConfig are only used as type.
|