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
In order to accomplish this in code, we will likely have to create a swagger transform to rewrite the server-metadata to map to names that can't conflict (e.g. underscore prefix, so @search.score becomes _score instead of score) and then writing a conversion function to massage the generated interface into the above public shape.
The text was updated successfully, but these errors were encountered:
To prevent accidentally shadowing user-defined fields with server metadata, we should modify the following interfaces:
to instead nest the user defined fields:
In order to accomplish this in code, we will likely have to create a swagger transform to rewrite the server-metadata to map to names that can't conflict (e.g. underscore prefix, so
@search.score
becomes_score
instead ofscore
) and then writing a conversion function to massage the generated interface into the above public shape.The text was updated successfully, but these errors were encountered: