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

Add C client generator #516

Merged
merged 123 commits into from
Nov 16, 2018
Merged

Add C client generator #516

merged 123 commits into from
Nov 16, 2018

Commits on Jul 9, 2018

  1. add c generator (1st commit)

    wing328 committed Jul 9, 2018
    Configuration menu
    Copy the full SHA
    a692d5a View commit details
    Browse the repository at this point in the history
  2. udpate c model template

    wing328 committed Jul 9, 2018
    Configuration menu
    Copy the full SHA
    18b24d1 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2018

  1. Configuration menu
    Copy the full SHA
    085f917 View commit details
    Browse the repository at this point in the history
  2. more fixes

    wing328 committed Aug 8, 2018
    Configuration menu
    Copy the full SHA
    21df220 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2018

  1. Add string replace function for C generator (#908)

    * Add string replace function for C generator
    
    * Fixed replacement for variable only
    
    * Fixed problem for different datatypes of paramName
    
    * store return value of modified path
    
    * set str_replace variable to be same as original variable.
    
    * [C] Fixed coding style issues
    zhemant authored and wing328 committed Sep 4, 2018
    Configuration menu
    Copy the full SHA
    b9f47cb View commit details
    Browse the repository at this point in the history
  2. add uncrustify support

    wing328 committed Sep 4, 2018
    Configuration menu
    Copy the full SHA
    78d86ba View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b8022b5 View commit details
    Browse the repository at this point in the history
  4. update petstore sampmles

    wing328 committed Sep 4, 2018
    Configuration menu
    Copy the full SHA
    68c5c11 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    480371d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4e3dd42 View commit details
    Browse the repository at this point in the history
  7. add Locale.ROOT

    wing328 committed Sep 4, 2018
    Configuration menu
    Copy the full SHA
    4119a10 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2018

  1. Configuration menu
    Copy the full SHA
    b610121 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c8a6c3d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    63e2139 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5eae0ac View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    45cda5d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4291af7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8ef4dbb View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a1d13e7 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f332434 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    4568967 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    0835a4d View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    69272eb View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    da5f404 View commit details
    Browse the repository at this point in the history
  14. fix locale

    wing328 committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    e84ea25 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2018

  1. [C] Function addition and modification of major structs (#1020)

    * added readme file
    
    * fixed parameters in api headers functions
    
    * made changes to add readme file and typemapping of array to list
    
    * fixed header import statement in apiheader files
    
    * modified struct of model type in model header
    
    * updated sample
    
    * modified README file
    
    * updated sample
    
    * parse from json function added
    
    * modified struct and create function
    
    * added include for model
    
    * modified parsefromjson function
    
    * modified struct and create function for more datatypes
    
    * added mapping for date-time and modified model import return statement
    
    * modified function parameters
    
    * modified include statement
    
    * fix function in api body
    
    * updated sample
    zhemant authored and wing328 committed Sep 12, 2018
    Configuration menu
    Copy the full SHA
    86c5e7b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    32ea217 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    29e901b View commit details
    Browse the repository at this point in the history
  4. clean up files

    wing328 committed Sep 12, 2018
    Configuration menu
    Copy the full SHA
    1b1d820 View commit details
    Browse the repository at this point in the history
  5. regenerate c petstore

    wing328 committed Sep 12, 2018
    Configuration menu
    Copy the full SHA
    11256d3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5b596d2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d2d5c8a View commit details
    Browse the repository at this point in the history
  8. added uncrustify rules in mustache (#1021)

    * added uncrustify rules in  mustache
    
    * updated sample
    
    * updated same with crustify
    
    * updated sample with uncrusitfy 0.67
    
    * modified readme about uncrustify requirements
    
    * fixed mistakes in readme mustache and sample readme
    zhemant authored and wing328 committed Sep 12, 2018
    Configuration menu
    Copy the full SHA
    692d503 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f519ded View commit details
    Browse the repository at this point in the history
  10. fix import in test files

    wing328 committed Sep 12, 2018
    Configuration menu
    Copy the full SHA
    c595349 View commit details
    Browse the repository at this point in the history
  11. fix model with complexType

    wing328 committed Sep 12, 2018
    Configuration menu
    Copy the full SHA
    1fd318c View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    77e3c36 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2018

  1. modified sample

    zhemant committed Sep 14, 2018
    Configuration menu
    Copy the full SHA
    ce796a0 View commit details
    Browse the repository at this point in the history
  2. Modified sample to check

    zhemant committed Sep 14, 2018
    Configuration menu
    Copy the full SHA
    427f5a7 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2018

  1. Configuration menu
    Copy the full SHA
    0c1b16b View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2018

  1. Configuration menu
    Copy the full SHA
    7becd72 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2018

  1. Configuration menu
    Copy the full SHA
    49d05df View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    34a95fd View commit details
    Browse the repository at this point in the history
  3. commented operation name

    zhemant committed Sep 17, 2018
    Configuration menu
    Copy the full SHA
    4dd5ac4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8f5ba3c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4425d67 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2018

  1. Configuration menu
    Copy the full SHA
    ac2a7d3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    df32079 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2018

  1. added code to upload image

    zhemant committed Sep 20, 2018
    Configuration menu
    Copy the full SHA
    4635f30 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c1027a9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    de6f1ec View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d052544 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9fcd026 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0f1d05f View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2018

  1. Configuration menu
    Copy the full SHA
    80a10b6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9473340 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    02377fc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cb35c5a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    beb5904 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2018

  1. Configuration menu
    Copy the full SHA
    dee85b7 View commit details
    Browse the repository at this point in the history
  2. update c samples

    wing328 committed Sep 23, 2018
    Configuration menu
    Copy the full SHA
    7d4270e View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2018

  1. remove corrupted file

    wing328 committed Sep 24, 2018
    Configuration menu
    Copy the full SHA
    9a90c4a View commit details
    Browse the repository at this point in the history
  2. update samples

    wing328 committed Sep 24, 2018
    Configuration menu
    Copy the full SHA
    96b95c9 View commit details
    Browse the repository at this point in the history
  3. test cases for APIs

    zhemant committed Sep 24, 2018
    Configuration menu
    Copy the full SHA
    48f3425 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e0a3fe5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a9f7c64 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a83c14f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    99ba1f5 View commit details
    Browse the repository at this point in the history
  8. fixed issue with bool type

    zhemant committed Sep 24, 2018
    Configuration menu
    Copy the full SHA
    7d9dab0 View commit details
    Browse the repository at this point in the history
  9. added file apiKey.c

    zhemant committed Sep 24, 2018
    Configuration menu
    Copy the full SHA
    781897a View commit details
    Browse the repository at this point in the history
  10. updated sample tested

    zhemant committed Sep 24, 2018
    Configuration menu
    Copy the full SHA
    731e4dd View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2018

  1. Configuration menu
    Copy the full SHA
    f39815f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    01c6696 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    970d5a7 View commit details
    Browse the repository at this point in the history
  4. add mapping for map (#1103)

    wing328 authored Sep 25, 2018
    Configuration menu
    Copy the full SHA
    f67f1c9 View commit details
    Browse the repository at this point in the history
  5. minor update

    wing328 committed Sep 25, 2018
    Configuration menu
    Copy the full SHA
    4b2986e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1ad49c2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1f1deda View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c0d766d View commit details
    Browse the repository at this point in the history
  9. updated sample

    zhemant committed Sep 25, 2018
    Configuration menu
    Copy the full SHA
    3b8ef43 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    436438c View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2018

  1. Configuration menu
    Copy the full SHA
    bc86de5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b42aa62 View commit details
    Browse the repository at this point in the history
  3. updated sample

    zhemant committed Sep 26, 2018
    Configuration menu
    Copy the full SHA
    8e901ee View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5871428 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d76ee54 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2018

  1. Configuration menu
    Copy the full SHA
    3e00feb View commit details
    Browse the repository at this point in the history
  2. updated sample

    zhemant committed Sep 27, 2018
    Configuration menu
    Copy the full SHA
    2be912f View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2018

  1. Configuration menu
    Copy the full SHA
    d308570 View commit details
    Browse the repository at this point in the history
  2. Add C Petstore to Travis CI (#1136)

    * setup CI for C petstore
    
    * update bash script permission
    
    * unit petapi test
    wing328 authored Sep 29, 2018
    Configuration menu
    Copy the full SHA
    f933eee View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6ac359f View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2018

  1. Configuration menu
    Copy the full SHA
    f0faafe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    79b43c5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9940c09 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e85ed1a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    47041ab View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    348c63d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b16d518 View commit details
    Browse the repository at this point in the history
  8. updated sample

    zhemant committed Oct 1, 2018
    Configuration menu
    Copy the full SHA
    d9cce8b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6d5d6bf View commit details
    Browse the repository at this point in the history
  10. manual test file for pet

    zhemant committed Oct 1, 2018
    Configuration menu
    Copy the full SHA
    8f78145 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d9b83d9 View commit details
    Browse the repository at this point in the history
  12. renamed test files

    zhemant committed Oct 1, 2018
    Configuration menu
    Copy the full SHA
    9313f21 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    f86ce4c View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    c0a5b2f View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2018

  1. modified uncrusitfy rules

    zhemant committed Oct 3, 2018
    Configuration menu
    Copy the full SHA
    0656180 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6e082b3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ae341b1 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2018

  1. [C] Fixed enum function declaration (#1178)

    * fixed enum function declaration in model headers
    
    * fixed enum declaration in header files for sample
    zhemant authored and wing328 committed Oct 6, 2018
    Configuration menu
    Copy the full SHA
    17ecb4f View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2018

  1. Configuration menu
    Copy the full SHA
    29ccb3e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d6e652e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7cff463 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6b109dc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1245993 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    40644f2 View commit details
    Browse the repository at this point in the history
  7. updated sample

    zhemant committed Oct 9, 2018
    Configuration menu
    Copy the full SHA
    4edbcd1 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2018

  1. fixed spaces issue

    zhemant committed Oct 10, 2018
    Configuration menu
    Copy the full SHA
    914b0a9 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2018

  1. Configuration menu
    Copy the full SHA
    fade893 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2018

  1. Better format in C templates (#1224)

    * better format in the c template
    
    * minor format fix
    wing328 authored Oct 12, 2018
    Configuration menu
    Copy the full SHA
    77a821e View commit details
    Browse the repository at this point in the history
  2. [C] changed base url from static to dynamic (#1225)

    * changed basePath from static to dynamic
    
    * removed unnecessary header declaration
    
    * updated sample
    zhemant authored and wing328 committed Oct 12, 2018
    Configuration menu
    Copy the full SHA
    5780968 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2018

  1. [C] added curl version check in CMakeList.txt (#1248)

    * added curl version check in CMakeList.txt
    
    * Updated README for latest curl version
    zhemant authored and wing328 committed Oct 16, 2018
    Configuration menu
    Copy the full SHA
    8bd7416 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2018

  1. [C] Major changes to keyValuePair function (#1282)

    * removed static declaration
    
    * changed static declaration
    
    * added difference for string and non string
    
    * added more code for different function for string and non string
    
    * fix issue with param name
    
    * change value in keyPairValue to void
    
    * fixed issue of difference in function name cases
    
    * added support for non char parameters in api
    
    * fix issue of map return data
    
    * modified manual-StoreAPI map return data handling
    
    * fix minor mistake
    
    * added support for map and changed code to support value of keyvaluepair as char and other
    
    * updated sample
    
    * fixed api header declarations
    
    * change map declaration in header
    
    * resolved issues realted to map data handling
    
    * fix minor issues
    
    * add N at start if enum variable starts with number
    
    * override toParamName method
    
    * changed paramters to paramName from baseName
    
    * change variables in apibody from baseName to paramName
    zhemant authored and wing328 committed Nov 3, 2018
    Configuration menu
    Copy the full SHA
    f72b196 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2018

  1. Skip test file generation (#1459)

    * skip test file generation
    
    * skip overwriting CMakeLists.txt
    wing328 authored Nov 16, 2018
    Configuration menu
    Copy the full SHA
    e2763a9 View commit details
    Browse the repository at this point in the history