You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
snappi: enum setter accepts any value and the same can be retrieved in getter method.
gosnappi: Any invalid value can will be set to unspecified or default
To Reproduce
python:
c = sanity.Api().prefix_config()
c.response = "abc"
c.response returns abc
go:
c := openapiart.NewPrefixConfig()
c.SetResponse("abc")
c.Response() returns "status_200" as the default is status_200
Expected behavior
shall append to the validation errors, in setter
The text was updated successfully, but these errors were encountered:
Version information
0.1.31
Describe the bug
snappi: enum setter accepts any value and the same can be retrieved in getter method.
gosnappi: Any invalid value can will be set to unspecified or default
To Reproduce
Expected behavior
shall append to the validation errors, in setter
The text was updated successfully, but these errors were encountered: