When I send the request to http://localhost:8080/convert-jsight?to=openapi-3.0.3&format=json
With the body like this:
JSIGHT 0.3
URL /
Protocol json-rpc-2.0
Method listPets // List all pets
Params
[
20 // Limit (how many items to return).
]
Result
[ // An array of pets
{ // Pet
"id": 123,
"name": "Tom"
}
]
I get the response:
{
"openapi": "3.0.3",
"info": {
"title": "",
"version": ""
},
"paths": {}
}
It's very different from what is shown in readme.