| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
The /Accounts path parameter reference included a sibling type property, which is not allowed on an OpenAPI 3.0 Reference Object and caused strict validators to reject the specification. Remove the redundant property while retaining the shared requiredHeader parameter definition. Fixes XeroAPI#694
| Back | FazBrowse Home | New Git URL |
Description
Good catch by @bhaeussermann: the /Accounts path parameter reference includes a sibling type property, which is not allowed on an OpenAPI 3.0 Reference Object. Strict validators therefore reject the Accounting specification with an additional-properties error.
This removes only the redundant sibling. The referenced requiredHeader parameter remains unchanged.
Fixes #694
Root cause
The type: string constraint was placed next to $ref rather than inside a Parameter Object schema. Reference Objects in OpenAPI 3.0 cannot be extended with sibling fields.
Compatibility
This does not change an endpoint, parameter, or generated SDK type. It makes the existing reference valid for standards-compliant tooling.
Validation
Not run