Add typescript-fetch sample to test temporal (dateLibrary option)
Draft
WI
1mo ago+1345+1345+0123456789012345678901234567890123456789-1-1-0123456789
PR checklist
- Read the contribution guidelines.
- Run the following to build the project and update samples:
(For Windows users, please run the script in WSL)./mvnw clean package || exit ./bin/generate-samples.sh ./bin/configs/*.yaml || exit ./bin/utils/export_docs_generators.sh || exit
Commit all changed files.
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example./bin/generate-samples.sh bin/configs/java*.
IMPORTANT: Do NOT purge/delete any folders/files (e.g. tests) when regenerating the samples as manually written tests may be removed. - If your PR is targeting a particular programming language, @mention the technical committee members, so they are more likely to review the pull request.
Summary by cubic
Adds a typescript-fetch sample build configured with dateLibrary: temporal so the Temporal date support has checked-in sample coverage, and bumps the shared typecheck script to TypeScript 6.0.3.
- Uses the
date-handling.yamlspec, which coversdateanddate-timevalues in paths, query parameters, form parameters, models, and a oneOf. - Adds the generated client under
samples/client/petstore/typescript-fetch/builds/date-library-temporalwith npm packaging enabled; no generator behavior changes. - Bumps
bin/ts-typecheck-all.shto TypeScript 6.0.3 to typecheck the generated samples.