Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Mar 15, 2024
1 parent e40abf0 commit f733032
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/runtime/routes/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,12 @@ function normalizeRoute(_route: string) {
for (const match of paramMatches) {
const name = match[1];
if (!parameters.some((p) => p.name === name)) {
parameters.push({ name, in: "path", required: true, schema: { type: 'string' } });
parameters.push({
name,
in: "path",
required: true,
schema: { type: "string" },
});
}
}

Expand Down

0 comments on commit f733032

Please sign in to comment.