RSE API swagger parsing error in API ML #3910
Replies: 9 comments 4 replies
-
Hi team, Do you have any update on this issue? |
Beta Was this translation helpful? Give feedback.
-
Hi Pavel, I'm sorry we are swamped with other work right now. It's getting to the top of the queue and I hope that we will get to the topic later this week or beginning of the next one. |
Beta Was this translation helpful? Give feedback.
-
Hi Pavel, |
Beta Was this translation helpful? Give feedback.
-
Hi @achmelo rseapi.zip |
Beta Was this translation helpful? Give feedback.
-
Hi @PavelKondratiev , |
Beta Was this translation helpful? Give feedback.
-
Hi @achmelo Yes, I did that Digital ring information for user ZWESVUS2:
In fact I does not think it does matter - I constantly see messages in RSEAPI log 10.1.1.19 - - [12/Jan/2025:00:01:34 -0500] "GET /rseapi/api-docs/swagger.json HTTP/1.1" 200 189409 They tell me Zowe API Ml component is able to read RSEAPI swagger file - isn't it? Thanks |
Beta Was this translation helpful? Give feedback.
-
Hi @achmelo I assume your API ML is at V3 level - right? Do you mean to set components.api-catalog.debug=true or something else? |
Beta Was this translation helpful? Give feedback.
-
Hi @achmelo Btw I get exactly the same error in V3. I turned on debug for api-catalog as you suggested and its content show me the possible root of the problem - swagger.json contains some tabulation chars :
I assume you tested it on non-z/OS platform, right? It may explain why did not you get this error.
Thanks and regards |
Beta Was this translation helpful? Give feedback.
-
There are multiple things:
0x20 0x20 0x20 0x20 0x20 0x20 0x09 0x22 0x24 0x72 0x65 0x66 0x22 0x3A 0x20 0x22
The issue is the same for v2 and v3. The only workaround, for now, is to format YAML differently (ie. do not use pretty print to exclude white spaces). A potential solution for the issues:
I guess to use multiple parsers depending on the first character looks to me like the most reasonable fix |
Beta Was this translation helpful? Give feedback.
-
Hello team,
I performed static registration of IBM RSE API in Zowe API ML catalog.
When open it in API catalog web interface I get this message :
Swagger
API documentation could not be retrieved. There may be something wrong in your Swagger definition.
Please review the values of 'schemes', 'host' and 'basePath'.
Here is swagger file in problem
rseapi.swagger.zip
Found related information in this issue #406.
Does that mean API ML works as designed and it is not a bug?
Thanks in advance and best regards
Beta Was this translation helpful? Give feedback.
All reactions