code: func (a *Client) PetList(ctx context.Context, params *PetListParams) (*PetListOK, error) {
  
  	result, err := a.transport.Submit(&runtime.ClientOperation{
  		ID:                 "PetList",
  		Method:             "GET",
  		PathPattern:        "/pet",
  		ProducesMediaTypes: []string{"application/json"},
  		ConsumesMediaTypes: []string{"application/json"},
  		Schemes:            []string{"http"},
  		Params:             params,
  		Reader:             &PetListReader{formats: a.formats},
  		AuthInfo:           a.authInfo,
  		Context:            ctx,
  		Client:             params.HTTPClient,
  	})
  	if err != nil {
  		return nil, err
  	}
  	return result.(*PetListOK), nil
  
  }
docs: /*
  PetList lists pets
  */