Skip to content

[Bug] capability configuration file - inputParameters value does not work with constant #85

@jeremnaf

Description

@jeremnaf

For the "consumes" section, using a constant value for an input parameter does not work. Example:

consumes:
    - type: "http"
      description: "Forwarded requests from the /notion/{path} resource, to be sent to the Notion API"
      namespace: "notion"
      baseUri: "https://api.notion.com/v1/"
      inputParameters:
        - name: "Notion-Version"
          in: "header"
          value: "2025-09-03"

At the end the value is always undefined. Workaround is to use const instead of value:

consumes:
    - type: "http"
      description: "Forwarded requests from the /notion/{path} resource, to be sent to the Notion API"
      namespace: "notion"
      baseUri: "https://api.notion.com/v1/"
      inputParameters:
        - name: "Notion-Version"
          in: "header"
          const: "2025-09-03"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions