ssilverman / rdm-schema

The schema for the Parameter Metadata Language from Section 5 of E1.37-5.
10 stars 3 forks source link

Inconsistent get responses #26

Open sammysmallman opened 2 years ago

sammysmallman commented 2 years ago

The get response of ENDPOINT_TO_UNIVERSE uses a reference to the first field of the get request:

  "get_response": [
    { "$ref": "#/get_request/0" },
   ...

The get response of DMX_PERSONALITY_DESCRIPTION repeats the field:

  "get_response": [
    { "name": "personality", "type": "uint8" },
   ...

Whilst both are valid. What is the preferred approach?