Skip to content

configuration 'parts' doesn't work #4

@dreamdevil00

Description

@dreamdevil00

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"
      }
    }
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions