square / connect-api-specification

This repository contains the OpenAPI specification as well as templates for generating SDKs for Square's APIs
https://squareup.com/developers
Apache License 2.0
72 stars 35 forks source link

Invalid $ref values #205

Open dphuang2 opened 7 months ago

dphuang2 commented 7 months ago

"#/definitions/LocationCustomAttributeDeleteResponse" "#/definitions/LocationCustomAttributeDeleteRequest"

and more are invalid refs in the spec. Why is this happening?

jonlund commented 7 months ago

I've been using this API for years and there are always invalid refs.

Since we use it to generate a compiled API this doesn't work so I maintain a forked version of it that has the corrections. You are welcome to use it. https://github.com/Flash-Order/connect-api-specification

I try to give the corrections to Square using pull requests but they don't want them because they say it is automatically generated.