connect-api-specification
connect-api-specification copied to clipboard
This repository contains the OpenAPI specification as well as templates for generating SDKs for Square's APIs
Even if you don't accept these I thought it would be easier and more clear than typing up an issue explaining them.
`ApplicationDetails` has the property `square_product` which references it's definition from `ExternalSquareProduct`. Looking through the JSON though there is only `ApplicationDetailsExternalSquareProduct` which contains no properties. Is `ExternalSquareProduct` missing?
Search for `"description")",` in `api.json`
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...
Type `Reason` doesn't exist but is referenced several times. For example: property `reason` on method `GiftCardActivityAdjustDecrement` should be `GiftCardActivityAdjustDecrementReason` not `Reason`. property `reason` on method `GiftCardActivityAdjustIncrement` should be `GiftCardActivityAdjustIncrementReason` not...
I'm getting device.code.paired webhook requests where the data.object.device_code.product_type is `"RESTAURANT"`. The spec only has `"TERMINAL_API"` as an enum for `ProductType`. (I hope this is helpful. I LOVE that you guys...
I've been using this as a tutorial of sorts while I mess with swagger-codegen for the first time. When I run the generate-sdk shell script for php, I don't appear...
Hey all, the V1 api classes in the PHP SDK all have the method `list{model}ithHttpInfo`, whose docblock contains the following return declaration: ```php /** * @return Array of \SquareConnect\Model\V1Item[], HTTP...
fixes https://github.com/square/connect-ruby-sdk/issues/36 JSON is in the standard lib as of ruby 1.9, which this gem requires anyway. See also https://www.mikeperham.com/2016/02/09/kill-your-dependencies/
I used https://github.com/square/connect-api-specification/blob/1619654739714a5b8cfe6c5b059aad67a411b482/api.json and pasted it into https://editor.swagger.io/ The following errors showed up. Note all but 1 are from the V1 endpoints: ``` Semantic error at paths./v1/me/locations.get.operationId Operations must have...