fix: missing path parameter in OpenAPI route for fetchStreamUrl
Summary: Test Plan:
This commit is contained in:
@@ -3,6 +3,7 @@ import { OpenAPIHono, createRoute, z } from "@hono/zod-openapi";
|
||||
import { readEnvVariable } from "~/libs/readEnvVariable";
|
||||
import type { Env } from "~/types/env";
|
||||
import {
|
||||
AniListIdQuerySchema,
|
||||
ErrorResponse,
|
||||
ErrorResponseSchema,
|
||||
SuccessResponseSchema,
|
||||
@@ -21,6 +22,7 @@ const route = createRoute({
|
||||
method: "post",
|
||||
path: "/{aniListId}/url",
|
||||
request: {
|
||||
params: z.object({ aniListId: AniListIdQuerySchema }),
|
||||
body: {
|
||||
content: {
|
||||
"application/json": {
|
||||
|
||||
Reference in New Issue
Block a user