* Clean up tests
* Change pets to async-await
* Use different pets for each test
* Workaround multiple petstore server instances
* Add test for unknown error response code
* Remove call duplication
Running the petstore server locally fixes all issues.
* Make body of unexpected error responses available
* Regenerate all consolidated typescript samples
* Remove json heuristic for unknown error responses
In the case where we are making empty posts, use -d '' to force curl to
set the Content-Length header to 0. Some backends (among which Microsoft
Kestrel) are sensitive about POST without a Content-Length set.
* docs(rust,client): link from parameter structs to operation methods
* docs(rust,client): move "more information" text up
This prevents the "more information" text from flowing into the previous
bullet point.
* docs(rust,client): use code formatting for generatorClass
* docs(rust,client): use packageName variable for Cargo.toml dependencies example
* chore(rust,client): capture sample updates
* feat(rust,client): derive Default for model & api structs
This makes operations with many parameters easier to work with.
* chore(rust,client): capture sample changes: derive Default
* fix(rust,client): keep default reqwest features with supportAsync
This avoids disabling TLS support entirely.
* chore(rust,client): capture sample changes
This avoids disabling TLS support entirely.
* fix!: accept should not force application JSON
Generated code offen provides range of accept methods.
This method improperly takes JSON as preferred
Example:
localVarHTTPHeaderAccepts := []string{"application/zip", "application/json"}
* chore: generated changes
* add handling of array of oneOfs
* handle res model-type lowercase name +shorten code
* remove unnecessary vendor-extension model enum
* handle openapi lowercase schema name for array res
* change xs:anytype to string for file responses
* update checkstyles
* remove not needed imports again
* update samples
* upper/lowercase use local getdefault
* update samples again
* fix(rust,client): use local_var prefix for configuration
This avoids conflicting with params named "configuration".
* chore(rust,client): capture updated samples
* Updated template so that generated code now renders docstrings and function parameters nicely in IDE.
Endpoints are still accessible in generated code, mainly to satisfy some test cases.
* fixed manual tests
* 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](https://github.com/jimschubert/query-tag-action/compare/v1...v2)
Signed-off-by: dependabot[bot] <support@github.com>
* Updated Dart2 template to fix linting errors when using recommended rules.
* Updated Petstore code.
* Revert to having no EOF marker at end of few files.
* Fix a call on null value.
* Updated Petstore code.
* Add more checks for nulls.
* Updated Petstore code.
* Updated Petstore code.
* Revert back decoding an enum value.
* Revert back decoding an enum value.
* Updated Petstore code.
* Revert to older version of _convertParametersForCollectionFormat method.
* Updated Petstore code.
* Updated template and Petstore files.
* Adjust doc for analysis_options file.
* Updated Petstore sources.
* Shorten command to replace path parameters.
* Updated Petstore code.
* Add a space for readability.
* Adjust template per feedback.
* Remove unneeded break statements.
* Updated Petstore code.
* Keep a new line character when replacing parameter names (like before).
* Remove string interpolation.
* Updated Petstore code.
* Remove commented code.
* Regenerate Petstore code.
* Regenerated Petstore code.
* Use another parameter name to stop variable shadowing.
* Regenerated Petstore code.
* Put description adjacent to the class.
* Add another global ignore for all files: constant_identifier_names
* Use const for contentTypes and authNames.
* Regenerate Petstore code.
* Use shorter code to check for an empty array.
* Regenerate Petstore code.
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>