package main
import (
"context"
boltalphaspec "github.com/speakeasy-sdks/bolt-alpha-spec"
"github.com/speakeasy-sdks/bolt-alpha-spec/pkg/models/shared"
"log"
"net/http"
)
func main() {
s := boltalphaspec.New()
ctx := context.Background()
res, err := s.Pets.CreatePets(ctx, shared.Pet{
ID: 596804,
Name: "<value>",
})
if err != nil {
log.Fatal(err)
}
if res.StatusCode == http.StatusOK {
// handle response
}
}