Permalink
Commits on Nov 17, 2018
  1. fix NPE in the C# Nancy generator (#1478)

    wing328 authored and jimschubert committed Nov 17, 2018
  2. Add C template creator to project's README (#1476)

    wing328 committed Nov 17, 2018
  3. add TUI InfoTec GmbH as company (#1472)

    smasala authored and wing328 committed Nov 17, 2018
Commits on Nov 16, 2018
  1. Add C client generator (#516)

    wing328 committed Nov 16, 2018
    * add c generator (1st commit)
    
    * udpate c model template
    
    * more fixes
    
    * 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
    
    * add uncrustify support
    
    * update petstore sampmles
    
    * add Locale.ROOT
    
    * added test-api-client.c to include test cases for strReplace function
    
    * added header and body mustache and made changes to ClibcurlClientCodegen.java accordingly
    
    * [C] renamed functions in apiKey.c.mustache according to apiKey.h.mustache
    
    * [C] changes in import statement
    
    * renamed apiKey.h to keyValuePair.h and made necessary changes in the codes
    
    * changed apiKey.c according to keyValuePair.h
    
    * fixed import statement in model
    
    * added code for generating struct in model-header.mustache
    
    * added typedef struct for model-headers
    
    * updated sample/client/petstore/C
    
    * fix locale
    
    * [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
    
    * clean up files
    
    * regenerate c petstore
    
    * fix error message when setting uncrustify
    
    * add version to uncrustify usage
    
    * 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
    
    * fix file import, unformat c petstore
    
    * fix import in test files
    
    * fix model with complexType
    
    * fix free string, format the code using uncrustify
    
    * modified sample
    
    * Modified sample to check
    
    * return type issue figured,more to do to fix it
    
    * minor fixes to make complete code compile
    
    * Compiling sample code. Store has issue with map.
    
    * comment out test file generation which is not req.
    
    * commented operation name
    
    * fixed various issues responsible for code not compiling
    
    * test mustache temporary for testing
    
    * updated sample add,del,getbyid works, formparam yet to do
    
    * few minor changes and added fuction to add different header and content type in apiClient
    
    * added code to upload image
    
    * added function to test upload image
    
    * fixes for fileupload and various other small things
    
    * fixed issue due to xml produces
    
    * updated sample:working sample add,del,find,uploading:tocheck ,
    
    * added free functions for variable where memory is allocated
    
    * rename imagecontainer struct to filestruct
    
    * fix issues with if functions for all list types
    
    * fixed issue with primitive return type in header file
    
    * updated sample w/ free functions
    
    * update c samples
    
    * remove corrupted file
    
    * update samples
    
    * test cases for APIs
    
    * added function to generate test cases from new mustache
    
    * mustache files for manual written test cases
    
    * added default content type to application/json
    
    * fixed issue with primitive return type
    
    * fixed issue with bool type
    
    * added file apiKey.c
    
    * updated sample tested
    
    * update c environment variable (#1090)
    
    * add mapping for map (#1103)
    
    * minor update
    
    * revert list paramter check to NULL
    
    * modified return type for primitive(map - list_t)in mustache
    
    * removed apiClient_free as it was two times
    
    * updated sample
    
    * fixed issue of path parameter when string less than parameter len
    
    * fixed issue for form paramters upload
    
    * added checks to avoid seg faults
    
    * updated sample
    
    * added check for null value in form parameter
    
    * modified size of mallocs to dynamic
    
    * updated sample
    
    * Add C Petstore to Travis CI (#1136)
    
    * setup CI for C petstore
    
    * update bash script permission
    
    * unit petapi test
    
    * fixed memory leak in strReplace and apiClient Functions
    
    * modified return value for status generation
    
    * added enum defination and functions to convert and back from string
    
    * added function for enum and made changes to free memory at necessary places
    
    * added datatype handling for enum
    
    * fixes regarding memory allocation and free
    
    * updated mustache of test files
    
    * updated sample
    
    * renamed manually written test files
    
    * manual test file for pet
    
    * cleaned common api test file for time being
    
    * renamed test files
    
    * added renamed test files to build test bash
    
    * added file null pointer check
    
    * modified uncrusitfy rules
    
    * minor update to c templates (#1161)
    
    * [C] Fixed enum function declaration  (#1178)
    
    * fixed enum function declaration in model headers
    
    * fixed enum declaration in header files for sample
    
    * disable curl verbose mode and add response code variable
    
    * added response code variable in apiClient struct
    
    * modified apiClient header and source file
    
    * added response and removed commented code api-body mustache
    
    * removed commented code from model-body mustache
    
    * removed unnecessary print statements from test mustache
    
    * updated sample
    
    * fixed spaces issue
    
    * Better format in C templates (#1224)
    
    * better format in the c template
    
    * minor format fix
    
    * [C] changed base url from static to dynamic (#1225)
    
    * changed basePath from static to dynamic
    
    * removed unnecessary header declaration
    
    * updated sample
    
    * [C] added curl version check in CMakeList.txt (#1248)
    
    * added curl version check in CMakeList.txt
    
    * Updated README for latest curl version
    
    * [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
    
    * Skip test file generation (#1459)
    
    * skip test file generation
    
    * skip overwriting CMakeLists.txt
  2. comment out dart2 test, update rust server samples (#1471)

    wing328 committed Nov 16, 2018
  3. [rust-server] Always derive Debug (#1404)

    bjgill committed Nov 16, 2018
    * Add test for file response
    
    * Always derive Debug
    
    Now that we're using a byte array, we can guarantee that deriving Debug will always work
Commits on Nov 15, 2018
  1. Fix openapi_types generation error (#1256)

    lspvic authored and wing328 committed Nov 15, 2018
  2. Prepare 3.3.4 snapshot (#1450)

    wing328 committed Nov 15, 2018
    * change version to 3.3.4-snapshot
    
    * updat readme
    
    * update samples
  3. Revert "force deployment"

    wing328 committed Nov 15, 2018
    This reverts commit e5c0d22.
  4. force deployment

    wing328 committed Nov 15, 2018
  5. Fix #1424 [SWIFT4] Date Encoding Issues (#1442)

    james-rantmedia authored and d-date committed Nov 15, 2018
    Ensure the same date format string is used throughout the generated code (use the one set in Configuration.swift).
    
    Ensure the same date formatter options are used when encoding dates as well as decoding dates. If a consumer has set their own date formatter on CodableHelper, use that when encoding dates too.
    
    Adds DateFormatTests to the SWIFT4 unit tests.
    
    Updates the SWIFT4 petstore samples
Commits on Nov 14, 2018
  1. prepare 3.3.3 release (#1447)

    wing328 committed Nov 14, 2018
  2. Add file post-processing to C++ client, server generators (#1440)

    wing328 committed Nov 14, 2018
    * add file post processing to cpp generators
    
    * use clang to auto format cpp-restsdk code
    
    * restore cpp-restsdk samples without clang format
  3. test all generators with fake petstore spec 2.0, 3.0 (#1439)

    wing328 committed Nov 14, 2018
  4. C# template refactor (#737)

    jimschubert authored and wing328 committed Nov 14, 2018
    * [csharp] Refactor to support third-party customization more easily
    
    * [csharp] Regenerate OpenAPIClient sample
    
    * create new csharp-refactor client gen
    
    * update samples
    
    * fix Locale.ROOT
    
    * fix import
    
    * remove outdated files, update samples
  5. [Android] Fix compilation errors when there's no model defined (#1438)

    wing328 committed Nov 14, 2018
    * remove model import when there is no model
    
    * fix android http client no model issu due to import
  6. fix(#1423): [JAVA] generating Map with jaxrs-reasteasy does not import (

    tnmtechnologies authored and wing328 committed Nov 14, 2018
    #1426)
    
    * fix(#1423): [JAVA] generating Map with jaxrs-reasteasy does not import
    the hashmap
    
    #1423
    
    * fix(#1423): fix ensure-up-to-date issues for jaxrs-resteasy joda
    samples
    
    #1423
  7. Fix issue with C# generator when the model name is "File" (#1428)

    wing328 committed Nov 14, 2018
    * fix get schema type in abstract c# class
    
    * update c# petstore sample
Commits on Nov 13, 2018
  1. Change entrypoint to docker-entrypoint.sh (#1413)

    ackintosh committed Nov 13, 2018
    Run entrypoint script
Commits on Nov 12, 2018
  1. Fix run-in-docker by disabling useSystemClassLoader (#1418)

    wing328 committed Nov 12, 2018
    * test run-in-docker in travis
    
    * fix command path
    
    * correct batch mode arg
    
    * disable useSystemClassLoader
  2. fix npe when paramName is null (#1416)

    wing328 committed Nov 12, 2018
  3. Fix return_type parameter examples in ruby-client (#1399)

    meganemura authored and wing328 committed Nov 12, 2018
    * Fix return_type parameter examples
    
    * $ bin/openapi3/ruby-client-petstore.sh
  4. Add top level x-group-parameters support (#1405)

    wing328 committed Nov 12, 2018
    * add top level x-group-parameters support
    
    * update petstore samples
  5. Add tip about running online openapi-generator via Docker (#1415)

    wing328 committed Nov 12, 2018
    Add tip about running online openapi-generator via Docker
Commits on Nov 11, 2018
  1. Remove duplicated imports (#1414)

    wing328 committed Nov 11, 2018
    * remove duplicated imports
    
    * fix model import in java
    
    * update generator docs
    
    * fix model import for retrofit2 client
Commits on Nov 10, 2018
  1. Sanitize Model Import (#1411)

    etherealjoy committed Nov 10, 2018
  2. Fix swift4 1406 (#1407)

    james-rantmedia authored and d-date committed Nov 10, 2018
    * Fix warnings produced when using Swift 4.2
    
    * Update Petstore client for Swift 4
Commits on Nov 9, 2018
  1. update generator doc

    wing328 committed Nov 9, 2018
  2. Add parcelizeModels cli option (#1289)

    absimas authored and wing328 committed Nov 9, 2018
    * Add parcelizeModels cli option
    
    * Add info log to clarify the parcelization requirements.
    
    * Update docs
  3. Fixes double prefixing during model import (#1398)

    etherealjoy committed Nov 9, 2018
  4. Fixes an issue where code generator for Java produces not compileable (

    eivinhb authored and wing328 committed Nov 9, 2018
    …#1357)
    
    code if the yml-definition does not have any type definitions. This
    is normal if the api only uses simple datatypes (Int, String) for
    inout/output.
  5. Add file post-processing to PHP generators (#1402)

    wing328 committed Nov 9, 2018
    * add file post processing to php
    
    * restore php petstore client
  6. [rust-server] Re-instate ApiRequestParser (#1388)

    bjgill committed Nov 9, 2018
    * Re-instate ApiRequestParser
    
    It turns out I was over-eager when removing file support and accidentally deleted some code that should have been kept. See https://github.com/OpenAPITools/openapi-generator/pull/547/files#diff-684007b298ee5998fa30732c261ea2fcL469.
    
    * Don't do html escaping of parameters
Commits on Nov 8, 2018
  1. update python petstore samples

    wing328 committed Nov 8, 2018
  2. Add file post-processing to Kotlin generators (#1400)

    wing328 committed Nov 8, 2018
    * add post processing to kotlin file
    
    * restore kotlin samples