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.
rm open-api-3_square
wget https://docs.connect.squareup.com/v2/api/specifications/open-api-3_square
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"