interagent / interagent/committee

Unknown custom data types

Open
#44 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
955
Forks
145
Avg merge
5d 4h
Merged PRs (30d)
6

Description

The following is fine with prmd:

"actor": {
      "description": "description",
      "format": "object",
      "type": [
        "api_user"
      ]
    }

where apI_user is another type of schema object defined elsewhere. However, in committee, it doesn't seem to be able to pick these up, instead yielding:

#/definitions/thing/definitions/actor: Unknown types: api_user.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the custom api_user schema reference in committee and compare its handling with prmd, using the example under #/definitions/thing/definitions/actor. Trace how committee resolves schema objects defined elsewhere; done means valid custom types are recognized without the reported unknown-types error.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.