Skip to content

fix: Add support for additional numeric formats in JSDoc tags#356

Open
clicktodev wants to merge 2 commits intofabien0102:mainfrom
clicktodev:support-64-integers
Open

fix: Add support for additional numeric formats in JSDoc tags#356
clicktodev wants to merge 2 commits intofabien0102:mainfrom
clicktodev:support-64-integers

Conversation

@clicktodev
Copy link

@clicktodev clicktodev commented Nov 25, 2025

Extend the supported numeric formats in JSDoc tags to include int64 and uint64.

it seems case ts.SyntaxKind.NumberKeyword now includes int64 and uint64.

this partially fixes #355

this fixes the case

interface Body {
  /**
   * @format int64
   */
  id: number;
}

but doesn't fix the case

interface Body {
  /**
   * @format int64
   */
  id: string;
}

@clicktodev clicktodev changed the title Add support for additional numeric formats in JSDoc tags fix: Add support for additional numeric formats in JSDoc tags Nov 25, 2025
@clicktodev clicktodev marked this pull request as draft November 25, 2025 15:23
@clicktodev clicktodev marked this pull request as ready for review November 25, 2025 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

broken schema when using a string property with @format int64

1 participant