-
Notifications
You must be signed in to change notification settings - Fork 0
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
Merge upstream #7
Commits on Jul 31, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6b6403b - Browse repository at this point
Copy the full SHA 6b6403bView commit details -
[R] Add httr2 support (work in progress) (OpenAPITools#13005)
* add httr2 support to r client gen * fix headers * add accepts, content-types * update samples * fix req * update samples * various fixes * add data file test * fix streaming, add tests
Configuration menu - View commit details
-
Copy full SHA for 4635dda - Browse repository at this point
Copy the full SHA 4635ddaView commit details
Commits on Aug 1, 2022
-
[python-experimental] consolidates endpoints into paths module (OpenA…
…PITools#13007) * Adds endpoint creation in path modules * REgens samples * Adds BaseApi so there can be 2 class interfaces for http method and operationid * Adds paths init * Adds enum containing paths * Uses path enum for endpoint paths * Adds camel case to undersce converstion in to ineum var name * Fixes path enum generation * Moves path api combination module into apis * Moves tag apis into a tags module * Adds path_to_api * Changes module path to paths * Fixes tag api imports * Fixes self type in endpoint methods * Adds test changes * Adds tag enum * Adds tag_to_api * Adds missing tag * Fixes self types in endpoint methods * Refactors java endpoint generation to be simpler * Further refactors generateEndpoints * Generates one test file per endpoint * Updates v3 samples * Fixes endpoint tests, all tests passing now * Samples regenerated * Fixes petstore tests * Generates separate endpoint test methods on each endpoint * Fixes api docs and enum string values in those docs * Regenerates samples * Removes pass to fix tests
Configuration menu - View commit details
-
Copy full SHA for 68fb5a9 - Browse repository at this point
Copy the full SHA 68fb5a9View commit details -
[python-experimental] Fixes issue 12986 (OpenAPITools#13054)
* Adds fix for api names and tag names * Removes sample spec * Samples regenerated
Configuration menu - View commit details
-
Copy full SHA for c959a6c - Browse repository at this point
Copy the full SHA c959a6cView commit details
Commits on Aug 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1cf9d17 - Browse repository at this point
Copy the full SHA 1cf9d17View commit details
Commits on Aug 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d8771de - Browse repository at this point
Copy the full SHA d8771deView commit details -
Configuration menu - View commit details
-
Copy full SHA for e0fca51 - Browse repository at this point
Copy the full SHA e0fca51View commit details -
[R][httr2] fix HTTP header (OpenAPITools#13066)
* add test for header parameters * fix header parameter in r httr2 client
Configuration menu - View commit details
-
Copy full SHA for aa1f627 - Browse repository at this point
Copy the full SHA aa1f627View commit details -
[python experimental] Issue 13043: fixes toExampleValueRecursive stac…
…koverflow (OpenAPITools#13062) Fixes an issue in python-experimental that was causing a stackoverflow error. * Fixed by adding composed schemas to the list of 'includedSchemas' * Fixed an additional issue that was causing a schema to be added to the 'includedSchemas' list * Added a unit test with a minimal GeoJson spec to confirm results
Configuration menu - View commit details
-
Copy full SHA for 4da8176 - Browse repository at this point
Copy the full SHA 4da8176View commit details -
Issue 13043: converted an exception to a warning for doubly adding sc…
…hemas to the includedSchemas list (OpenAPITools#13070)
Configuration menu - View commit details
-
Copy full SHA for bbf463f - Browse repository at this point
Copy the full SHA bbf463fView commit details -
[R][httr2] Fix form parameter support (OpenAPITools#13057)
* fix form parameter support in the r client * fix query param * fix form parameters
Configuration menu - View commit details
-
Copy full SHA for 13d34b9 - Browse repository at this point
Copy the full SHA 13d34b9View commit details -
[rust] fix incorrect Cargo.toml generated when supportAsync & withAWS…
…V4Signature are both enabled. (OpenAPITools#13015)
Configuration menu - View commit details
-
Copy full SHA for 6d1c51c - Browse repository at this point
Copy the full SHA 6d1c51cView commit details -
Bump terser from 4.6.3 to 4.8.1 in /website (OpenAPITools#12946)
Bumps [terser](https://github.com/terser/terser) from 4.6.3 to 4.8.1. - [Release notes](https://github.com/terser/terser/releases) - [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md) - [Commits](https://github.com/terser/terser/commits) --- updated-dependencies: - dependency-name: terser dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ab9af4c - Browse repository at this point
Copy the full SHA ab9af4cView commit details -
Bump eventsource from 1.0.7 to 1.1.1 in /website (OpenAPITools#12499)
Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.0.7 to 1.1.1. - [Release notes](https://github.com/EventSource/eventsource/releases) - [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md) - [Commits](EventSource/eventsource@v1.0.7...v1.1.1) --- updated-dependencies: - dependency-name: eventsource dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c9c0b62 - Browse repository at this point
Copy the full SHA c9c0b62View commit details -
[PHP] Add support for server variables in operations (OpenAPITools#12982
Configuration menu - View commit details
-
Copy full SHA for 1e3a39b - Browse repository at this point
Copy the full SHA 1e3a39bView commit details -
[Java] apache-httpclient serialize support custom contentType (OpenAP…
…ITools#13058) * java http-client multiPartBuilder support custom contentType for textBody * java apache-httpclient serialize support custom contentType * modify getContentType method
Configuration menu - View commit details
-
Copy full SHA for 72991e6 - Browse repository at this point
Copy the full SHA 72991e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fa427c - Browse repository at this point
Copy the full SHA 4fa427cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d50b40 - Browse repository at this point
Copy the full SHA 0d50b40View commit details -
Revert "Issue 13043: converted an exception to a warning" (OpenAPIToo…
…ls#13074) * Revert "Issue 13043: converted an exception to a warning for doubly adding schemas to the includedSchemas list (OpenAPITools#13070)" This reverts commit bbf463f. * Samples regen
Configuration menu - View commit details
-
Copy full SHA for a3490d7 - Browse repository at this point
Copy the full SHA a3490d7View commit details
Commits on Aug 4, 2022
-
[jaxrs-spec] to fix default values for array (OpenAPITools#13076)
* fix 13025 with correct default values for array * fix missing curly bracket
Configuration menu - View commit details
-
Copy full SHA for cdc9683 - Browse repository at this point
Copy the full SHA cdc9683View commit details -
3.0.3 spec updated with json schema tags (OpenAPITools#13104)
* Spec updated with json schema tags * Samples regenerated
Configuration menu - View commit details
-
Copy full SHA for 69121a9 - Browse repository at this point
Copy the full SHA 69121a9View commit details -
[python-experimental] moves model and api docs into subfolders (OpenA…
…PITools#13106) * Regens docs in new locations, adds endpoint anchors * Updates readme links and top of page link * Model updates so the readme links work * Samples regenerated * Adds missing module names to apis and models
Configuration menu - View commit details
-
Copy full SHA for 8c3a734 - Browse repository at this point
Copy the full SHA 8c3a734View commit details
Commits on Aug 5, 2022
-
[python-experimental] removes print (OpenAPITools#13107)
* Removes print * Samples regenerated
Configuration menu - View commit details
-
Copy full SHA for aa1b0a1 - Browse repository at this point
Copy the full SHA aa1b0a1View commit details -
Added parameter to add models in seperate project (OpenAPITools#13044)
Samples and build for seperate model projects
Configuration menu - View commit details
-
Copy full SHA for a4a89ca - Browse repository at this point
Copy the full SHA a4a89caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 247574a - Browse repository at this point
Copy the full SHA 247574aView commit details
Commits on Aug 6, 2022
-
[R] fix auto-generated doc, add checks for bearer/access token (OpenA…
…PITools#13112) * update readme to show bearer auth * fix doc * fix doc
Configuration menu - View commit details
-
Copy full SHA for f5900c7 - Browse repository at this point
Copy the full SHA f5900c7View commit details -
C# API Client CancellationToken, Base Validation and Nullable/Required (
OpenAPITools#13049) * Ensure CancellationTokenSource disposal in CSharp clients * Fixed broken BaseValidate in CSharp models * Ensure final CancellationToken is used in CSharp API clients * Ensure EmitDefaultValue true for required properties in CSharp clients * Regenerated samples * Fixed broken C# ApiClient.ExecAsync disposable resources
Configuration menu - View commit details
-
Copy full SHA for 641d515 - Browse repository at this point
Copy the full SHA 641d515View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35feca9 - Browse repository at this point
Copy the full SHA 35feca9View commit details -
Configuration menu - View commit details
-
Copy full SHA for f73decb - Browse repository at this point
Copy the full SHA f73decbView commit details -
Fix Perl cannot string bind undef (OpenAPITools#13114)
* fix and add perl client tests * fixed undefined value in Perl * update perl client sample * fix test case
Configuration menu - View commit details
-
Copy full SHA for 462f927 - Browse repository at this point
Copy the full SHA 462f927View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3a2689 - Browse repository at this point
Copy the full SHA d3a2689View commit details -
[csharp-netcore] Form data serialize non-primitive objects (OpenAPITo…
…ols#12967) * csharp-netcore: serialize non-primitive objects in form-data * csharp-netcore: update samples
Configuration menu - View commit details
-
Copy full SHA for fca13eb - Browse repository at this point
Copy the full SHA fca13ebView commit details
Commits on Aug 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5644e23 - Browse repository at this point
Copy the full SHA 5644e23View commit details -
[R][httr2] better support for OAuth authoriziation flows (OpenAPITool…
…s#13123) * better oauth support in r client * better comment * update samples * remove commented code * update samples * fix mustache tag
Configuration menu - View commit details
-
Copy full SHA for f287dde - Browse repository at this point
Copy the full SHA f287ddeView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb29284 - Browse repository at this point
Copy the full SHA fb29284View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c4948a - Browse repository at this point
Copy the full SHA 3c4948aView commit details
Commits on Aug 8, 2022
-
[Spring] Fix generated api ignore basePath (OpenAPITools#10573)
* remove @RequestMapping from the apiController.mustache file and add it to the api.mustache file * move the defaultBasePath.mustache file in src/main/resources/JavaSpring so that it commun with all Spring server-side libraries (spring-boot, spring-mvc). The value of default context path is the value of contextPath variable. * added a unit test to verify it * update the outputDir variable to samples/server/petstore/spring-stubs in the bin/configs/spring-stubs.yaml file because it generates Spring server-side classes. And not on the client-side as the output directory seemed to suggest. * Results of "generate-samples.sh bin/configs/spring*" command * Remove default value of url in @FeignClient * resolve conflicts with origin/master * merge remote/master into branch * fix samples after a merge with master * delete the directory samples/client/petstore/spring-stubs because it moved to samples/openapi3/... * add samples/client/petstore/spring-stubs just for the CI build (normally it is unnecessary)) * delete 3 kotlin class files commited by error in samples/server/petstore/kotlin-springboot and samples/server/petstore/kotlin-springboot-reactive * Update the unit test SpringCodegenTest.doAnnotateDatesOnModelParameters because one more annotation is generated (@RequestMapping) Co-authored-by: rpruvost <[email protected]> Co-authored-by: rpruvost <rpruvost@ITEM-S78402> Co-authored-by: rpruvost <rpruvost>
Configuration menu - View commit details
-
Copy full SHA for 032e1a4 - Browse repository at this point
Copy the full SHA 032e1a4View commit details -
Issue 13043: Improved handling of recursive schemas (OpenAPITools#13109)
* Issue 13043: Improved handling of recursive schemas Converted Exception to a warning when a Schema is doubly added to the includedSchemas list Broke recursion in a more reasonable place when generating example values * Addressed comments from PR
Configuration menu - View commit details
-
Copy full SHA for d3dd676 - Browse repository at this point
Copy the full SHA d3dd676View commit details -
fix: [JAVA/SPRING] [OpenAPITools#12692] fixed optional config propert…
…y legacyDisc… (OpenAPITools#12713) * fix: [JAVA/SPRING] [OpenAPITools#12692] fixed optional config property legacyDiscriminatorBehavior always being overwritten to false in spring codegen * feat: [JAVA/SPRING] [OpenAPITools#12692] spaces instead of tabs * feat: [JAVA/SPRING] [OpenAPITools#12692] spaces instead of tabs in test * fix: [JAVA/SPRING] [OpenAPITools#12692] added comment * fix: [JAVA/SPRING] [OpenAPITools#12692] spaces instead of tabs * fix: [JAVA/SPRING] [OpenAPITools#12692] spaces instead of tabs in test
Configuration menu - View commit details
-
Copy full SHA for 186ad25 - Browse repository at this point
Copy the full SHA 186ad25View commit details -
Adds requiredVarsMap (OpenAPITools#13117)
* Adds requiredVarsMap * Fixes imports * Adds requiredVarsMap to CodegenParameter * Updates CodegenResponse * Adds feature to codegenModel * Fixes codegenProperty * Switches to getRequiredVarsMap * Uses curly braces for set definition * Added blocked examples back n to test spec now that the required bug is fixed * Sample regenerated * Handles escaping required property names * Fixes CI tests * Samples regenerated * Samples regnerated * Fixes test
Configuration menu - View commit details
-
Copy full SHA for 9610a81 - Browse repository at this point
Copy the full SHA 9610a81View commit details -
Allow useInlineModelResolver to be influenced by generator options (O…
…penAPITools#13056) * Move logic so that it can dynamically be influenced by opts * Or should it be here? * We handle the useInlineModelResolver logic in configureGeneratorProperties after processOpts Co-authored-by: Westerlaken, H.L. (Laurens) <[email protected]>
Laurens-W and Westerlaken, H.L. (Laurens) authoredAug 8, 2022 Configuration menu - View commit details
-
Copy full SHA for 9a04113 - Browse repository at this point
Copy the full SHA 9a04113View commit details
Commits on Aug 9, 2022
-
[Java] enum space value must not be generated as underscore (OpenAPIT…
…ools#13136) * [Java] enum space value must not be generated as underscore as this is invalid in Java 9 this closes OpenAPITools#9607 * script changes Co-authored-by: Sven Meier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fd56b8f - Browse repository at this point
Copy the full SHA fd56b8fView commit details
Commits on Aug 10, 2022
-
Better logic to handle duplicated properties in parent, child models (O…
…penAPITools#13135) * better logic to handle duplicated properties in child, parent models * add tests, update samples
Configuration menu - View commit details
-
Copy full SHA for a6ce5f7 - Browse repository at this point
Copy the full SHA a6ce5f7View commit details -
[Go] Fix missing import for array/map of file (OpenAPITools#13143)
* fix missing import for array/map of file in go client * add new files
Configuration menu - View commit details
-
Copy full SHA for 1c0d6d8 - Browse repository at this point
Copy the full SHA 1c0d6d8View commit details -
[OpenAPITools#12887] typescript-axios: nested object as query paramet…
…er (OpenAPITools#13051) * [OpenAPITools#12887] typescript-axios: object as query parameter resolved * Added samples for typescript-axios * minor variable name change * minor indentation fixes * [OpenAPITools#12887] typescript-axios: backward compantiability maintained * [OpenAPITools#12887] typescript-axios: backward compantiability maintained * [OpenAPITools#12887] typescript-axios: backward compantiability maintained * [OpenAPITools#12887] Review comments incorporated Co-authored-by: Esteban Gehring <[email protected]> * Review comment incorporated Co-authored-by: Esteban Gehring <[email protected]> * [OpenAPITools#12887] samples updated Co-authored-by: Esteban Gehring <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d547a89 - Browse repository at this point
Copy the full SHA d547a89View commit details -
[Typescript-axios] Dot prefix on every query parameter (OpenAPITools#…
…13149) * [OpenAPITools#12887] dot prefix fixed for pr OpenAPITools#13051 * [OpenAPITools#12887] dot prefix fixed for pr OpenAPITools#13051 * [OpenAPITools#12887] review comment incorporated OpenAPITools#13051
Configuration menu - View commit details
-
Copy full SHA for 91e8fcb - Browse repository at this point
Copy the full SHA 91e8fcbView commit details
Commits on Aug 11, 2022
-
Cleaned up cargo clippy warnings (OpenAPITools#13011)
* Cleaned up cargo clippy warnings * Re-add clippy allow statements; don't lowercase variable names
Configuration menu - View commit details
-
Copy full SHA for e58b8b1 - Browse repository at this point
Copy the full SHA e58b8b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5662d61 - Browse repository at this point
Copy the full SHA 5662d61View commit details -
[Ruby] add
useAutoload
option to use autoload instead of require (O……penAPITools#13153) * [Ruby] Use Ruby autoload to lower memory usage and load times Fixes OpenAPITools#12648 Requiring all models up front can be very expensive in both time and memory if there are many models. In an example client with 6000 models, this would consume nearly 400MB of memory and take about 7 seconds to load. This is mostly unnecessary as most users of the client library will only actually use a small percentage of the library. The changes in this commit use Ruby's autoload capability to defer the loading until the constant is actually used. In that same example client with 6000 models, when initially requiring the library, the memory usage dropped to ~20MB and loaded in 0.3 seconds. As the constants are loaded on-demand, the memory would increase towards that 400MB ceiling, but if only a few constants are actually used, then memory will never actually hit that ceiling. An additional side effect of using Ruby's autoload is that the order of declaring the constants is not important, as Ruby will naturally load them in the correct order when they are needed. Thus, this commit obviates PR OpenAPITools#9103 and fixes OpenAPITools#4690. * add option to use autoload in ruby client * test ruby clients only * add tests * update samples * Revert "test ruby clients only" This reverts commit 0aaf71c. * update doc Co-authored-by: Jason Frey <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c5a0374 - Browse repository at this point
Copy the full SHA c5a0374View commit details -
Fix missing import in
api.mustache
for Typescript generator (OpenAP……ITools#13105) * Fix missing import in `api.mustache` for Typescript generator This fixes issue OpenAPITools#11288. * Generate samples
Configuration menu - View commit details
-
Copy full SHA for c987e75 - Browse repository at this point
Copy the full SHA c987e75View commit details -
Replace use of deprecated Faraday::UploadIO (OpenAPITools#13127)
Faraday 0.16.0 added Faraday::FilePart as an alias to Faraday::UploadIO and deprecated Faraday::UploadIO. In Faraday 2.0 the deprecated UploadIO was removed. Fixes: e12100b
Configuration menu - View commit details
-
Copy full SHA for 9abaa53 - Browse repository at this point
Copy the full SHA 9abaa53View commit details -
Fix template for nullable models in rust new() fns (OpenAPITools#10778)
Co-authored-by: Elric Milon <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7fede83 - Browse repository at this point
Copy the full SHA 7fede83View commit details -
Adds $ref data to schema classes (OpenAPITools#13163)
* Adds getRef/setRef * Adds ref to CodegenModel * Adds ref to CodegenProperty * Adds ref to CodegenParameter * Adds ref to CodegenResponse * Sets ref on CodegenModel and CodegenProperty * Samples regenerated
Configuration menu - View commit details
-
Copy full SHA for 8cd0d38 - Browse repository at this point
Copy the full SHA 8cd0d38View commit details
Commits on Aug 12, 2022
-
Add tests to Rust (hyper, reqwest) clients (OpenAPITools#13165)
* add tests to rust clients * add new file
Configuration menu - View commit details
-
Copy full SHA for 456d7d0 - Browse repository at this point
Copy the full SHA 456d7d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 123f92d - Browse repository at this point
Copy the full SHA 123f92dView commit details
Commits on Aug 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1f42b09 - Browse repository at this point
Copy the full SHA 1f42b09View commit details
Commits on Aug 14, 2022
-
[R] allow oauth scopes customization, remove unused import (OpenAPITo…
…ols#13179) * add oauth scopes, remove unused import * fix null check
Configuration menu - View commit details
-
Copy full SHA for 9e20b01 - Browse repository at this point
Copy the full SHA 9e20b01View commit details -
Configuration menu - View commit details
-
Copy full SHA for c4dd42e - Browse repository at this point
Copy the full SHA c4dd42eView commit details
Commits on Aug 15, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 079f81f - Browse repository at this point
Copy the full SHA 079f81fView commit details -
Fixed scala-sttp generator (OpenAPITools#11949)
* fixed scala-sttp generator * pr checklist * fixed issue with imports in scala-sttp * fixed samples * changed isUnit to isDefault * fixed errors * Update modules/openapi-generator/src/main/resources/scala-sttp/api.mustache Co-authored-by: João Ferreira <[email protected]> * updated samples Co-authored-by: João Ferreira <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2a196ce - Browse repository at this point
Copy the full SHA 2a196ceView commit details -
Avro fix arrays with items as a ref to defined enum (OpenAPITools#13162)
* avro-schema generation fix for arrays with ref to enum (or any non primitive type) to include modelPackage prefix * sample scenario and generated outputs for avro-schema * create avro-schema dedicated test file
Configuration menu - View commit details
-
Copy full SHA for 17f9a28 - Browse repository at this point
Copy the full SHA 17f9a28View commit details -
Update allOf to not always be nullable (OpenAPITools#12861)
* added nonNullableVars * added return property to operation * added return property to operation * build samples * added inner enum * build samples * allOf no longer always nullable * added a comment
Configuration menu - View commit details
-
Copy full SHA for 7e4fa70 - Browse repository at this point
Copy the full SHA 7e4fa70View commit details -
Make "applyToParams" a Future + add "this." when decoding JSON (OpenA…
…PITools#13120) * Bump jimschubert/query-tag-action from 1 to 2 Bumps [jimschubert/query-tag-action](https://github.com/jimschubert/query-tag-action) from 1 to 2. - [Release notes](https://github.com/jimschubert/query-tag-action/releases) - [Commits](jimschubert/query-tag-action@v1...v2) Signed-off-by: dependabot[bot] <[email protected]> * Use a normal variable name inside a function, no need to make it private. * Pass on authentication names because authentication implementations may need those! * Generate Petstore samples. * Allow authentication implementations to apply header and query parameters asynchronously. * Allow inherited implementations to define a type for authentication class. * Generate Petstore sources. * Remove `authNames` from API client and authentication classes. * Reference properties with `this.` in case one of them has the same name as a local variable. * Regenerate Petstore source code. * Revert adding a generic T in `ApiClient`. Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 9d9e0a4 - Browse repository at this point
Copy the full SHA 9d9e0a4View commit details
Commits on Aug 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for cfb35f9 - Browse repository at this point
Copy the full SHA cfb35f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e12343 - Browse repository at this point
Copy the full SHA 4e12343View commit details -
Fixed regular expression in python client codegen that was removing a…
…ny trailing chars instead of only expected ones (OpenAPITools#13164) * Fixed regular expression in python client codegen The previous regular expression was too loose, including any last character in the second group. This commit fixes that, making sure we only remove leading forward slashes, trailing forward slashes or trailing `\i`. This commit closes 13069. * Added generated files * Edit comment * Add test cases Co-authored-by: antonio.silva <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7e5ee21 - Browse repository at this point
Copy the full SHA 7e5ee21View commit details -
Fix OpenAPITools#6899 - python-flask now uses the pre-existing getter…
…/setter validators (OpenAPITools#6911) * make python-flask set attributes via existing setter * regenerate python-flask templates Co-authored-by: Matthew Davis <[email protected]> Co-authored-by: Ubuntu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 01a9c55 - Browse repository at this point
Copy the full SHA 01a9c55View commit details
Commits on Aug 17, 2022
-
Add support for Angular v14 (OpenAPITools#12901)
* Add support for Angular v14 - Support Angular 14 - Support rxjs 7.5.5, tsickle 0.46.3, ngPackagr 14.0.2, zonejs 0.11.5 - Requires typescript >= 4.6.0 and < 4.8.0 * Review comments - Remove duplicate tests - Added openapi-generator-ignore * Update samples/client/petstore/typescript-angular-v14-provided-in-root/pom.xml * Update samples/client/petstore/typescript-angular-v14-provided-in-root/pom.xml * Update samples/client/petstore/typescript-angular-v14-provided-in-root/pom.xml * Review comments - Added typescript-angular-v14-provided-in-root test module to root pom. * update samples Co-authored-by: Esteban Gehring <[email protected]> Co-authored-by: Esteban Gehring <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 904674c - Browse repository at this point
Copy the full SHA 904674cView commit details -
[R] Add generateWrapper option (OpenAPITools#13198)
* add generateWrapper option * fix bug, add tests * update doc
Configuration menu - View commit details
-
Copy full SHA for 65d57a8 - Browse repository at this point
Copy the full SHA 65d57a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for c135139 - Browse repository at this point
Copy the full SHA c135139View commit details -
[R] Fix warnings reported by r cmd check (OpenAPITools#13205)
* fix warnings reported by r cmd check * fix assignment
Configuration menu - View commit details
-
Copy full SHA for 9f3fac5 - Browse repository at this point
Copy the full SHA 9f3fac5View commit details -
[python-experimental] improves docs, add migration guide (OpenAPITool…
…s#13210) * Adds comments and migration readme section * Samples regenerated * Samples regenerated
Configuration menu - View commit details
-
Copy full SHA for b1dec24 - Browse repository at this point
Copy the full SHA b1dec24View commit details
Commits on Aug 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4916774 - Browse repository at this point
Copy the full SHA 4916774View commit details -
[python-experimental] code quality improvements (OpenAPITools#13221)
* Changes http to https * Refactors method to be simpler, removes unused json encoder * Samples regen, test fixed, consolidated redundant return * Samples regenerated * Updates composed model property names * Samples regenerated using composed schema name update * Samples regen, removed unused arg in __get_oneof_class
Configuration menu - View commit details
-
Copy full SHA for 3239f28 - Browse repository at this point
Copy the full SHA 3239f28View commit details -
[R] Add fromJSONString method to oneOf/anyOf in R client (OpenAPITool…
…s#13223) * add fromJSONString method to oneOf/anyOf in R client * update code samples
Configuration menu - View commit details
-
Copy full SHA for 7e4f3c9 - Browse repository at this point
Copy the full SHA 7e4f3c9View commit details -
[typescript-axios] Ignore unused imports when using 'withSeparateMode…
…lsAndApi' (OpenAPITools#13204) * Add typescript-axios/with-separate-models-and-api-inheritance sample as test for OpenAPITools#13203 * [typescript-axios] Add // @ts-ignore to imports in models if withSeparateModelsAndApi is set * [typescript-axios] Update samples
Configuration menu - View commit details
-
Copy full SHA for 18bb546 - Browse repository at this point
Copy the full SHA 18bb546View commit details
Commits on Aug 19, 2022
-
[R] Minor improvements to the documentation (OpenAPITools#13226)
* minor improvement to r doc * better scopes
Configuration menu - View commit details
-
Copy full SHA for ed3666f - Browse repository at this point
Copy the full SHA ed3666fView commit details -
[rust]: Remove unmaintained samples and specs (OpenAPITools#13193)
* [rust]: Remove unmaintained samples and specs * Fix checks * move test file * Fix test file
Configuration menu - View commit details
-
Copy full SHA for 6d82ac0 - Browse repository at this point
Copy the full SHA 6d82ac0View commit details -
[typescript-fetch] Serialize Set of primitives as array (OpenAPITools…
…#13195) * [typescript-fetch] Fix array of primitive items where unique-items is true * [typescript-fetch] Update examples * [typescript-fetch] Split template into multiple lines
Configuration menu - View commit details
-
Copy full SHA for 719f429 - Browse repository at this point
Copy the full SHA 719f429View commit details -
Standardizes import gathering code (OpenAPITools#13137)
* Uses the same util to add all imports * Removes unneeded class variable definition * Samples regenerated for Groovy * Fixes imports in Lua so object import does not show up * Fixes nim imports * Fixes proto generation * Removes accidental new protobuf sample * Improves proto allOf test * Controls import addition with parametersAndResponsesImportFromV3SpecLocations * More import protection in fromFormProperty * More test fixes * Samples regenerated * Do not import composed schemas if those features are not supported * Samples regenerated * Adds new param importContainerType * Fixes tests * Samples regenerated * Turns off importContainerType in JavaMicronautAbstractCodegen and regens samples * Reverts most import changes, puts original imports behind a constant check * Samples regenerated * Updates model imports, samples regenerated * Removes typeMapping and instantiationMap types from getImports * Reverts template and regens samples * Revers generator java files * Stops setting complexType on codegenParameter * Adds missing import back in * Reverts languageSpecificPrimitives changes * Samples regenerated * Regnerates samples * Reverts proto files * Removes hoistParameterArrayItemBaseTypeHigher * Samples regen * Reverts parameter property * Turns off importContainerType in getContent * Samples regenerated * Uncomments java test * Adds imports for codegenParameter.schema * Changes property name to importFromV3SpecLocations * Changes property name to addSchemaImportsFromV3SpecLocations * Removes unused java codes * Fixes javadoc * Removes extra docs file
Configuration menu - View commit details
-
Copy full SHA for 52eb13f - Browse repository at this point
Copy the full SHA 52eb13fView commit details
Commits on Aug 20, 2022
-
[python-experimental] style + naming cleanup (OpenAPITools#13234)
* Updates templates * Samples update * Other sample updated * Removes unserscore prefix from Validators * Samples regenerated
Configuration menu - View commit details
-
Copy full SHA for 640010a - Browse repository at this point
Copy the full SHA 640010aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 344d6b1 - Browse repository at this point
Copy the full SHA 344d6b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2feaf05 - Browse repository at this point
Copy the full SHA 2feaf05View commit details -
Configuration menu - View commit details
-
Copy full SHA for 308f9d1 - Browse repository at this point
Copy the full SHA 308f9d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0c7270 - Browse repository at this point
Copy the full SHA e0c7270View commit details
Commits on Aug 22, 2022
-
feat: [JAVA] [resttemplate] [OpenAPITools#13146] added support for ab…
…stract file in operation response for rest template (OpenAPITools#13168)
Configuration menu - View commit details
-
Copy full SHA for fa22ba9 - Browse repository at this point
Copy the full SHA fa22ba9View commit details -
Fix javascript-apollo generator/template (OpenAPITools#13191)
* bump apollo-datasource-rest to 3.6.1 * Fix RESTDataSource import * fix ApiClient template * fix parameters in callApi, add requestInit param * change parameters to RESTDataSource convenience methods * add .babelrc file, even in ES6 * simplify .babelrc... no need for all those fancy things, i think * fix API test mustache template * Update package.mustache * add Set as a language-specific primitive * Update JavascriptApolloClientCodegen.java * make babel packages dev dependencies only * Get inspiration from the main Javascript Generator 😖 * correctly get the basePath from spec * fix basePath template reference * Do not sanitize project description Project descriptions are a multiline string — we just need to escape a few special characters (which we're already doing by invoking escapeText() on line 334) * Fix module name when generating scoped package If we set the project name to "@myorg/mypackage" (scoped package[1]), running `npm test` will fail, as it will generate faulty code. [1] https://docs.npmjs.com/about-scopes
Configuration menu - View commit details
-
Copy full SHA for ed10360 - Browse repository at this point
Copy the full SHA ed10360View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff03e1a - Browse repository at this point
Copy the full SHA ff03e1aView commit details -
[python-experimental] move validations into cls (OpenAPITools#13252)
* Adds null checks to validation properties * Modifies the templates to move validations into the cls * Regnerates unit test spec * Template update to get rid of cls factory for validations * Updates samples for unit test spec * Moves SchemaValidator class * Removes SchemaValidator * Fixes 2 tests in v3 sample * Reverts version files * Reverts 2 files
Configuration menu - View commit details
-
Copy full SHA for fac576a - Browse repository at this point
Copy the full SHA fac576aView commit details -
[python-experimental] moves composed schemas into cls (OpenAPITools#1…
…3255) * Composed schemas moved into cls * Fixes tests * Other sample regenerated * Reverts version files
Configuration menu - View commit details
-
Copy full SHA for d6fb08d - Browse repository at this point
Copy the full SHA d6fb08dView commit details
Commits on Aug 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9afcbab - Browse repository at this point
Copy the full SHA 9afcbabView commit details -
Configuration menu - View commit details
-
Copy full SHA for b5fe7d0 - Browse repository at this point
Copy the full SHA b5fe7d0View commit details -
fix(cpp-pistache-server): Add support for AnyType objects (OpenAPIToo…
…ls#13232) Co-authored-by: Ryan Shea <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8c79f6d - Browse repository at this point
Copy the full SHA 8c79f6dView commit details -
Better enum tests for scala-sttp (OpenAPITools#13261)
* better petstore tests for scala-sttp * test scala sttp in github workflow * test with jdk 11 * comment test
Configuration menu - View commit details
-
Copy full SHA for 8ee22b8 - Browse repository at this point
Copy the full SHA 8ee22b8View commit details
Commits on Aug 24, 2022
-
[python-experimental] creates + uses MetaOapg cls to store non-proper…
…ties schema keywords (OpenAPITools#13256) * Uses MetaOapg * Fixes some tests * Fixes tests * Removes pass * Generates unit test sample * Samples regenerates * Reverts version files * Changes uniqueItems to Boolean type * Samples regenerated * Fixes code in addImportsForPropertyType * Fixes codegenModel and codegenProperty * Fixes CodegenParameter * Adds getUniqueItemsBoolean/setUniqueItemsBoolean * Updates template to use getUniqueItemsBoolean * Adds printing of uniqueItemsBoolean in codegenModel * Samples regenerated
Configuration menu - View commit details
-
Copy full SHA for 3f2b167 - Browse repository at this point
Copy the full SHA 3f2b167View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f94d44 - Browse repository at this point
Copy the full SHA 4f94d44View commit details -
fixes OpenAPITools#13131: support matrix parameters and other paramet…
…er styles in typescript-angular (OpenAPITools#13132) * fix TypescriptAngularPetstoreIntegrationTest (since this has been abandoned for a long time: just copy the generated code the the "expected" directory) * fix TypescriptAngularArrayAndObjectIntegrationTest (since this has been abandoned for a long time: just copy the generated code the the "expected" directory) * fix TypescriptAngularAdditionalPropertiesIntegrationTest (since this has been abandoned for a long time: just copy the generated code the the "expected" directory) * fixes OpenAPITools#13131: add custom path parameter expansion to typescript-angular * fixes OpenAPITools#13131: add example for typescript-angular: paramExpansionStrategy=custom * fixes OpenAPITools#13131: document usage of paramExpansionStrategy=custom in README.mustache * fixes OpenAPITools#13131: fix unit tests and sample url for http-param-expander package * fixes OpenAPITools#13131: update samples * fixes OpenAPITools#13131: drop new cli parameter, handle encoding in template only * fixes OpenAPITools#13131: add TestNG groups to all Typescript tests * fixes OpenAPITools#13131: old angular/typescript does not understand type imports * Apply suggestions from code review Co-authored-by: Esteban Gehring <[email protected]> * fixes OpenAPITools#13131: implement backwards-compatible behavior for format: 'date-time' * fixes OpenAPITools#13131: update typescript-angular integrationtests * fixes OpenAPITools#13131: review fixes + lots of documentation * fixes OpenAPITools#13131: update integrationtests * fixes OpenAPITools#13131: update docs/examples * fixes OpenAPITools#13131: update integrationtests * fixes OpenAPITools#13131: unify enums to union-types to make the api feel mora angular-ish * fixes OpenAPITools#13131: update examples * fixes OpenAPITools#13131: update docs/examples after merge of master Co-authored-by: Christoph Linder <[email protected]> Co-authored-by: Esteban Gehring <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b9a6be0 - Browse repository at this point
Copy the full SHA b9a6be0View commit details -
Javascript Generator: two small sanitization changes 🦠 (OpenAPITools#…
…13268) * Javascript Generator: small sanitization changes Sanitize module name, do not sanitize description. If we set the project name to "@myorg/mypackage" (scoped package[1]), running `npm test` will fail, as it will generate faulty code due to the module name including the '@' symbol, which is not a valid JS identifier. Additionally, we don't need to sanitize the description - spaces and special characters are fine. We just need to make sure they are escaped, which we're already doing by invoking escapeText() on line 329 [1]anitize module name, do not sanitize description * update JS samples
Configuration menu - View commit details
-
Copy full SHA for 1a5d392 - Browse repository at this point
Copy the full SHA 1a5d392View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a2b4b9 - Browse repository at this point
Copy the full SHA 3a2b4b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fbc047 - Browse repository at this point
Copy the full SHA 1fbc047View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d73a4d - Browse repository at this point
Copy the full SHA 2d73a4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 544dc60 - Browse repository at this point
Copy the full SHA 544dc60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e89004 - Browse repository at this point
Copy the full SHA 2e89004View commit details -
Allow override CodegenConfigurator in GenerateTask (OpenAPITools#13140)
* Update 'GenerateTask'. Allow override config * Update 'GenerateTask'. Allow override config Co-authored-by: Dmitry Glushkov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3103b43 - Browse repository at this point
Copy the full SHA 3103b43View commit details -
fix: [csharp-netcore]: anyOf fixes for Primitive types (OpenAPITools#…
…13172) * fixed null-coalescing operator incorrectly used for primitive types with the same change than @jafin in OpenAPITools#11427
Configuration menu - View commit details
-
Copy full SHA for 1d8051e - Browse repository at this point
Copy the full SHA 1d8051eView commit details
Commits on Aug 25, 2022
-
fix: [typescript-angular] incorrect import when model starts with num…
…ber (OpenAPITools#13277) fixes OpenAPITools#13201
Configuration menu - View commit details
-
Copy full SHA for 0bd5ae4 - Browse repository at this point
Copy the full SHA 0bd5ae4View commit details
Commits on Aug 26, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 96521f2 - Browse repository at this point
Copy the full SHA 96521f2View commit details -
[rust] [rust-server] Add AbstractRustCodegen (OpenAPITools#13231)
* Add AbstractRustCodegen * Fix minor bug * Fix copy-pasting mistake * Simplify addApiNamePrefixAndSuffix
Configuration menu - View commit details
-
Copy full SHA for dc7ae05 - Browse repository at this point
Copy the full SHA dc7ae05View commit details -
[protobuf] fix set, add tests (OpenAPITools#13286)
* fix set, add tests for protobuf * add new files * update doc * remove yaml
Configuration menu - View commit details
-
Copy full SHA for 37c8a74 - Browse repository at this point
Copy the full SHA 37c8a74View commit details -
fix: [typescript-angular]
.join
does not exist on typeSet
(OpenA……PITools#13278) fixes OpenAPITools#11782
Configuration menu - View commit details
-
Copy full SHA for 50a9d33 - Browse repository at this point
Copy the full SHA 50a9d33View commit details -
[python-experimental] improves type hints (OpenAPITools#13271)
* Templates updated, dict properties moved into Meta * Fixes tests * Renames _discriminator to discriminator * Moves required vars into required * Renames _additional_properties to additional_properties * Adds MetaOapgTyped * Adds type hints for MetaOapg to classes that neen it * Adds StrMixin * Adds DecimalMixin * Adds BoolMixin * Adds NoneMixin * Adds TupleMixin * Adds FrozenDictMixin * Regenerates unit test samples * Only quotes type hints if they are imported * Moves _items into Meta * Renames _items to items, various small type hint fixes * Adds type hints for object model new signature * Adds type hints for body schema primitive types * Adds primitive types to all query/path/header/cookie params * Samples regenerated for unit test api * Version files fixed
Configuration menu - View commit details
-
Copy full SHA for fe934dc - Browse repository at this point
Copy the full SHA fe934dcView commit details
Commits on Aug 27, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2c22a01 - Browse repository at this point
Copy the full SHA 2c22a01View commit details -
Combine javascript and javascript-apollo generators (OpenAPITools#13270)
* Combine javascript and javascript-apollo generator functionality * Combine javascript and javascript-apollo templates * update configs * deprecate javascript-apollo generator * bonus magic string deletion ✨ * update samples * update generator docs * fix: include .babelrc in apollo generation * update samples * update samples * rename javascript-apollo to javascript-apollo-deprecated * fix javascript apollo library template Apollo library now uses the partial_model_generic template file from the ES6 library, as it includes many fixes and improvements (including handling models with ill-named attributes) * update samples * Create javascript-apollo-deprecated.md * Updated javascript generator template's gitignore Updates .gitignore with that from https://github.com/github/gitignore/blob/main/Node.gitignore Main reason for the update is to ignore the 'dist' folder with compiled files by default. * javascript generator: merge api_test template files The only difference is that Apollo is not designed for browser, so having a "if(browser)" check is useless, but doesn't hurt. * update docs * cleanup * avoid possible config clash * update javascript-apollo sample * update javascript-es6 sample I kept the pom.xml from before * update javascript-promise-es6 sample kept pom.xml * update samples
Configuration menu - View commit details
-
Copy full SHA for 62a0878 - Browse repository at this point
Copy the full SHA 62a0878View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97946e4 - Browse repository at this point
Copy the full SHA 97946e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7c224b - Browse repository at this point
Copy the full SHA b7c224bView commit details -
Configuration menu - View commit details
-
Copy full SHA for eaa80be - Browse repository at this point
Copy the full SHA eaa80beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 40044a3 - Browse repository at this point
Copy the full SHA 40044a3View commit details -
Cpp restbed server improvements (OpenAPITools#13030)
* Keep old implementation of cpp-restbed generator as cpp-restbed-server-deprecated * Refactor operation path processing * Restructure samples directory to better allow writing tests * Improve templates for cpp-restbed-server Improve templates * Add integration tests * Improvement in templates for cpp-restbed-server * Fix tests * Improve cpp-restbed generator * Improve cpp-restbed-server * Add more tests * Add suppoert for arrays of enums in query params * Generate CMakeLists.txt * Small improvements and example in Readme * Add integration tests to maven project * Update doc
Configuration menu - View commit details
-
Copy full SHA for d2e60f5 - Browse repository at this point
Copy the full SHA d2e60f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e879af - Browse repository at this point
Copy the full SHA 1e879afView commit details
Commits on Aug 28, 2022
-
[R] minor bug fixes in oneOf, anyOf (OpenAPITools#13298)
* update oneof to handle primitive types in r client * add support for primitive type support in anyOf in r client * remmove lock
Configuration menu - View commit details
-
Copy full SHA for 66ecfb6 - Browse repository at this point
Copy the full SHA 66ecfb6View commit details -
[R] Better rdoc (OpenAPITools#13275)
* better rdoc * update doc * update samples
Configuration menu - View commit details
-
Copy full SHA for 0d68f29 - Browse repository at this point
Copy the full SHA 0d68f29View commit details -
[R] override
print
, lock classes (OpenAPITools#13300)* override print, add lock * add print, lock class to anyof/oneof
Configuration menu - View commit details
-
Copy full SHA for a582c38 - Browse repository at this point
Copy the full SHA a582c38View commit details -
Configuration menu - View commit details
-
Copy full SHA for b55fa26 - Browse repository at this point
Copy the full SHA b55fa26View commit details
Commits on Aug 29, 2022
-
[python-experimental] improves type hints for arrays, and object requ…
…ired properties (OpenAPITools#13299) * Regenerates sample with additional enum values * Sample regenerated, array type hints working * Unit test sample regenerated * Removes unneeded __getattribute__ * Sample regenerated using getRequiredVarsMap for property type hints * Adds schemaFromAdditionalProperties to tell if a CodegenProperty is from properties or additionalProperties * Adds get/setSchemaIsFromAdditionalProperties * Updates codegenModel * Updates codegenParameter * Updates codegenResponse * Uses setSchemaIsFromAdditionalProperties * Fixes array new typ ehint and additional property type hints * Samples regenerated * Adds missing parms to javadoc * Fixes param name * Adds missing param to javadoc
Configuration menu - View commit details
-
Copy full SHA for d97081e - Browse repository at this point
Copy the full SHA d97081eView commit details -
[csharp-netcore] To support Secret API key input as string (OpenAPITo…
…ols#13276) * To support api secret key to take input as string. * To support Secret API key input as string Co-authored-by: Savitha M R <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 522a5df - Browse repository at this point
Copy the full SHA 522a5dfView commit details -
Small fixes and cleanup on cpp-restbed-server (OpenAPITools#13305)
Some small issues sneaked into the improved restbed generator.
Configuration menu - View commit details
-
Copy full SHA for 27f3a5c - Browse repository at this point
Copy the full SHA 27f3a5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c0d886 - Browse repository at this point
Copy the full SHA 2c0d886View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97b3859 - Browse repository at this point
Copy the full SHA 97b3859View commit details -
[cpp-ue4] Support UE5 version of FTickerObjectBase (OpenAPITools#13304)
Co-authored-by: nullbus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9b9d320 - Browse repository at this point
Copy the full SHA 9b9d320View commit details
Commits on Aug 30, 2022
-
[python-experimental] adds dict["key_name"] type hints (OpenAPITools#…
…13309) * Uses frozendict module import in schemas and api_client * Regnerates sample * Adds overload type hints * Adds __getitem__ methods for invalidly name properties * Fixes code that instantiates referenced schemas in object payloads * Fixes getitem literals containing control charaters * Sorts params by required, adds type hints for properties with addProps turned off * Unit test spec sample regenerated * Adds stub files for models and endpoints * Omitting some endpoint info from endpoint stub files * Removes more from endpoint stub * Deletes all except for schema definition in endpoint stubs * Removes simple validations from stubs * Removes endpoint parameter deifnition from endpoints stubs * Removes unnecessary ../ stub variable access * Samples regenerated * Samples regenerated, fixed handling of invalidly named properties * Samples regenerated * Reverts version files
Configuration menu - View commit details
-
Copy full SHA for a294456 - Browse repository at this point
Copy the full SHA a294456View commit details -
[python-experimental] improves type hints of optional object properti…
…es (OpenAPITools#13314) * Adds Unset type hint for use cases containing additional properties * Simplifies no addProps type hint template * Unset type hints added when additionalProperties are off * Adds __getitem__ unset fix * Adds unset test * Fixes non overload method when addprops are present * Sample regenrated, tests added, readme updated * Unit test sample updated * Reverts version files
Configuration menu - View commit details
-
Copy full SHA for d63caf2 - Browse repository at this point
Copy the full SHA d63caf2View commit details
Commits on Aug 31, 2022
-
Configuration menu - View commit details
-
Copy full SHA for cebdbb6 - Browse repository at this point
Copy the full SHA cebdbb6View commit details -
[swift5] explode query params only if necessary (OpenAPITools#13202)
* propagate explode option to mapValuesToQueryItems * regenerate swift5 samples
Configuration menu - View commit details
-
Copy full SHA for 7af9f9c - Browse repository at this point
Copy the full SHA 7af9f9cView commit details -
[python-experimental] adds NullableX base class mixins, fixes additio…
…nalProperties type hint (OpenAPITools#13323) * Makes additionalProperties type hint include Unset * Adds 2-class Mixins * unit test sample regenerated * Reverts version files
Configuration menu - View commit details
-
Copy full SHA for 2252040 - Browse repository at this point
Copy the full SHA 2252040View commit details
Commits on Sep 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d1f44e8 - Browse repository at this point
Copy the full SHA d1f44e8View commit details -
[python-experimental] improves method names (OpenAPITools#13325)
* Replaces all validate methods with public validate ones * More methods made public with _oapg suffix * Makes methods private where one can * Fixes tests * Fixes typo, maked Disciminable methods public * Method changed to from_openapi_data_oapg * Fixes tests for from_openapi_data_oapg * Tweaks endpoint stub so the endpoint exists for ycharm type hints * Makes Api methods protected * Adds binary python type hints, makes get_new_instance_without_conversion_oapg public * Protects some schema methods * Protects more schema methods * Renames as_x, is_x acessors with needed suffix * Fixes some tests * Fixes tests, fixes new signature for DateSchema * Methods removed and made private * Fixes indentation * Samples regenerated
Configuration menu - View commit details
-
Copy full SHA for 62e28a2 - Browse repository at this point
Copy the full SHA 62e28a2View commit details -
[swift5] distinguish (un-)authenticated requests (OpenAPITools#13321)
* add isRequestAuthenticated to request builder * update samples * improve samples
Configuration menu - View commit details
-
Copy full SHA for fea42b5 - Browse repository at this point
Copy the full SHA fea42b5View commit details
Commits on Sep 2, 2022
-
[R] Update fromJSON to handle additional properties (OpenAPITools#13331)
* update fromJSON to handle additional properties * update RoxygenNote to newer version
Configuration menu - View commit details
-
Copy full SHA for b6576d1 - Browse repository at this point
Copy the full SHA b6576d1View commit details
Commits on Sep 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2bfbb87 - Browse repository at this point
Copy the full SHA 2bfbb87View commit details -
fix: ensure Resteasy JAX-RS Response object closed (OpenAPITools#13333)
Signed-off-by: Michael Edgar <[email protected]> Signed-off-by: Michael Edgar <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for afd357b - Browse repository at this point
Copy the full SHA afd357bView commit details
Commits on Sep 4, 2022
-
[maven] Use one of two default paths of output directory according to…
… the lifecycle phase (OpenAPITools#13151) In case the lifecycle phase is "generate-test-sources" the default output directory is: "${project.build.directory}/generated-test-sources/openapi" In case of any other lifecycle phase the default output directory is: "${project.build.directory}/generated-sources/openapi" Also use the "src/main/java" as the only default source folder in the output path for both cases when addCompileSourceRoot == true and when addTestCompileSourceRoot == true. In case you really need "src/test/java" it still can be set in the configOptions manually: <configOptions> <sourceFolder>src/test/java</sourceFolder> </configOptions>
Configuration menu - View commit details
-
Copy full SHA for 4694a9f - Browse repository at this point
Copy the full SHA 4694a9fView commit details -
Fix generation of default array values for kotlin client (OpenAPITool…
…s#13243) * Fix generation of default array values for kotlin client * rerun generation scripts * replace list of enum with list of string
Configuration menu - View commit details
-
Copy full SHA for 2a007b3 - Browse repository at this point
Copy the full SHA 2a007b3View commit details -
Do not generate new models for readonly schema references (OpenAPIToo…
…ls#13303) * Add example of nested schema issue * Add failing test case * Special case properties with a single allOf and readonly * Remove rogue file from FILES
Configuration menu - View commit details
-
Copy full SHA for f6be1d0 - Browse repository at this point
Copy the full SHA f6be1d0View commit details -
Feature/update kotlin dependecies template (OpenAPITools#12966)
* update Kotlin & Ktor versions * update samples * fix gradle version * update the ktor client templates and project samples * update the ktor client templates and project samples * revert multiplatform upgrade * update kotlin multiplatform * upload kotlin Multiplatform samples * fix gson ktor sample * update samples * fix: unused imports * fix imports of ApiClient * update kotlin samples
Configuration menu - View commit details
-
Copy full SHA for ef6d383 - Browse repository at this point
Copy the full SHA ef6d383View commit details -
Configuration menu - View commit details
-
Copy full SHA for bdf9114 - Browse repository at this point
Copy the full SHA bdf9114View commit details -
[R] Remove obsolete importMapping code, add tests (OpenAPITools#13345)
* remove import obsolete code, add tests * remove man fodler * update .gitignore
Configuration menu - View commit details
-
Copy full SHA for c81c103 - Browse repository at this point
Copy the full SHA c81c103View commit details -
Adds isBooleanSchemaTrue/False getters and setters (OpenAPITools#13341)
* Adds getters and setters for boolean schema true and false * Updates CodegenModel * Updates codegenProperty * Updates codegenparameter and codegenresponse * Adds comments describing the new properties * Updates additionalProperty setting for python-experimental * Sample regenerated * Docs updated * Do not write additionalProperties when they are unset * Updates criteria for when DictSchema subcalsses are created * Adds NotAnyTypeSchema when a schema is False * Updates new kwargs signature * Updates get_item type hints * Updates sample, readme updated * Simplifies method calls * Adds get_item_oapg, removes unset from get_item and getattr * Sample regenrated * Fixes tests * Raises AttributeError if a property is not required and it is dotname accessed * Fixes one test * Fixes 3 tests * Fixes test * Fixes two more tests * Fixes test * Fixes two tests * Fixes two tests * Tests fixed * Unit test sample regerated, fixed unset addprops required type hint issue * Migration guide updated * Samples regenerated
Configuration menu - View commit details
-
Copy full SHA for 5251a1b - Browse repository at this point
Copy the full SHA 5251a1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 513496a - Browse repository at this point
Copy the full SHA 513496aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f0d8c3e - Browse repository at this point
Copy the full SHA f0d8c3eView commit details
Commits on Sep 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6c94216 - Browse repository at this point
Copy the full SHA 6c94216View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fc9264 - Browse repository at this point
Copy the full SHA 2fc9264View commit details -
[dart-dio] handle polymorphism + discriminator serialization (OpenAPI…
…Tools#12295) * return structured serializer * generate samples * implmented postProcessAllModels to fix assignment of inherited models * Templates now respect inheritance * regen dart samples * only built value support for now * ignore unused elements * fixed tests * new configs to test oneOf * add some helper vendorextensions for oneOf support * update templates * regen samples * resolve conflicts * fix missing serializers * Updated samples and fixed merge conflict * updated samples * Follow java conventions * Follow java conventions * updated samples * update sampels 2 * update samples 3 ... * fix underscores * fixed missing imports from java code * update config names * updated samples * updated built_value deps * regen samples * workaround built_value abstract builders google/built_value.dart#1180 * regen samples * updated test pubspec * temp fix rewriteImports for Lists and maps * Add new samples to CI * Improve white spaces & formatting * fix enums not getting assigned correctly * update samples * fixed typo * regen samples * remove repeating imports * regen samples * ignore unused_element warning * updated tests * regen samples Co-authored-by: Peter Leibiger <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2a8ea16 - Browse repository at this point
Copy the full SHA 2a8ea16View commit details -
[python-experimental] adds new json content type (OpenAPITools#13356)
* Adds json detection for application/json-patch+json * Adds jsonPatch route and schemas * Adds test_json_patch * Unit test sample updated * Reverts version files
Configuration menu - View commit details
-
Copy full SHA for cb8d9d5 - Browse repository at this point
Copy the full SHA cb8d9d5View commit details -
[python-experimental] adds and uses regex patterns for json + filenam…
…e detection (OpenAPITools#13357) * Unit test sample regenerated * Reverts version files
Configuration menu - View commit details
-
Copy full SHA for f139c09 - Browse repository at this point
Copy the full SHA f139c09View commit details -
[python-experimental] Improves additionalProperties processing when a…
…dditionalProperties is unset (OpenAPITools#13347) * Adds NotAnyTypeSchema * Unit test sample regenerated * Turns parameter tests back on * Removes unused from_server_types * Reverts version files * Samples regerated with fixed type hints * Further fixed type hints
Configuration menu - View commit details
-
Copy full SHA for 2c5eb54 - Browse repository at this point
Copy the full SHA 2c5eb54View commit details
Commits on Sep 6, 2022
-
[python-experimental] adds test verifying inheriting from multiple An…
…yType classes (OpenAPITools#13358) * Adds test_additional_properties_validator * Updates test * Reverts file
Configuration menu - View commit details
-
Copy full SHA for c4d56af - Browse repository at this point
Copy the full SHA c4d56afView commit details -
Mark overrides in typescript-fetch and typescript-rxjs (OpenAPITools#…
…13322) * feat(typescript-fetch): mark overrides fix OpenAPITools#12948 * feat(typescript-rxjs): mark overrides fix OpenAPITools#12948
Configuration menu - View commit details
-
Copy full SHA for 86d6511 - Browse repository at this point
Copy the full SHA 86d6511View commit details -
Configuration menu - View commit details
-
Copy full SHA for a91201d - Browse repository at this point
Copy the full SHA a91201dView commit details -
Escape quotes in example of array type (OpenAPITools#12505)
Escape quotes in example of array type in Schema and ApiModelProperty annotations
Configuration menu - View commit details
-
Copy full SHA for 4c19eca - Browse repository at this point
Copy the full SHA 4c19ecaView commit details
Commits on Sep 7, 2022
-
[R] support explode (true/false) in query array parameters (OpenAPITo…
…ols#13364) * fix query parameters (explode or not) in r client * add tests
Configuration menu - View commit details
-
Copy full SHA for f98753a - Browse repository at this point
Copy the full SHA f98753aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6665d06 - Browse repository at this point
Copy the full SHA 6665d06View commit details
Commits on Sep 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6755032 - Browse repository at this point
Copy the full SHA 6755032View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b66045 - Browse repository at this point
Copy the full SHA 0b66045View commit details
Commits on Sep 9, 2022
-
Fix OpenAPITools#13369: kotlin-client with okhttp doesn't escape path…
… parameters with slashes correctly (OpenAPITools#13370) * Fix OpenAPITools#13369 * Regenarate samples * Fix support for okhttp3
Configuration menu - View commit details
-
Copy full SHA for 9753086 - Browse repository at this point
Copy the full SHA 9753086View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b9e2fa - Browse repository at this point
Copy the full SHA 4b9e2faView commit details
Commits on Sep 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 43dbb5f - Browse repository at this point
Copy the full SHA 43dbb5fView commit details -
Prepare 6.1.1 SNAPSHOT version (OpenAPITools#13399)
* prepare v6.1.1 * update samples * update doc
Configuration menu - View commit details
-
Copy full SHA for 928070c - Browse repository at this point
Copy the full SHA 928070cView commit details -
Adds IJsonSchemaValidationProperties format getter and setter +uses t…
…he format info (OpenAPITools#13360) * Adds format getter and setter * Updates codegenProperty * Updates codegenModel * Updates codegenParameter + Response * Sets format and removes unused import code in python-experimental * Samples regenerated * Samples regenerated * Adds AnyTypeAndFormat * Separates format bases out from their str or number bases * Docs updated * Updates python-exp, stops setting isDate and uses format instead * Removes python-experimental isDate usages * Fixes password usages * Turns off isDateTime in python-experimental java layer * Sample regnerated without isDateTime * Removes isUuid * Turns off isDecimal, decimal_payload broken * Removes isDecimal * Removes isByteArray * Removes isBinary python-exp usages * Removes isFloat isDouble setting from python-experimental * Removes isDouble isFloat usages in sample * Stops setting isShort and isLong in python-exp java layer * Removes isShort isLong usages from python-exp and generates sample * Adds decimal as integer input * Adds missing bool type * Adds validations to format mixins, adds test_uuid * Adds test_date * Adds test_date_time * Adds test_number * Adds test_int32 * Adds test_int64 * Adds test_double * Adds test_float * Samples updated * Fixes javadoc
Configuration menu - View commit details
-
Copy full SHA for c59759f - Browse repository at this point
Copy the full SHA c59759fView commit details
Commits on Sep 12, 2022
-
Further Elixir Client Improvements (OpenAPITools#12775)
* Further Elixir Client Improvements Resolves OpenAPITools#12731 and is the completion of the work that I started with OpenAPITools#12751. The changes here are extensive and likely resolve an issue that I have seen with the Ory SDK (ory/sdk#194). I have also been unable to run the integration suite for Elixir as I am (trying) to run everything in Docker (`./run-in-docker.sh`) as I *do not* have a suitable Java development environment set up, and do not do enough Java work to really justify it. - Updated the README for Elixir projects. Aside from some improved readability of the template by use of link references instead of inline links, I have also fixed the examples: - The `deps` example should have been putting a version constraint related to `appVersion`. - The `config` example should have been using `packageName` instead of `appName`. This particular issue repeats. - In all Elixir files: - Changed the function `@docs` formatting: - changed the ehading level for `Parameters` and `Returns` to h3 (`###` instead of `##`). This will make somewhat better looking documentation that does not over-emphasize these details (which are *not* documented in a normal Elixir way, but this is somewhat to be expected with a code generator.) It may be desirable, after testing, to change this to `h4` instead of `h3`. - Put parameter names and most return types in in-line code blocks (`` `hello` ``). - Put return types, when there are multiple types, in a Markdown list. - Fixed a lot of the spacing. Most files will be *closer* to Elixir standard formatting than they were. Because of the limitations of Mustache, it is still recommended that people who generate Elixir clients run `mix format` at least once on their codebase. - `api.mustache`: - Removed an awkward function pipeline call. If we specified at least Elixir 1.12 (something that I do not recommend as we have recently jumped from requiring Elixir 1.6 to Elixir 1.10), there is a better way to specify this now with `Kernel.then/2`. In the meantime, assigning the constructed request structure to a variable and then making a separate pipeline for the request execution and handling makes for *much* easier to read generated code. - Fixed the extra space issue with `evaluate_response` call tuple values; `{{=<% %>=}}` changes the tag types, so this change is intentional. - In `config.exs.mustache`, `runtime.exs.mustache`, `mix.exs.mustache`, and `connection.ex.mustache`, use `packageName` instead of `appName` for configuration specification. If `packageName` and `appName` differed, we would end up with cases like ory/sdk#194. - `connection.ex.mustache` has been almost entirely rewritten. The changes started in order to eliminate a `@doc` compile-time warning, but shifted to remove the old way of building Tesla client structs with `use Tesla`. It works, but is no longer the recommended way of building Tesla clients. - The *recommended* way of building a Tesla Client would now be `Tesla.client(Connection.middleware(), Connection.adapter())`. - Exposed both `Connection.adapter/0` and `Connection.middleware/1` for use. `Connection.middleware/1` has special handling for the cases where OAuth2 or HTTP Basic Auth are defined in the application, but do not currently handle any other auth methods. - `deserializer.ex.mustache` has mostly been reformatted. There are things that I do not like about it (I do not like pipelines with one line), and I have expanded one function capture into an anonymous function for readability. - `request_builder.ex.mustache` has been updated with better function and parameter descriptions and names. Please note that if `request |> method(:delete) |> method(:post)` is supposed to produce a `POST` operation, we will need to change from `Map.put_new/3` to `Map.put/3`. - Reordered `evaluate_response/2` so that it is the function documented, and made `decode/2` and `response_mapping/3` private functions. As far as I can tell, I have *not* changed the functionality. * Address issues found in code review - The example dependency code in the README had dropped the opening brace for the tuple. This has been resolved. - The default formatting of the API pipelines has been adjusted to minimize possible changes from `mix format`. * Update modules/openapi-generator/src/main/resources/elixir/api.mustache Co-authored-by: Michael Ramstein <[email protected]> * Update modules/openapi-generator/src/main/resources/elixir/connection.ex.mustache Co-authored-by: Michael Ramstein <[email protected]> * Update modules/openapi-generator/src/main/resources/elixir/connection.ex.mustache Co-authored-by: Michael Ramstein <[email protected]> * Update templates based on review comments Co-authored-by: Michael Ramstein <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 194d421 - Browse repository at this point
Copy the full SHA 194d421View commit details -
[python-experimental] Enhance octet-stream deserialize (OpenAPITools#…
…13402) * [python-experimental] Enhance octet-stream deserialization When the headers didn't provide the filename, use the url of response to extract filename. * [python-experimental] Remove todo comment. * [python-experimental] Fix test code. * Update samples * [python-experimental] Refined the method and the test + Early return when the url is empty or `None`. + Removed unused f-string prefix. * [python-experimental] Comapre url is None explicitly. * Update samples.
Configuration menu - View commit details
-
Copy full SHA for 8e66294 - Browse repository at this point
Copy the full SHA 8e66294View commit details
Commits on Sep 13, 2022
-
fix(typescript-fetch): Handle cors errors. (OpenAPITools#12960)
* fix(typescript-fetch): Handle cors errors. If there is a communication error, e.g. an OPTIONS request returns 404 not found, then the whole request is cancelled and there is no response object (it is undefined). I observed the following error: TypeError: Cannot read properties of undefined (reading 'status') Basically response was undefined. In order to circumvent this issue, we do a check to make sure response is "truthy", which works for objects. With these code changes, it will throw a ResponseError, which is what you would expect instead of a TypeError. * regenerate typescript-fetch stuff * retry code generation Co-authored-by: Joe Heyming <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0727407 - Browse repository at this point
Copy the full SHA 0727407View commit details -
[swift5]: support arrays in multipart/form-data (OpenAPITools#13383)
* [swift5]: support arrays in multipart/form-data * update samples
Configuration menu - View commit details
-
Copy full SHA for 7ff47dc - Browse repository at this point
Copy the full SHA 7ff47dcView commit details
Commits on Sep 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 37fb856 - Browse repository at this point
Copy the full SHA 37fb856View commit details -
Fix applying optional query parameters (OpenAPITools#13419)
* add query params * update samples
Configuration menu - View commit details
-
Copy full SHA for 7beebe6 - Browse repository at this point
Copy the full SHA 7beebe6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c6a951 - Browse repository at this point
Copy the full SHA 0c6a951View commit details
Commits on Sep 15, 2022
-
Fix php generators treating double as a native type (OpenAPITools#13421)
* Fix php generators treating double as a native type Fixes OpenAPITools#13335 * Remove double handling in enum * Add missed double type removal
Configuration menu - View commit details
-
Copy full SHA for abe8c74 - Browse repository at this point
Copy the full SHA abe8c74View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44d500c - Browse repository at this point
Copy the full SHA 44d500cView commit details -
[python-experimental] adds more base class mixins, preparation for v3…
….1.0 type arrays (OpenAPITools#13436) * Removes unnecesary typing.Unions * Adds qty 3 mixin * Adds qty4 mixin * Adds mixins for 3-5 type combinations * Regenerates samples
Configuration menu - View commit details
-
Copy full SHA for 3177277 - Browse repository at this point
Copy the full SHA 3177277View commit details
Commits on Sep 16, 2022
-
[python-experimental] simplifies type checking (OpenAPITools#13437)
* Better control of when to write MetaOapg * Makes MetaOapg in Schema a type hint rather than assignmnet * Samples regenerated * Adds tuple types * Removes types info * Adds _types * Samples regenerated * Adds missing mixins, samples regenerated * SchemaTypeChecker removed * Samples regnerated
Configuration menu - View commit details
-
Copy full SHA for 048af8e - Browse repository at this point
Copy the full SHA 048af8eView commit details -
Adds dependentRequired (OpenAPITools#13442)
* Updates codegenmodel * Updates codegenProperty * Updates codegenParameter * Updates codegenResponse * Samples regenerated
Configuration menu - View commit details
-
Copy full SHA for 03cf550 - Browse repository at this point
Copy the full SHA 03cf550View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26ebde4 - Browse repository at this point
Copy the full SHA 26ebde4View commit details -
Add set support to model properties in R client (OpenAPITools#13443)
* add set support to model properties in r client * update samples
Configuration menu - View commit details
-
Copy full SHA for 943d8bf - Browse repository at this point
Copy the full SHA 943d8bfView commit details -
Adds contains (OpenAPITools#13449)
* Adds contains getter and setter * Updates codegenProperty * Updates codegenModel * Updates codegenparameter * Updates codegenResponse * Samples regenerated
Configuration menu - View commit details
-
Copy full SHA for 7e87b5d - Browse repository at this point
Copy the full SHA 7e87b5dView commit details
Commits on Sep 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 863dbc7 - Browse repository at this point
Copy the full SHA 863dbc7View commit details -
[kotlin][client] fix file upload with okhttp (OpenAPITools#13435)
* [kotlin][client] fix file upload with okhttp * [kotlin][client] fix file upload with okhttp * [kotlin][client] update sample projects * [kotlin][client] fix file upload with okhttp3 * [kotlin][client] update sample projects
Configuration menu - View commit details
-
Copy full SHA for b9d7158 - Browse repository at this point
Copy the full SHA b9d7158View commit details -
fix: incorrect boolean literal in unit tests [python-flask] (OpenAPIT…
…ools#13397) Co-authored-by: Kevin Bannier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d48209e - Browse repository at this point
Copy the full SHA d48209eView commit details -
[R] Add array support to path parameters (OpenAPITools#13450)
* add array support to path parameters (r client) * update samples
Configuration menu - View commit details
-
Copy full SHA for 517816d - Browse repository at this point
Copy the full SHA 517816dView commit details -
[JAVA] fix ClassCastException validating an optional JsonArray which …
…is a JsonNullable (OpenAPITools#13448)
Configuration menu - View commit details
-
Copy full SHA for 62d29c3 - Browse repository at this point
Copy the full SHA 62d29c3View commit details -
Upgrades swagger parser to 2.1.1, allows ingestion of 3.1.0 specs (Op…
…enAPITools#13133) * Upgrades swagger-parser * Removes additional property and halting of spec processing * Updates tests * Docs updated
Configuration menu - View commit details
-
Copy full SHA for 43375b9 - Browse repository at this point
Copy the full SHA 43375b9View commit details
Commits on Sep 18, 2022
-
[PHP-Symfony] Encurage Symfony 5 bundle directory structure best prac…
…tices (OpenAPITools#13014) * use .yaml instead of .yml This is recommended by Symfony standards * save Bundle files also to src path * add test for generate ping * add package imports * fix expected file names * why is Api/ApiServer.php missing * output filenames * use getAbsolutePath for debug purpose * do not use punctuation as current directory * refactor: remove todos * use also .yaml in test to fix it * add test for setting a different source directory * use correct const for setting source dir property in tests * import the AbstractPhpCodegen in test class * put also Resources to source path * save docs not to Resources * update samples and improve src path in autoload.php and composer.json * update moved samples
Configuration menu - View commit details
-
Copy full SHA for c4a3866 - Browse repository at this point
Copy the full SHA c4a3866View commit details
Commits on Sep 19, 2022
-
[typescript-angular] Support body for DELETE requests (OpenAPITools#1…
…3457) * [typescript-angular] Update api template to use HttpClient#request instead of its http-method-specific wrappers * update expected output for integration tests * regenerate samples
Configuration menu - View commit details
-
Copy full SHA for f773ac7 - Browse repository at this point
Copy the full SHA f773ac7View commit details -
[kotlin] fix enum default values (OpenAPITools#13404)
* [kotlin-okhttp]: fix enum default parameters * [kotlin-retrofit]: add enum support * update samples
Configuration menu - View commit details
-
Copy full SHA for af0c9d2 - Browse repository at this point
Copy the full SHA af0c9d2View commit details -
fix(typescript-angular): compile error with
queryParamObjectFormat
……and `tsc --strictNullChecks` (OpenAPITools#13431) fixes OpenAPITools#13429
Configuration menu - View commit details
-
Copy full SHA for 54e712a - Browse repository at this point
Copy the full SHA 54e712aView commit details -
[python-experimental] Fix error message (OpenAPITools#13471)
* fix error message formatting * add more infos in error message
Configuration menu - View commit details
-
Copy full SHA for 4a28451 - Browse repository at this point
Copy the full SHA 4a28451View commit details
Commits on Sep 20, 2022
-
[Dart] Remove toString() call in enum TypeTransformers (OpenAPITools#…
…13452) * Updated samples * [Dart] Removed 'toString' check on enum TypeTransformers (OpenAPITools#12167)
Configuration menu - View commit details
-
Copy full SHA for d75b7b6 - Browse repository at this point
Copy the full SHA d75b7b6View commit details -
[Ruby] Change constants lookup methods in enum class (OpenAPITools#13285
Configuration menu - View commit details
-
Copy full SHA for 1f9f940 - Browse repository at this point
Copy the full SHA 1f9f940View commit details -
Support for international letters like øæå. (OpenAPITools#13316)
Co-authored-by: Sverre Kristian Valskrå <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1793698 - Browse repository at this point
Copy the full SHA 1793698View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f732c5 - Browse repository at this point
Copy the full SHA 4f732c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6dd608 - Browse repository at this point
Copy the full SHA e6dd608View commit details -
PHP: fix ranged status codes (OpenAPITools#13012)
* PHP: fix ranged status codes * PHP: update samples
Configuration menu - View commit details
-
Copy full SHA for 6a7567e - Browse repository at this point
Copy the full SHA 6a7567eView commit details -
[python-experimental] improves documentation (OpenAPITools#13477)
* Improves docs generation * Adds inline composed schemas * Adds missing from property * Adds notes info * Fixes spacing * Updates notes, generates container properties * Adds anchors to property schema docs * Adds format info to docs * Adds items schema documentation * Adds doc for additionalProperties * Adds anchors for response types * Fixes anchors in endpoint * Fixes api doc link to model doc * Removes returnType from api docs because it is unused * Fixes float and double tests
Configuration menu - View commit details
-
Copy full SHA for 903f2e2 - Browse repository at this point
Copy the full SHA 903f2e2View commit details
Commits on Sep 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 09d3b8f - Browse repository at this point
Copy the full SHA 09d3b8fView commit details -
[rust-server] Resolve clippy warnings (OpenAPITools#13473)
* fix(rust-server): Use ok_or_else instead of ok_or * fix(rust-server): Remove empty format string * fix(rust-server): Remove redundant field names in struct initialisation * fix(rust-server): Remove redundant clones * fix(rust-server): Derive Eq with PartialEq always * fix(rust-server): Remove immediately pushes replaced by vec macro * fix(rust-server): Remove useless conversions * fix(rust-server): Dismiss clippy::new_without_default * fix(rust-server): Fix compilation failures * fix(rust-server): Resolve remaining warnings * build(rust-server): Add newly generated samples of petstore * fix(rust-server): Allow clippy::derive_partial_eq_without_eq to avoid float types try to derive Eq * fix(rust-server): Fix parts to compile samples successfully * fix(rust-server): Allow clippy::redundant_clone instead of removing redundant map_err * fix(rust-server): Resolve and dismiss lots of warnings to satisfy clippy on samples * build(rust-server): Add clippy execution to sample integration test * build(rust-server): Add .cargo/config to the test root to use -Dwarnings flag in tests * fix(rust-server): Allow unused_mut to avoid compilation fails in some environments
Configuration menu - View commit details
-
Copy full SHA for fa51d8b - Browse repository at this point
Copy the full SHA fa51d8bView commit details
Commits on Sep 22, 2022
-
[python-experimental] reduces python version (OpenAPITools#13481)
* Removes classmethod property combinations * Changes python version to 3.8 * Changes python version to 3.7 * Tests fixed * Samples updated * Adds getAddSuffixToDuplicateOperationNickname and uses it in python-exp, samples regenerated * test_paths regenerated * Fixes bug * Adds typing_extensions requirement
Configuration menu - View commit details
-
Copy full SHA for 5f9910d - Browse repository at this point
Copy the full SHA 5f9910dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e146afb - Browse repository at this point
Copy the full SHA e146afbView commit details -
[python-experimental] removes enum cls factory (OpenAPITools#13491)
* Movs enum info, changes cls factory to base class + updates samples * Fixed docs for enums, they show the allowed bool and None values now
Configuration menu - View commit details
-
Copy full SHA for d25cdbb - Browse repository at this point
Copy the full SHA d25cdbbView commit details
Commits on Sep 23, 2022
-
[Kotlin] Fix wrong default value is generated for non-integer numbers (…
…OpenAPITools#13507) * ISSUE-13506 fix number value for default values when they are number * ISSUE-13506 test and sample update
Configuration menu - View commit details
-
Copy full SHA for 9d62134 - Browse repository at this point
Copy the full SHA 9d62134View commit details
Commits on Sep 24, 2022
-
Switches python-experimental in as the primary python client (OpenAPI…
…Tools#13501) * Changes python to python-prior * python -> python-prior, python-experimental->python * Renames sample spec directories * Samples regnerated * Regenerates docs * Fixes test * Samples regenerated * Updates renerators list * Fixes made to python paths in pom.xml * Fixes node4 sh file paths
Configuration menu - View commit details
-
Copy full SHA for 7e73645 - Browse repository at this point
Copy the full SHA 7e73645View commit details -
Configuration menu - View commit details
-
Copy full SHA for 840917c - Browse repository at this point
Copy the full SHA 840917cView commit details -
prepare 6.2.0 release (OpenAPITools#13514)
* set release version to 6.2.0 * update samples * comment out rust server test in travis
Configuration menu - View commit details
-
Copy full SHA for 24f476a - Browse repository at this point
Copy the full SHA 24f476aView commit details -
Prepare 6.2.1 (OpenAPITools#13517)
* update to 6.2.1-SNAPSHOT * update samples * update doc
Configuration menu - View commit details
-
Copy full SHA for ac7ebf6 - Browse repository at this point
Copy the full SHA ac7ebf6View commit details
Commits on Sep 26, 2022
-
Add .net framework 4.8 support (OpenAPITools#13504)
* add .net framework 4.8 support * add dependency, test in appveyor * update doc
Configuration menu - View commit details
-
Copy full SHA for d46189b - Browse repository at this point
Copy the full SHA d46189bView commit details -
[PHP] BUGFIX: model_generic: fix missing setOpenAPInullablesSetToNull…
… method (OpenAPITools#13499) * [PHP] Bugfix - model_generic.mustache: missing setter for openAPINullabelsSetToNull (which is invoked in the property setters) * [AUTOGENERATED] update samples * [PHP] Added test for nullable fields
Configuration menu - View commit details
-
Copy full SHA for efccc01 - Browse repository at this point
Copy the full SHA efccc01View commit details -
Elixir: Improve generated API options docs (OpenAPITools#13478)
While working with the Magento 2.4 API definition, there were several issues found. The easiest to resolve is a documentation naming issue. (The others will be raised for discussion.) This is known to be an issue with query parameters, but may not be limited to *just* query parameters. In the event that a parameter is a mix of arrays and objects, the template in the documentation for the API function was expanding out the parameter name such that `foo[0]` would be turned into `:foo_left_square_bracket0_right_square_bracket`, but the actual parameter name was being left as `:foo[0]`, which meant that the documentation did not reflect the actual parameter. > Note: there are issues with the way that query parameters are put > together in this sense, which is going to require substantially more > work to resolve as well as discussion on how these options should be > implemented, as what the Magento API requires may not be what is > expected by a different server, and the nature of the input parameters > is itself incorrect.
Configuration menu - View commit details
-
Copy full SHA for de745a4 - Browse repository at this point
Copy the full SHA de745a4View commit details -
[swift5] support both date and date-time formats (OpenAPITools#13520)
* add withoutTime formatter * add DateWithoutTime wip * fix CI # Conflicts: # samples/client/petstore/swift5/nonPublicApi/PetstoreClient/Classes/OpenAPIs/DateWithoutTime.swift * implement flag and adjust tests * generate samples and docs * docs * update samples * remove samples of legacy python generator * Revert "remove samples of legacy python generator" This reverts commit 28da78f. * review remarks * generate samples * fix * review remarks * remove samples * generate swift 5 samples * generate csharp examples * docs * Revert "generate csharp examples" This reverts commit d1deb17. * Revert "generate swift 5 samples" This reverts commit 968e859. * Revert "remove samples" This reverts commit a43d215. * manually remove FILES * regenerate files * reviewers remarks * delete all date without times * update config of alamofireLib to use new attribute and generate samples again * docs
Configuration menu - View commit details
-
Copy full SHA for 22086e4 - Browse repository at this point
Copy the full SHA 22086e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23c67d1 - Browse repository at this point
Copy the full SHA 23c67d1View commit details
Commits on Sep 27, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6b47b14 - Browse repository at this point
Copy the full SHA 6b47b14View commit details -
[typscript-rxjs] fix build failure (OpenAPITools#13526)
* add node types to fix build failure * Revert "add node types to fix build failure" This reverts commit 7ec986e. * add node installation to fix build failure * update ts samples
Configuration menu - View commit details
-
Copy full SHA for 88d464a - Browse repository at this point
Copy the full SHA 88d464aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 36976d5 - Browse repository at this point
Copy the full SHA 36976d5View commit details -
[csharp] Fixed isMap property (OpenAPITools#13482)
* fixed data type for maps * fighting line endings * fighting line endings * removed commented code * reverted unintended line break * reverted unintended line break * reverted unintended line break
Configuration menu - View commit details
-
Copy full SHA for 4e54b07 - Browse repository at this point
Copy the full SHA 4e54b07View commit details -
Configuration menu - View commit details
-
Copy full SHA for bcd0d29 - Browse repository at this point
Copy the full SHA bcd0d29View commit details -
Add Bandwidth to the user list (OpenAPITools#13532)
* add bandwidth to the user list * Update README.md Co-authored-by: AJ Rice <[email protected]> * update link Co-authored-by: AJ Rice <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 694a4c9 - Browse repository at this point
Copy the full SHA 694a4c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ba43f7 - Browse repository at this point
Copy the full SHA 4ba43f7View commit details -
[R] add discriminator and mappings support (OpenAPITools#13529)
* add discriminator property, mapping * add discriminator, mapping support to R client generator * add discriminator, mapping support to R client genrator httr library
Configuration menu - View commit details
-
Copy full SHA for 6a631b4 - Browse repository at this point
Copy the full SHA 6a631b4View commit details
Commits on Sep 28, 2022
-
[swift5] [alamofire] adds ability to inject custom response serialize…
…rs (OpenAPITools#13542) * adjust templates to allow injecting ResponseSerializers * generate samples * swift < 5.5 compatibility
Configuration menu - View commit details
-
Copy full SHA for 00604af - Browse repository at this point
Copy the full SHA 00604afView commit details
Commits on Sep 29, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 210a394 - Browse repository at this point
Copy the full SHA 210a394View commit details
Commits on Sep 30, 2022
-
Bump actions/setup-dotnet from 2 to 3.0.0 (OpenAPITools#13557)
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 2 to 3.0.0. - [Release notes](https://github.com/actions/setup-dotnet/releases) - [Commits](actions/setup-dotnet@v2...v3.0.0) --- updated-dependencies: - dependency-name: actions/setup-dotnet dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d3e099b - Browse repository at this point
Copy the full SHA d3e099bView commit details
Commits on Oct 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2920c7b - Browse repository at this point
Copy the full SHA 2920c7bView commit details
Commits on Oct 2, 2022
-
[JavaScript] add oneOf support (OpenAPITools#13561)
* JS add oneOf support * add validate json method * add oneOf support to JS client * update samples * add todo in anyof * switch to composed.oneOf * update oneOf to support primitive types * update messages * minor fix, add more tests * update samples * fix npe in from model * fix syntax error in length check * update samples
Configuration menu - View commit details
-
Copy full SHA for 9cc23dd - Browse repository at this point
Copy the full SHA 9cc23ddView commit details -
[R] add URL validation (OpenAPITools#13570)
* add url validation in r client * update samples
Configuration menu - View commit details
-
Copy full SHA for c939894 - Browse repository at this point
Copy the full SHA c939894View commit details
Commits on Oct 3, 2022
-
[R] add for more tests for URL validation (OpenAPITools#13572)
* add url validation in r client * update samples * add more tests for url validation
Configuration menu - View commit details
-
Copy full SHA for 3ec6cc5 - Browse repository at this point
Copy the full SHA 3ec6cc5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 922f978 - Browse repository at this point
Copy the full SHA 922f978View commit details -
Configuration menu - View commit details
-
Copy full SHA for c30ae75 - Browse repository at this point
Copy the full SHA c30ae75View commit details -
[csharp] Fixed data type issues (OpenAPITools#13541)
* fixed data type issues * reverted a change
Configuration menu - View commit details
-
Copy full SHA for 0581d81 - Browse repository at this point
Copy the full SHA 0581d81View commit details -
Configuration menu - View commit details
-
Copy full SHA for c39fc1e - Browse repository at this point
Copy the full SHA c39fc1eView commit details -
[Java][jaxrs-spec] Make contextPath template parameter available as a…
… string constant for use in @ApplicationPath (OpenAPITools#13377) * generate a RestResourceRoot with a string constant holding the jax-rs resource root to be used in the @ApplicationPath annotation to make it easier for people, who want to write their own jax-rs Application class * build and update samples as per PR guide * renamed introduced constant from ROOT to APPLICATION_PATH to make its use more obvious
Configuration menu - View commit details
-
Copy full SHA for 2f48c59 - Browse repository at this point
Copy the full SHA 2f48c59View commit details -
[python] fixes bugs (OpenAPITools#13581)
* Adds bug fixes * Samples and docs regenerated * Samples regenerated
Configuration menu - View commit details
-
Copy full SHA for 57f5cc4 - Browse repository at this point
Copy the full SHA 57f5cc4View commit details
Commits on Oct 4, 2022
-
Fix/remove support python2 option in flask aiohttp generators (OpenAP…
…ITools#13585) * fix: remove option supportPython2. [python-flask][python-aiohttp][python-blueplanet] * fix: update samples * test only python servers * fix(tests): downgrade pytest version to ensure compatibility with python3.6 [python-flask][python-aiohttp] * Revert "fix(tests): downgrade pytest version to ensure compatibility with python3.6 [python-flask][python-aiohttp]" This reverts commit 9f47db2. * test in circlei * run commands directly * test in node 1 * update makefile * fix Makefile * fix test * revert some changes, remove python server tests from travis Co-authored-by: Kevin Bannier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 085e1e5 - Browse repository at this point
Copy the full SHA 085e1e5View commit details
Commits on Oct 5, 2022
-
[swift5] adds configuration of response success ranges (OpenAPITools#…
…13598) * add successfulCodeRange to configuration * generate samples
Configuration menu - View commit details
-
Copy full SHA for 4beee6c - Browse repository at this point
Copy the full SHA 4beee6cView commit details -
[swift5] fixes a bug encoding/decoding decimal (OpenAPITools#13589)
* [swift5] fixes bug OpenAPITools#13410 * Fixed indentation, added missing generated samples
Configuration menu - View commit details
-
Copy full SHA for 8b10dc3 - Browse repository at this point
Copy the full SHA 8b10dc3View commit details
Commits on Oct 6, 2022
-
[rust] [rust-server] More abstract functions including integer fitting (
OpenAPITools#13503) * [rust] [rust-server] Abstract Rust Integer fitting * Add docstrings
Configuration menu - View commit details
-
Copy full SHA for 32936ad - Browse repository at this point
Copy the full SHA 32936adView commit details -
[PHP] Bugfix: DateTime object on query (OpenAPITools#13583)
* [PHP] BUGFIX: fix code breaking when query params contain a DateTime object * [PHP] Autogenerated files
Configuration menu - View commit details
-
Copy full SHA for a37d18a - Browse repository at this point
Copy the full SHA a37d18aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ae11f8 - Browse repository at this point
Copy the full SHA 4ae11f8View commit details -
Bump actions/setup-dotnet from 3.0.0 to 3.0.1 (OpenAPITools#13595)
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 3.0.0 to 3.0.1. - [Release notes](https://github.com/actions/setup-dotnet/releases) - [Commits](actions/setup-dotnet@v3.0.0...v3.0.1) --- updated-dependencies: - dependency-name: actions/setup-dotnet dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 18b5b05 - Browse repository at this point
Copy the full SHA 18b5b05View commit details -
Fix OpenAPITools#13385 spring json nullable array (OpenAPITools#13537)
* Fixing to use equalsNullable when nullable set in config for SpringCodeGen * Adding additional test case file * removed print statement from SpringCodeGen * Updated model object * Corrected indentation and removed import * Fixed broken test * Updating sample
Configuration menu - View commit details
-
Copy full SHA for 10a1e7c - Browse repository at this point
Copy the full SHA 10a1e7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 64c756c - Browse repository at this point
Copy the full SHA 64c756cView commit details -
Remove wrong request mapping for feign clients (OpenAPITools#13546)
* Remove request mapping * Fix bug for feign clients * Fix test * Fix test files * Rebuild * Revert change
Configuration menu - View commit details
-
Copy full SHA for 0a69f11 - Browse repository at this point
Copy the full SHA 0a69f11View commit details
Commits on Oct 7, 2022
-
Merge remote-tracking branch 'OpenApi_Gen_Base/master' into merge_ups…
…tream # Conflicts: # modules/openapi-generator/src/main/resources/typescript-nestjs/api.module.mustache # modules/openapi-generator/src/main/resources/typescript-nestjs/api.service.mustache
Dylan Wilson committedOct 7, 2022 Configuration menu - View commit details
-
Copy full SHA for e581578 - Browse repository at this point
Copy the full SHA e581578View commit details
Commits on Apr 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2eec52a - Browse repository at this point
Copy the full SHA 2eec52aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b7ed33c - Browse repository at this point
Copy the full SHA b7ed33cView commit details