Skip to content

chore: add automated user-service TypeScript types generation script - #220

Draft
aminamos wants to merge 1 commit into
MobilityData:mainfrom
aminamos:feat/154-user-service-types-artifact
Draft

chore: add automated user-service TypeScript types generation script#220
aminamos wants to merge 1 commit into
MobilityData:mainfrom
aminamos:feat/154-user-service-types-artifact

Conversation

@aminamos

Copy link
Copy Markdown

Summary:

Resolves #154.
Adds scripts/generate-user-api-types.mjs and updates package.json with generate:user-api-types to generate typed API definitions directly from OpenAPI artifacts.

Expected behavior:

Running yarn generate:user-api-types generates up-to-date user-service-api-types.ts.

Testing tips:

  1. Checkout feat/154-user-service-types-artifact.
  2. Run node scripts/generate-user-api-types.mjs.

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Run the unit tests with yarn test to make sure you didn't break anything
  • Add or update any needed documentation to the repo
  • Format the title like "feat: [new feature short description]". Title must follow the Conventional Commit Specification(https://www.conventionalcommits.org/en/v1.0.0/).
  • Linked all relevant issues
  • Include screenshot(s) showing how this pull request works and fixes the issue(s)

@vercel

vercel Bot commented Sep 14, 2026

Copy link
Copy Markdown

@aminamos is attempting to deploy a commit to the MobilityData Team on Vercel.

A member of the Team first needs to authorize it.

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.

Generate user-service types from artifact

1 participant