William Cheng

Results 983 comments of William Cheng

update: filed https://github.com/OpenAPITools/openapi-generator/pull/18741 to fix the issue

my guess is that it's due to change in behaviour when parsing 3.1 spec with `setResolve` enabled as explained in the doc https://github.com/swagger-api/swagger-core/wiki/Swagger-2.X---OpenAPI-3.1#resolving-dereferencing-bundling as a workaround, please use 3.0 spec...

Another workaround is to enable resolve enum in inline schema resolver, e.g. ``` java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate -g java -i https://raw.githubusercontent.com/shorn/openapi-fruitbat/main/shared-enum-3.1/src/main/openapi/shared-enum.yaml -o /tmp/java-enum/ --inline-schema-options RESOLVE_INLINE_ENUMS=true ``` doc: https://github.com/openapitools/openapi-generator/blob/master/docs/customization.md#inline-schema-naming this works...

Thanks for the PR, which has been merged. CI failure fixed via 8860537e2b9

would you like to sponsor the enhancement or contribute a PR to add the option?

@jasonboggess thanks for the feedback. In the coming release, we plan to make all the date-related output optional to reduce noise to git or other diff tools.

@willgorman it's documented in `config-help`, e.g. ``` java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar config-help -l java ``` but not all generators have implemented this option yet. If you want to help out, please...

You can use the following option: ``` hideGenerationTimestamp hides the timestamp when files were generated ``` Ref: `java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar config-help -l java`

Thanks for the PR but your commit (as shown in the Commits tab) is not linked to your Github account, which means this PR won't count as your contribution in...

Looks like it's causing issues. E.g. haskell client generator: ``` ERROR: Failed to run haskell-http-client -- 5961 | java -jar ./modules/openapi-generator-cli/target/openapi-generator-cli.jar generate -i modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -g haskell-http-client -o /tmp/openapi-generator-test-fake-petstore/2.0/haskell-http-client ``` Ref:...