Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jsclifford
Copy link
Contributor

@jsclifford jsclifford commented Aug 4, 2025

@lahma
Copy link
Collaborator

lahma commented Aug 4, 2025

Can you also try it to compile with TypeScriptCompiler? You can add packages to packages.json in project root. Rico decides if it will be merged of course.

@jsclifford
Copy link
Contributor Author

jsclifford commented Aug 4, 2025

Can you also try it to compile with TypeScriptCompiler? You can add packages to packages.json in project root. Rico decides if it will be merged of course.

Yes I can. I only see a package.json in the src/NSwag.CodeGeneration.Typescript.Tests folder. Is that where you use the TypeScriptCompiler?

I ran dotnet test in the root and src/NSwag.CodeGeneration.Typescript.Tests folder. Both passed.

@jsclifford
Copy link
Contributor Author

jsclifford commented Aug 4, 2025

I added the typescript compiler to the K6Tests.cs to assert it compiles successfully. I also tested the new client built from this pipeline locally and the k6 tests work.

@jsclifford
Copy link
Contributor Author

I pushed up fixes to the failing tests.

Copy link
Collaborator

@lahma lahma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@lahma lahma merged commit 4b549fd into RicoSuter:master Aug 10, 2025
3 checks passed
@jsclifford jsclifford deleted the ISSUE-5239-Adding-K6 branch August 12, 2025 21:51
This was referenced Sep 19, 2025
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.

Add Template for TypeScript Client Generation for K6

2 participants