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
I have some method that returns 10 fields. Some of them are big (2-4Kb). I know about field_mask and try to use it, but swagger generated file not specify which fields actually i can send. (my web service use swagger to generate typescript services).
I'm try to use enum for fields, but in this case my url look not like ?fields=id,name,xx,yy but ?fields=id&fields=name&fields=xxx
Does it possible to define in proto fields as enums, but swagger generated file have not array of fields kv, but fields=kv with comma?
The text was updated successfully, but these errors were encountered:
Hi @vtolstov. Your issue confuses me a bit. Could you try to reword it as a feature request, so I can understand what the problem with your current setup is? Field masks do not require or encourage the use of enums to select fields. Field masks are just strings.
I have some method that returns 10 fields. Some of them are big (2-4Kb). I know about field_mask and try to use it, but swagger generated file not specify which fields actually i can send. (my web service use swagger to generate typescript services).
I'm try to use enum for fields, but in this case my url look not like ?fields=id,name,xx,yy but ?fields=id&fields=name&fields=xxx
Does it possible to define in proto fields as enums, but swagger generated file have not array of fields kv, but fields=kv with comma?
The text was updated successfully, but these errors were encountered: