/square-connect-go-sdk

Square Connect SDK generated using our open-api spec and Swagger

Primary LanguageGo

square-connect-go-sdk

Square Connect SDK generated using our open-api spec and Swagger. Square updates the spec without bumping the version, so we keep a copy of open-api-3_square in this repo.

Upgrading

rm open-api-3_square
wget https://docs.connect.squareup.com/v2/api/specifications/open-api-3_square

Build

docker build -t square-connect-go-sdk .
docker run --rm -it -v $PWD:/mnt square-connect-go-sdk -c "rm -fr /mnt/swagger; cp -r /build/square-connect-sdk/ /mnt/swagger"