Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GSOC-Week24 #4

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Conversation

esraaeiid
Copy link

Implemented a minimal prototype to showcase generating with SwiftSyntax and SwiftSyntaxBuilder capabilities.

- add cases for testSAMJSONSchemaReader() unitTest to pass AWSLambdaDeploymentDescriptorGeneratorTest tests
- removed ArrayItem struct and updated JSONType to adapt to the removal of the struct
- added DecodingError to catch error when decoding fails
- handled smart decoding of type key inside the JSONType
- added more test cases for the  SimpleJSONSchemaReader as a refrence to be able to add them later for the JSONSchemaReader
- added more keys for the ObjectSchema struct
- removed keys from SAMJSONSchema to pass tests on minimal keys
- handled one scencario of the anyOf key
- reviewd comments from the codeReview and added/ fixed it
- fix cases of anyOF/ allOF
- removed unnecessary catch blocks
- add more test cases to validate mpst of the keys insode the JSONSchema
- run swiftformat
- reviewd comments from the Code Review and added/ fixed it
…itializing a model object with init(from decoder:) for the generated struct with SwiftSyntax and SwiftSyntaxBuilder
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.

1 participant