Open george-haroun opened 2 years ago
Thank you for filing the issue. If you send a pull request with a fix, please add a test case with a minimal example that reproduces the issue. The example here looks a bit complex.
Hi @domoritz, thanks for your replay and sorry for my mistake in typing that i will try to fix it, i have corrected my last sentence
Can anyone help with a fix pull request?
any progress on this ?
If there was, I think there would be a comment or a pull request here. Can you help with a pull request?
don't think i have time as i maintain another github open source project(https://github.com/gofiber/fiber) myself
will see what i can do, thought someone from the community with more code background knowledge could take this on and develop a fix directly before i get involved
Hi there i get an empty objects once i allow additional properties..
Given the following set of types:
Schema result
With allowing additionalProperties --> generate incorrect data in "valueSelector" node e.g. "ts-json-schema-generator -p file.ts -t IType --no-ref-encode --no-top-ref --out ./schema.json"
with disallow additional properties --> correct schema e.g. "ts-json-schema-generator -p file.ts -t IType --additional-properties --no-ref-encode --no-top-ref --out ./schema.json"
please have a look and try to fix this issue because as i see the lib is very good and it will be nice to avoid such errors in generating schema