Skip to content

Converting the JSON-RPC schema does not work #21

@martinfojtik

Description

@martinfojtik

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions