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
# hard coding because protoc-gen-openapiv2 doesn't work well in description
52
+
cat ./${protopath}/allocation.swagger.json | jq '.definitions.allocationAllocationRequest.properties.multiClusterSetting |= .+{"description": "If specified, multi-cluster policies are applied. Otherwise, allocation will happen locally."}'| sponge ./${protopath}/allocation.swagger.json
53
+
cat ./${protopath}/allocation.swagger.json | jq '.definitions.allocationAllocationRequest.properties.requiredGameServerSelector |= .+{"description": "Deprecated: Please use gameServerSelectors instead. This field is ignored if the\ngameServerSelectors field is set\nThe required allocation. Defaults to all GameServers."}'| sponge ./${protopath}/allocation.swagger.json
cat ./${protopath}/allocation.swagger.json | jq '.definitions.allocationAllocationRequest.properties.metaPatch |= .+{"title": "Deprecated: Please use metadata instead. This field is ignored if the\nmetadata field is set"}'| sponge ./${protopath}/allocation.swagger.json
56
+
cat ./${protopath}/allocation.swagger.json | jq '.definitions.allocationAllocationRequest.properties.metadata |= .+{"title": "Metadata is optional custom metadata that is added to the game server at\nallocation. You can use this to tell the server necessary session data"}'| sponge ./${protopath}/allocation.swagger.json
57
+
cat ./${protopath}/allocation.swagger.json | jq '.definitions.allocationMultiClusterSetting.properties.policySelector |= .+{"description": "Selects multi-cluster allocation policies to apply. If not specified, all multi-cluster allocation policies are to be applied."}'| sponge ./${protopath}/allocation.swagger.json
0 commit comments