connect-api-specification icon indicating copy to clipboard operation
connect-api-specification copied to clipboard

invalid ref

Open jonlund opened this issue 4 years ago • 2 comments

Somehow the "delivery_method" property on type "Invoice" is messed up it shows:

"$ref": "#/definitions/invoice_delivery_methodInvoiceDeliveryMethod"

it should be:

"$ref": "#/definitions/InvoiceDeliveryMethod"

I know this is generated so something upstream must not be to convention because that ref is invalid

jonlund avatar Feb 27 '21 00:02 jonlund

👋🏼 Hey @jonlund, just wanted to let you know that I'm looking into this right now with my team and we'll be patching this as soon as we have a fix.

deanpapastrat avatar Mar 04 '21 06:03 deanpapastrat

FYI, I created this branch recently that shows all the references I needed to manually update to fix broken references in the OAS https://github.com/square/connect-api-specification/compare/mootrichard/fix-definition-references

mootrichard avatar Jan 10 '22 19:01 mootrichard