1. 22 Feb, 2022 1 commit
  2. 30 Jan, 2022 4 commits
  3. 29 Jan, 2022 7 commits
    • William Cheng's avatar
      [c#][netcore] mark EOL frameworks as deprecated (#11450) · 35fea62b
      William Cheng authored
      
      * removed old frameworks from csharp-netcore
      
      * removed another reference and build samples
      
      * updated readme
      
      * deprecated frameworks
      
      * fix test csproj file
      
      * update doc
      
      Co-authored-by: default avatardevhl-labs <shawnkanyer@gmail.com>
      35fea62b
    • William Cheng's avatar
      [java][spring] use Github action instead (#11441) · e5bb98ce
      William Cheng authored
      * spring ci
      
      * update samples
      
      * remove tests in circleci
      
      * update workflow
      
      * Revert "update samples"
      
      This reverts commit 27acc821.
      
      * trigger build failure
      
      * Revert "trigger build failure"
      
      This reverts commit a9325846.
      
      * remove branchs, prs
      e5bb98ce
    • y-tomida's avatar
      [typescript-axios] Add stringEnums option (#11368) · 088c65c9
      y-tomida authored
      * add stringEnums option
      
      * update templates
      
      * add export
      
      * update samples
      
      * update document
      
      * improve readability
      
      * remove unnecessary code
      
      * add config file for sample
      
      * add sample
      
      * update sample
      
      * remove enum variable form modelObjetEnum template because this variable is not used in modelStringEnum template.
      
      * change the indentation to be the same as modelGeneric template
      088c65c9
    • William Cheng's avatar
      b901f11e
    • Chao Yang's avatar
      Fix crystal code gen null pointer exception error (#11437) · d8f70b33
      Chao Yang authored
      Checks if codegenParameter.items is null in constructExampleCode
      d8f70b33
    • Chao Yang's avatar
      [crystal][client] Make optional properties nillable in models (#10723) · 3f0f92fb
      Chao Yang authored
      * Add nillable data types to models
      
      Only REQUIRED and NOT NULLABLE variables can NOT have type Nil
      All OPTIONAL and NULLABLE-REQUIRED variables have type Nil
      Only NULLABLE-REQUIRED variables should emit keys with null values when they are serialized, json example: property name : String? = nil; the json representation for this property is {"name": null}
      For all OPTIONAL variables having Nil values, their variable keys would be skipped during serialization. The json representation for OPTIONAL property name : String? = nil;  would be: {}
      
      * Fix failed tests in samples/client/petstore/crystal/spec/api/pet_api_spec.cr
      
      * Remove isNullable from model template
      
      * No need to check nillability of required property
      
      For any required property, assigning nil value to it will result in compilation error
      The datatype simply can not hold value nil, so there's no need to check it
      
      * Place required vars first in initializor
      
      * Refresh generated sample code for crystal client
      
      * Required properties are not nillable
      
      * Fix compilation error of undefined method equal?
      
      Crystal lang doesn't have method equal?
      We should use method same? instead of ruby's equal? method
      
      Reference: https://crystal-lang.org/api/master/Reference.html#same?(other:Reference):Bool-instance-method
      
      * Add tests for add_pet api endpoint with only required parameters
      
      Setting Pet optional properties to nil values is allowed by add_pet api endpoint
      
      * Add helper method to test compilation errors
      
      * Add tests to Pet model
      
      Test model initializations
      Test compilation error when model is initialized without required properties
      
      * Test required properties in json deserialization for Pet model
      3f0f92fb
    • Antti Leppä's avatar
      [kotlin-server][jax-rs] Added support for JAX-RS library into Kotlin Server generator (#10830) · 7dad57c8
      Antti Leppä authored
      * Added templates for Kotlin JAX-RS server
      
      * Fixed Kotlin Server JAX-RS template directory
      
      * Added support for Kotlin Server JAX-RS library
      
      * Added support using coroutines with Kotlin server JAX-RS library
      
      * Added sample for Kotlin server JAX-RS library
      
      * Added support for returnResponse option into Kotlin server JAX-RS library
      
      * Fixed issue with optional parameters in Kotlin JAX-RS spec
      
      * Fixed oneOf issue in Kotlin jaxrs-spec generator
      
      * Added better documentation to Kotlin Server JAX-RS options
      
      * Updated kotlin-server.md
      
      * Updated kotlin-server jaxrs-spec samples
      
      * Fixed issue with Kotlin JAX-RS spec and reserved names
      
      * Regenerated samples
      7dad57c8
  4. 28 Jan, 2022 3 commits
    • David Gamero's avatar
      [typescript] Adding Custom Agent Support for fetch call (#11400) · b2bb5d07
      David Gamero authored
      * add custom agent support
      
      * samples
      
      * more samples
      
      * merge master files
      
      * only enable custom agent on nodejs not browser
      
      * samples again
      
      * samples
      
      * samples once more
      b2bb5d07
    • devhl-labs's avatar
      [csharp-netcore] Adding generic host library (#10627) · 24366be0
      devhl-labs authored
      * added generichost library
      
      * added templates
      
      * added an event, improved docs, added logging
      
      * adding event args file
      
      * fixed hard coded package name
      
      * added an AddTokens overload for a single token
      
      * changed api clients to singletons to support the event registration
      
      * build samples
      
      * log exceptions while executing api responded event
      
      * nrt bug fixes, dangling comma fix
      
      * resolving comments
      
      * removed debugging lines
      
      * refactored token provider
      
      * rate limit provider now default
      
      * updated readme, added ConfigureAwait(false)
      
      * DI fixes
      
      * removed a hard coded project name
      
      * fixed nrt bugs
      
      * improved NRT and .net 3.1 support
      
      * renamed projectName to apiName, added cli option
      
      * trying to avoid conflict
      
      * set GenerateAssemlbyInfo to true
      
      * created docs/scripts folder
      
      * moved ApiTestsBase.cs to not get overwritten
      
      * test fixes and improvements
      
      * fixed licenseId bug, updated readme
      
      * build samples
      
      * export docs
      
      * removed new language features
      
      * added support for .net standard 2.0
      
      * added git_push.ps1
      
      * fixed bug in git_push.sh due to the new directory, prompting user for commit message
      
      * moved documentation folders
      
      * fixed bug when apiKey in query
      
      * bug fix
      24366be0
    • William Cheng's avatar
      [TS][nestjs] fix isListContainer with isArray (#11425) · aed513f6
      William Cheng authored
      * fix isListContainer with isArray in ts nextjs
      
      * update samples
      aed513f6
  5. 27 Jan, 2022 2 commits
  6. 26 Jan, 2022 10 commits
  7. 25 Jan, 2022 2 commits
  8. 24 Jan, 2022 9 commits
  9. 23 Jan, 2022 1 commit
    • Justin Black's avatar
      Adds generator default template engine (#11366) · 78f4748c
      Justin Black authored
      * Revert "Revert "Has generators set default template engine (#11245)" (#11316)"
      
      This reverts commit 57987424.
      
      * Only loads in the default template engine if the config file contains the generatorName
      
      * Only sets templatingEngineName using condif default in one place
      
      * Adds config files that lack generatorName
      
      * Revert "Adds config files that lack generatorName"
      
      This reverts commit 7dafc93c.
      
      * Adds generator default templating engine to the generator metadata
      78f4748c
  10. 22 Jan, 2022 1 commit
    • David Gamero's avatar
      [typescript] Default auth method support and optional param object when all... · 28cc2862
      David Gamero authored
      [typescript] Default auth method support and optional param object when all params optional (#11321)
      
      * add default auth
      
      * private
      
      * default when optional params and fix types
      
      * build samples
      
      * remove extra space
      
      * re-add space before default empty
      
      * switch to default authentication method support in config
      
      * generated samples
      
      * null check chaining
      
      * generate samples
      
      * remove extra spaces
      
      * regen samples
      
      * formatting fixes
      
      * more samples
      
      * remove from abstract methods
      
      * samples
      
      * add default to inversify as well
      
      * samples again
      
      * exclude inversify
      
      * samples once more
      
      * samples
      28cc2862