Skip to content
This repository was archived by the owner on Sep 3, 2026. It is now read-only.

feat: add generated test models and serialization logic - #73

Merged
nikdim03 merged 15 commits into
mainfrom
feature/ton-850-generation-result-tests
Apr 30, 2026
Merged

nikdim03 merged 15 commits into
mainfrom
feature/ton-850-generation-result-tests

Conversation

@nikdim03

Copy link
Copy Markdown
Contributor

No description provided.

@@ -0,0 +1,37 @@
{
"packageName": "io.ton.walletkit.api.generatedtest",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@nikdim03 Can't we reuse existing config for generation models? If we need different package names then we can try to pass them explicitly in open api generator CLI call

@ProudOfZiggy

Copy link
Copy Markdown
Contributor

@nikdim03 We can't just say that "if models are compiles they are correct". We need to generate test models and compare generated files to reference test models. So we could know if there was any changes.

P.S. Due possible irrelevant changes (for example - extra spaces in code) made while adding new features in generator, we need to make trimming for both (new generated models and reference) files - e.g. remove all spaces

@nikdim03
nikdim03 merged commit 7eea574 into main Apr 30, 2026
10 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants