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

Feature: C Language Support #130

Merged
merged 69 commits into from
Aug 31, 2023
Merged

Feature: C Language Support #130

merged 69 commits into from
Aug 31, 2023

Conversation

jlacivita
Copy link
Contributor

No description provided.

jlacivita and others added 30 commits August 8, 2023 04:11
Also started tweaking C templates and adding a few useful macros.
* fix: Sort the macrofied schemas based on schema refs

* fix: Sort the schemas before macrofying

* fix: Handle the schemas part
Enum fixes :
1. missing description added
2. alignment fixes
3. implementation added for enum inside properties
4. Enum to String value Conversion logic added for C
Types and Accessor related fixes:
1. Accessor creation
2. JsonContainer creation
3. Types order placed based on depenedencies
4. filtered redundant new lines
5. UnamedSchema issue fixes
6. Types and Accessors:  generation added for objects inside methods result/params
7. AnyOf support added
Static code implementation updates
Co-authored-by: Jeremy LaCivita <[email protected]>
Add support to generate file inclusion for common schema also
* feat: Add method templates for properties

* feat: Property setters using templates

* fix: Macro name correction
* feat: Add method templates for properties

* feat: Property setters using templates

* fix: Macro name correction

* feat: Add template for polymorphic-pull
Default template implementation added
…ant code, array handling fix (#109)

Naming + void* to struct* changes based on sky review, removed redundant code, array handling fix
language-c: re-arrange files locations
jlacivita and others added 21 commits August 11, 2023 03:55
Default template implementation added
…ant code, array handling fix (#109)

Naming + void* to struct* changes based on sky review, removed redundant code, array handling fix
language-c: re-arrange files locations
#118)

Detach setter declaration from property template and add setter template, remove unredundant warnings
Cleanup changes, add separator between prefix and subSchema name generation
Introduce excludeDeclarations flag to handle declaration exclusion specific to language
Alignement changes + cleanup + OUT params support added to differentiate method signature parameters
Update in static code
@jlacivita jlacivita merged commit 33db98c into next Aug 31, 2023
jlacivita pushed a commit that referenced this pull request Aug 31, 2023
# [2.1.0-next.1](v2.0.4-next.3...v2.1.0-next.1) (2023-08-31)

### Features

* C Language Support ([#130](#130)) ([33db98c](33db98c)), closes [#90](#90) [#93](#93) [#94](#94) [#96](#96) [#97](#97) [#100](#100) [#99](#99) [#101](#101) [#102](#102) [#107](#107) [#106](#106) [#105](#105) [#103](#103) [#109](#109) [#112](#112) [#111](#111) [#113](#113) [#114](#114) [#115](#115) [#110](#110) [#117](#117) [#116](#116) [#118](#118) [#121](#121) [#119](#119) [#90](#90) [#93](#93) [#94](#94) [#96](#96) [#97](#97) [#100](#100) [#99](#99) [#101](#101) [#102](#102) [#107](#107) [#106](#106) [#105](#105) [#103](#103) [#109](#109) [#112](#112) [#111](#111) [#113](#113) [#114](#114) [#115](#115) [#110](#110) [#117](#117) [#116](#116) [#118](#118) [#121](#121) [#119](#119) [#127](#127)
@jlacivita
Copy link
Contributor Author

🎉 This PR is included in version 2.1.0-next.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@HaseenaSainul HaseenaSainul deleted the feature/c-language branch September 4, 2023 07:33
jlacivita pushed a commit that referenced this pull request Sep 7, 2023
# [2.1.0](v2.0.4...v2.1.0) (2023-09-07)

### Bug Fixes

* Changes based on schema update ([#131](#131)) ([9df4f15](9df4f15))
* Enabled setter to have null as param value ([#122](#122)) ([2bfee25](2bfee25))
* Setters w/ no params fail mock ([#124](#124)) ([0538eff](0538eff))
* Update package.json ([c7bf0e3](c7bf0e3))

### Features

* C Language Support ([#130](#130)) ([33db98c](33db98c)), closes [#90](#90) [#93](#93) [#94](#94) [#96](#96) [#97](#97) [#100](#100) [#99](#99) [#101](#101) [#102](#102) [#107](#107) [#106](#106) [#105](#105) [#103](#103) [#109](#109) [#112](#112) [#111](#111) [#113](#113) [#114](#114) [#115](#115) [#110](#110) [#117](#117) [#116](#116) [#118](#118) [#121](#121) [#119](#119) [#90](#90) [#93](#93) [#94](#94) [#96](#96) [#97](#97) [#100](#100) [#99](#99) [#101](#101) [#102](#102) [#107](#107) [#106](#106) [#105](#105) [#103](#103) [#109](#109) [#112](#112) [#111](#111) [#113](#113) [#114](#114) [#115](#115) [#110](#110) [#117](#117) [#116](#116) [#118](#118) [#121](#121) [#119](#119) [#127](#127)
@jlacivita
Copy link
Contributor Author

🎉 This PR is included in version 2.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants