Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configuration 'parts' doesn't work #4

Open
dreamdevil00 opened this issue May 7, 2018 · 0 comments
Open

configuration 'parts' doesn't work #4

dreamdevil00 opened this issue May 7, 2018 · 0 comments

Comments

@dreamdevil00
Copy link

Configuration parts doesn't work, if you don't pass parts param in Ping.ping method, it was replaced with a callback instead of undefined.

To fix it, we should specify the accepts param

  "methods": {
    "ping": {
      "accepts": [
        {"arg": "parts", "type": "Object"}
      ],
      "returns": {
        "arg": "result",
        "type": "Object",
        "root": true
      },
      "description": "Ping the API to retrieve its internal state",
      "http": {
        "path": "/",
        "verb": "get"
      }
    }
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant