K6 formatting fixes#1
Closed
agilob wants to merge 81 commits intoDataInMotion:k6-openapi-extract-examples-enhancementsfrom
Closed
K6 formatting fixes#1agilob wants to merge 81 commits intoDataInMotion:k6-openapi-extract-examples-enhancementsfrom
agilob wants to merge 81 commits intoDataInMotion:k6-openapi-extract-examples-enhancementsfrom
Conversation
* [typescript-axios] Update Axios to 0.23.0 BREAKING CHANGE: Axios 0.23.0 has a breaking TypeScript defintion change which is incompatible with older versions of Axios. * [typescript-axios] Update samples * [typescript-axios] Use default binding for config to support older versions With 2 generics arguments and leaving the AxiosRequestConfig arguments to it's default the generated code can work both with 0.23.0 and older versions
Co-authored-by: Alexandre Moghrabi <[email protected]>
* install node v16 instead of latest stable * fix install * fix install * fix typo
* fix(NestJS): use correct typing for default headers closes OpenAPITools#10615 * Update modules/openapi-generator/src/main/resources/typescript-nestjs/api.service.mustache Co-authored-by: Alexey Makhrov <[email protected]> * update Co-authored-by: Alexey Makhrov <[email protected]>
…APITools#10666) * [Python] Remove virtualenv deprecated option from test scripts. * [Python/asyncio] create venv with Python 3.x
…0629) * Fix some issues in crystal client templates using google drive v3 oas3 api spec * update crystal petstore sample code * Address PR comments Raises on unsupported feature clean up extra new lines in partial_model_enum_class.mustache * Use size instead of length length is undefined for String or Array * Fix typo * Use default value instead of nil * remove unused template file * Use ::File instead of File as file type to avoid conflicts The spec could also have a File model * support file upload in multipart/form-data post body * Revert breaking changes in api template * Use double quotes to quote string values single quotes are used for single char in crystal * Update api_client to use global ::File and update petstore samples * JSON Annotation Field key's value should be double quoted * Handle nil values for form_params * Remove default values from method definitions due to grammar error * Fix integration tests
* Move apache-httpclient templates to proper dir * Add template for Gradle * Fix few JavaDoc compile warnings * Add properly generated samples * Empty just trigger PR checks rebuild
…enerated under the pythonSrcRoot directory if it's specified. (OpenAPITools#9674) This change also introduces AssertJ as a new dependency.
* add streaming endpoint support to java client * update doc
* add ci tests for streaming * use spaces instead of tabs * update samples
* prepare 5.3.0 release * remove docker-tag-latest-release
* prepare v5.3.1 * update doc * update readme
* add no_proxy support to python client * add unittest for no_proxy supporting, python client * update samples for no_proxy supporting, python client * fix input parameter in samples/openapi3/.../tests_manual/test_extra_pool_config_options.py * re-implement no_proxy support to python client according to PR conversation OpenAPITools#10648 * re-update samples for no_proxy supporting, python client
…0644) * fix import mappings for service in angular typescript * add unit test * regenerated samples
* replace private pub server with official pub server URL
) * Adds ComposedSchema and the ability to set it in CodegenModel and CodegenProperty * Adds ComposedSchemas class and adds getters and setters for it in schema implementors * Adds and uses getComposedSchemas * Makes method private * Uses setComposedSchemas for CodegenParameter and CodegenResponse * Samples regeneratoed, tweaked string representation * Removes null default * Removes anyOfProps, oneOfProps, allOfProps * Removes unneeded line
* [kotlin][client] add base url key * [kotlin][client] update sample projects * [kotlin][client] add base url key
…s#9775) * Resolve OpenAPITools#9774 - Add in `oas3` option for Spring codegen to use newer annotations - Add `useSpringController` option for Spring codegen - Use `useSpringfox` to fix some unwanted imports for Spring codegen - Use `jdk8` to add OffsetDateTime import for models in Spring codegen - Add `JsonValue` to `enumOuterClass.mustache` to allow enums to be generated properly * Update spring examples * Update with a clean maven install and regenerate samples * Remove newling at end of param files and regenerate samples * Update codegen with merge from master * Update tests and samples * Remove #vendorParams from API * Update generated and tests * Get closer to master * Remove SpringFox setter boolean - Annotation was altered to be fully qualified, doesn't need import removed anymore * Update examples and tests * FIx pojo.mustache (missed update to master) and regenerate tests * Fix pojo.mustache extra `(` * Update tests and documentation * Update models and documentation * Handle boolean property correctly - Use `convertPropertyToBoolean` and `writePropertyBack` * Fix more @ApiParam usage with @parameter - Also replace allowableValues with @scheme(allowableValues = ` * Update samples * Update maven `pom.xml` mustache to use OAS3 annotations * FIx typo in variable name * Write back `useSpringfox` property
* change isBodyAllowed to return true for delete method Add method isMethodPutOrPatchOrPost * change templates to use isMethodPutOrPatchOrPost to be compatible with previous versions, lubrary mainterners should decide if want to use isBodyAllowed * since angular 12.1 delete with body is supported Change angular typescript to support delete with body if angular version is >= 12.1 update default ngVersion to be latest 12.2.12 * generate samples and docs * ApiClient was OK revert my changes
* update mavne to 3.8.3 to fix appveyor build failure * update folder name
…ls#10769) * remove default content-type in java okhttp client * update smaples * update tests
* update restsharp to newer version * undo change
* int get generated as long * test revised * moved network logic to abstract service * New service hooks in services * bourne version * remove comment from cert * sendRequest remove direct link to http request * Network logic into AbstractService * Rename AbstractService to Service * add query params * Remove unused comment * Change files in openapi * amazon root CA 1 default ssl certificate * rename service * duplicate line * Set todo * lint whitespace fix * uncomment array querey paramns * Form params in service body * this is nice * added form params * remove random mustache variable * change form map to list, as it would overwrite if there was duplicates * maven build and doc gen
…0776) (OpenAPITools#10777) * Fixed broken form params in typescript-angular client (OpenAPITools#10776) * Added regenerated samples.
* add spotless maven plugin * add spotless gradle plug-in * add spotless version
* add bunker-holding logo * add spotless plugin to jersey2 java client * add spotless plugin to java jersey2 client * use jdk11 in gradle tests * fix gradle test local spec * setup java 11 * skip spotless in check task
* OpenAPITools#10056 Fix relative url as basePath * Add tests handle relative urls in servers * PR Task: * replace tabs with spaces * can `servers` be null or empty? * PR Task: fix empty line tab * Update DefaultGenerator.java Fix lines change tabs to spaces * Fix tabs spaces Co-authored-by: Denis Behrends <[email protected]>
* Replace explicit <Type> with <> * Remove redundant toString() calls on String * Use StandardCharsets.UTF_8 instead "UTF-8" string * Simpler annotation format and redundant this * Dont concat on empty String, use String.valueOf() * Dont run equals on empty String * Use string.anyMatch instead counting * Collection add all instead iterating and adding * Replace string contact with append chain in stringBuilders
…Tools#10789) Motivation: Remove useless warnings for webclient and resttemplate
* curl with form data * fix type * update bash readme * typo * update sample * add test for form data * update
…to k6-formatting-fixes
Author
|
Update your branch with upstream master branch to see my changes better @ideas-into-software, merge this into your branch, then can we merge your branch into openapi in OpenAPITools#10614 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR checklist
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example
./bin/generate-samples.sh bin/configs/java*.For Windows users, please run the script in Git BASH.
master,5.1.x,6.0.x