Skip to content

Commit

Permalink
Fix swagger.mdx line numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
samchon committed Jul 7, 2024
1 parent 982f337 commit 55e9e16
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions website/pages/docs/sdk/swagger.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1528,7 +1528,7 @@ For reference, the custom property must be started with x- prefix. It's a rule o

<Tabs items={['TypeScript Source Code', 'Compiled JavaScript File']}>
<Tab>
```typescript copy filename="examples/src/json-schema-custom.ts" copy showLineNumbers {7-9, 16-18, 22-23}
```typescript copy filename="examples/src/json-schema-custom.ts" copy showLineNumbers {7-9, 13, 17-18}
import typia, { tags } from "typia";

type Monetary<Value extends string> = tags.TagBase<{
Expand All @@ -1548,7 +1548,6 @@ interface IAccount {
code: string & Placeholder<"Write you account code please">;
balance: number & Monetary<"dollar">;
};

typia.json.application<[IAccount]>();
```
</Tab>
Expand Down

0 comments on commit 55e9e16

Please sign in to comment.