This PR adds marking of required input fields in .mjs (.py) file. To do this we are now going through AST type tree and constructing example tree at the same time. This allows us to know which property is required and which example value should be used. Also we are now able to work with partial examples while making sure that result match the original structure.
Description
This PR adds marking of required input fields in .mjs (.py) file. To do this we are now going through AST type tree and constructing example tree at the same time. This allows us to know which property is required and which example value should be used. Also we are now able to work with partial examples while making sure that result match the original structure.
Motivation and Context
[
https://github.com/orgs/superfaceai/discussions/10 https://superfaceai.slack.com/archives/C013602CL2Y/p1691656230267869
Types of changes
Checklist: