Skip to content

Commit

Permalink
fix path
Browse files Browse the repository at this point in the history
dromzeh committed Nov 6, 2023
1 parent 9e95025 commit 6c95461
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/v2/routes/user/search/[id]/openapi.ts
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ import { createRoute } from "@hono/zod-openapi"
import { getUserByIdSchema } from "./schema"

export const getUserByIdRoute = createRoute({
path: "{id}",
path: "/{id}",
method: "get",
description: "Get a user by their ID.",
request: {
2 changes: 1 addition & 1 deletion src/v2/routes/user/search/[username]/openapi.ts
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ import { createRoute } from "@hono/zod-openapi"
import { getUserByNameSchema } from "./schema"

export const getUserByNameRoute = createRoute({
path: "{username}",
path: "/{username}",
method: "get",
description: "Get a user by their username.",
request: {

0 comments on commit 6c95461

Please sign in to comment.