timoth-y/kicksware-api

View on GitHub
service-protos/common.proto

Summary

Maintainability
Test Coverage
syntax = "proto3";

package proto;

import "google/protobuf/wrappers.proto";

option go_package = "go.kicksware.com/api/shared/api/proto";
option csharp_namespace = "Proto";

message RequestParams {
  int32 Limit = 1;
  int32 Offset = 2;
  google.protobuf.StringValue SortBy = 3;
  google.protobuf.StringValue SortDirection = 4;
  string userID = 5;
}

message CommonResponse {
  bool success = 1;
  string message = 2;
  string error = 3;
}