You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we are not able to use tab-based files for the OpenAPI plug-in.
The KaiZen-OpenApi-Parser library should be able to parse tab-based files or at least return a proper SwaggerParserException and not a Null Pointer Exception (NPE). We are waiting for RepreZen/KaiZen-OpenApi-Parser#170 to be fixed.
This caused us some problems because as @Richter-cg said:
we have different input formats and the only way to find out wich parser we need is trial and error. So at one point we run into the problem that the KaiZen parser tries to parse XML. We expected that the KaiZen would reject the XML but it tries to parse it and then returns the NPE from above.
Workaround
Replace tabs with white-spaces on your input file.
Steps to reproduce issue
Use a tab-based yaml file and try to generate anything with it,
Known issue
Currently, we are not able to use tab-based files for the OpenAPI plug-in.
The KaiZen-OpenApi-Parser library should be able to parse tab-based files or at least return a proper
SwaggerParserException
and not a Null Pointer Exception (NPE). We are waiting for RepreZen/KaiZen-OpenApi-Parser#170 to be fixed.This caused us some problems because as @Richter-cg said:
Workaround
Replace tabs with white-spaces on your input file.
Steps to reproduce issue
Use a tab-based
yaml
file and try to generate anything with it,Related/Dependent Issues
RepreZen/KaiZen-OpenApi-Parser#170
The text was updated successfully, but these errors were encountered: