Sha256: 9e6457efecf8ae3f09f6d448a402e15cf70349424d9d92f379403acbee64eda5

Contents?: true

Size: 1.46 KB

Versions: 10

Compression:

Stored size: 1.46 KB

Contents

{
  "protocol" : "CityState",
  "namespace" : "Gnomon",
  "types" : [ {
    "type" : "record",
    "name" : "Timestamp",
    "fields" : [ {
      "name" : "timestamp",
      "type" : "int"
    } ]
  }, {
    "type" : "record",
    "name" : "CityState",
    "doc" : "This main class for this protocol",
    "fields" : [ {
      "name" : "id",
      "type" : "int",
      "doc" : "foo"
    }, {
      "name" : "city_id",
      "type" : "int"
    }, {
      "name" : "state_id",
      "type" : "int"
    } ]
  }, {
    "type" : "record",
    "name" : "FetchOption",
    "fields" : [ {
      "name" : "page",
      "type" : "int",
      "default" : 0
    }, {
      "name" : "per_page",
      "type" : "int",
      "default" : 30
    } ]
  } ],
  "messages" : {
    "bogus" : {
      "doc" : "bogus method for testing no parameters",
      "request" : [ ],
      "response" : "null"
    },
    "non_member_method" : {
      "doc" : "method that uses non \"main_type\" as the first parameter is considered non-member",
      "request" : [ {
        "name" : "options",
        "type" : "FetchOption"
      } ],
      "response" : {
        "type" : "array",
        "items" : "CityState"
      }
    },
    "member_method" : {
      "doc" : "method that uses \"main_type\" as the first parameter is considered member",
      "request" : [ {
        "name" : "params",
        "type" : "CityState"
      } ],
      "response" : {
        "type" : "array",
        "items" : "CityState"
      }
    }
  }
}

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
service_contract-0.6.0 test/sample/1/compiled/city_state.avpr
service_contract-0.5.1 test/sample/1/compiled/city_state.avpr
service_contract-0.5.0 test/sample/1/compiled/city_state.avpr
service_contract-0.4.1 test/sample/1/compiled/city_state.avpr
service_contract-0.4.0 test/sample/1/compiled/city_state.avpr
service_contract-0.3.0 test/sample/1/compiled/city_state.avpr
service_contract-0.2.1 test/sample/1/compiled/city_state.avpr
service_contract-0.2.0 test/sample/1/compiled/city_state.avpr
service_contract-0.1.1 test/sample/1/compiled/city_state.avpr
service_contract-0.1.0 test/sample/1/compiled/city_state.avpr