Make fields optional in method params (#62)

This commit is contained in:
Kirill
2024-01-25 15:41:30 +03:00
committed by GitHub
parent a3c9d93adc
commit 965c83ba85
19 changed files with 55 additions and 55 deletions

View File

@@ -1356,10 +1356,10 @@ type GetDescriptionOfProductParams struct {
Limit int64 `json:"limit"`
// The parameter by which the products will be sorted
SortBy string `json:"sort_by"`
SortBy string `json:"sort_by,omitempty"`
// Sorting direction
SortDirection string `json:"sort_direction"`
SortDirection string `json:"sort_dir,omitempty"`
}
type GetDescriptionOfProductFilter struct {