* style(crystal): fix coding style
* fix(crystal): object_id is so central in Crystal that it should not be overridden by user code
See: https://crystal-lang.org/api/1.18.2/Reference.html#object_id%3AUInt64-instance-method
* style(crystal): fix coding style
* fix(crystal): fix partial_oneof_module by using a class instead of a module
Fix https://github.com/OpenAPITools/openapi-generator/issues/22563
* fix(crystal): remove non-working code
It's not working because it uses #send method which doesn't exist in Crystal
See: https://crystal-lang.org/reference/1.18/crystal_for_rubyists/metaprogramming_help.html#differences-between-ruby-and-crystal
* fix(crystal): update reserved words, separate reserved keywords from methods
* fix(crystal): update samples
* fix(crystal): set default values when options are not passed
* fix(crystal): follow up https://github.com/OpenAPITools/openapi-generator/pull/22545
* fix(crystal): remove travis.yml file
* style(crystal): fix coding style
* style(crystal): use kwargs when calling @api_client
* style(crystal): use kwargs when calling Crest::Request.new
* fix(crystal): remove useless return_type argument
* fix(crystal): map object type to JSON::Any type
* fix(crystal): reduce use of require
* fix(crystal): return early if value is nil
* fix(crystal): update doc
* fix(crystal): remove dead code
* fix(crystal): kemal is not used in specs
* fix(crystal): class name should be in PascalCase
Fix:
- class EnumAttributeValidatorFor_type < EnumAttributeValidator
+ class EnumAttributeValidatorForType < EnumAttributeValidator
* fix(crystal): fix ameba warnings
* [Rust] Enum Query Parameter Serialization Fixes
Adds tests to ensure this won't regress again. Also fixes some other compile errors with Box<> and file uploads.
* Remove duplicate query param integration tests from petstore samples
* re-gen samples
* fix enum boxing tests
* stream files
* samples
* doc generator fix & snapshot
* doc generation fixes, update samples
* another attempt to fix the doc generator
* improve doc generation - don't try link to internal models, and fixing links missing in some scenarios
the rust doc generator will be the death of me
* also fix hyper
* applying same fix to hyper
* snapshot fixes
* Make GetAsync protected internal so external inheritors can override it
* Remove non-zero token length requirement to allow more flexibility for token providers
* Update samples
* Copy the title field when creating the ArraySchema object in processNormalize31Spec()
* Copy the title field when creating the ArraySchema object in processNormalize31Spec()
* fix(cpp-qt): Fix enum query parameter serialization for both inline and referenced enums
For enum query parameters, the template was incorrectly using asJsonObject()
which returns {"value": "enumValue"} and then iterating over keys, using
"value" as the parameter name instead of the actual parameter name.
This fix adds special handling for both inline enums (isEnum) and referenced
enums (isEnumRef) to use asJson() directly, which returns the correct enum
string value for URL serialization.
Fixes enum query parameters like ?scope=property instead of ?value=property.
Completes the fix started in PR #21211 which added the asJsonObject() method
to make enum code compile, but the template logic was still incorrect for URL
query parameter serialization.
Note: The petstore samples don't contain enum query parameter tests to
demonstrate this fix (they use string arrays). Future contributors may want
to add enum query parameter examples to better showcase this functionality.
* add tests for enum inline, ref for query parameters
* update cmake version to 3.5
---------
Co-authored-by: Sohaib Athar <sohaibathar@gmail.com>
* Add MCP server support to apiService.mustache
Refactor apiService.mustache to include MCP server support and enhance operation methods.
* Update samples
* update samples in wsl
* remove useless import when mcp is disabled
---------
Co-authored-by: RL6172 <thibaut.rety@external.engie.com>
* Support JsonNullable in JaxRS-spec
* Add sample files that are now modified (new import)
* Fix build issue with jaxrs-spec-microprofile-openapi-annotations sample
The enum constants may be backtick-escaped reserved words (e.g. "DocumentDisposition.`inline`"). Mustache html-escapes the backticks, leading to invalid code such as "DocumentDisposition.`inline`".
This change adjusts all Kotlin client Mustache templates to pass the values through as raw values.
openapi-generator still uses methods that have been removed from urllib3
v2.6.0. The solution is as described in urllib3's changelog:
> Removed the HTTPResponse.getheaders() method in favor of
> HTTPResponse.headers. Removed the HTTPResponse.getheader(name,
> default) method in favor of HTTPResponse.headers.get(name, default).
> (#3622)
See https://urllib3.readthedocs.io/en/latest/changelog.htmlClose#22514