Open tnmtechnologies opened 5 years ago
Hi @tnmtechnologies,
Can you please add the OAI spec to reproduce this issue?
Thanks, Mohammed
Hi @ymohdriz , The OAI spec is openapi: 3.0.0 . KR
Please attach the input openapi document to reproduce this issue
Hi @ymohdriz ,
Please find in attachment the OAI spec files. The yaml file to use as input file is the file TS29510_Nnrf_NFManagement.yaml. You will see that it contains a lot of responses '501' defined as
'501':
$ref: './TS29571_CommonData.yaml#/components/responses/501'
In such cases, the exception is thrown.
If we replace the error '501' in file TS29510_Nnrf_NFManagement.yaml by its declaration defined in file TS29571_CommonData.yaml then the exception is not thrown.
'501':
description: Not Implemented
Exception is thrown with openapi-generator tool version 3.3.3.
TT
We wanted to fix swagger-api/swagger-codegen/issues/8859 in OpenAPITools/openapi-generator thanks to this PR OpenAPITools/openapi-generator/pull/1416
Then we faced this issue OpenAPITools/openapi-generator/issues/1420. It seems to come from swagger parser.
Here is the exception :
Please what is your point of view about this issue?
We used OpenAPITools/openapi-generator 3.3.3-SNAPSHOT (java/jaxrs/resteasy).