jphorx

Results comments of jphorx

> This is a common problem in all swagger generators. Basically, if you're using OAS, design your API to provide consistent responses. Unfortunately this is not always possible. In this...

I've modified the petstore.yaml example to reproduce the issue. Original found here: https://github.com/OAI/OpenAPI-Specification/tree/master/examples/v3.0/petstore.yaml. [petstore.zip](https://github.com/OpenAPITools/openapi-generator/files/2822390/petstore.zip)

As suggested, I wrote some code to directly parse the OpenAPI spec files from this location ( https://github.com/jdegre/5GC_APIs.git ), with the target being a locally corrected version of TS29514_Npcf_PolicyAuthorization.yaml. When...

> I've modified the petstore.yaml example to reproduce the issue. Original found here: https://github.com/OAI/OpenAPI-Specification/tree/master/examples/v3.0/petstore.yaml. > > [petstore.zip](https://github.com/OpenAPITools/openapi-generator/files/2822390/petstore.zip) I found a mistake in these yaml files, they should be ignored.

I have re-tested this with the v4.0.0-beta2 release and was able to process all of the models, so this was addressed somehow?

I think the suggested workaround would work in cases where one is able to modify the schema. Unfortunately the schema I'm working with is published by a standards body.

@slinkydeveloper by latest do you mean 3.8.5? or 4.0.0-milestone4 ? I think the latter will require some refactoring on our side as there's a few things that have changed.

I have reproduced this issue with version 3.8.5 as well.

As an additional clue, I think this is specifically related to defined endpoints (paths) that include parameters (optional or otherwise) that refer to a schema using allOf. When I removed...

Hi that's right. I've added the .zip file, I must have missed doing that the first time around sorry!