├── .gitignore ├── .test_config ├── .travis.yml ├── AUTHORS ├── CHANGELOG.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── bin └── generate.dart ├── lib ├── common.dart ├── rpc.dart └── src │ ├── annotations.dart │ ├── config.dart │ ├── config │ ├── api.dart │ ├── method.dart │ ├── property.dart │ ├── resource.dart │ └── schema.dart │ ├── context.dart │ ├── discovery │ ├── api.dart │ └── config.dart │ ├── errors.dart │ ├── http_body_parser.dart │ ├── media_message.dart │ ├── message.dart │ ├── parser.dart │ ├── server.dart │ └── utils.dart ├── pubspec.yaml └── test ├── api_config_test.dart ├── src ├── errors │ └── errors_test.dart ├── form │ ├── form_test.dart │ └── server.dart ├── generator │ ├── data │ │ ├── expected_apioneapi.dartt │ │ ├── expected_apitwoapi.dartt │ │ ├── expected_multiple_discovery.json │ │ ├── expected_toy_discovery.json │ │ ├── expected_toyapi.dartt │ │ ├── libraryWithPart.dart │ │ ├── multipleApis.dart │ │ ├── multipleApisMessages.dart │ │ ├── multipleApisResources.dart │ │ ├── noDefaultConstructorApi.dart │ │ ├── partApi.dart │ │ ├── pubspec.yamll │ │ └── toyapi.dart │ └── generator_test.dart ├── invocation │ └── invoke_test.dart ├── parser │ ├── api_class_test.dart │ ├── api_common_method_test.dart │ ├── api_delete_method_test.dart │ ├── api_get_method_test.dart │ ├── api_post_method_test.dart │ ├── api_property_bool_test.dart │ ├── api_property_class_test.dart │ ├── api_property_datetime_test.dart │ ├── api_property_double_test.dart │ ├── api_property_enum_test.dart │ ├── api_property_int_test.dart │ ├── api_property_list_test.dart │ ├── api_property_map_test.dart │ ├── api_property_string_test.dart │ ├── api_put_method_test.dart │ ├── api_resource_test.dart │ └── api_schema_test.dart ├── test_api.dart └── test_api │ ├── blob_dart_logo.png │ ├── messages.dart │ └── messages2.dart └── test_util.dart /.gitignore: -------------------------------------------------------------------------------- 1 | .dart_tool/ 2 | .packages 3 | pubspec.lock 4 | -------------------------------------------------------------------------------- /.test_config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/.test_config -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/.travis.yml -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/AUTHORS -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/README.md -------------------------------------------------------------------------------- /bin/generate.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/bin/generate.dart -------------------------------------------------------------------------------- /lib/common.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/lib/common.dart -------------------------------------------------------------------------------- /lib/rpc.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/lib/rpc.dart -------------------------------------------------------------------------------- /lib/src/annotations.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/lib/src/annotations.dart -------------------------------------------------------------------------------- /lib/src/config.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/lib/src/config.dart -------------------------------------------------------------------------------- /lib/src/config/api.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/lib/src/config/api.dart -------------------------------------------------------------------------------- /lib/src/config/method.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/lib/src/config/method.dart -------------------------------------------------------------------------------- /lib/src/config/property.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/lib/src/config/property.dart -------------------------------------------------------------------------------- /lib/src/config/resource.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/lib/src/config/resource.dart -------------------------------------------------------------------------------- /lib/src/config/schema.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/lib/src/config/schema.dart -------------------------------------------------------------------------------- /lib/src/context.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/lib/src/context.dart -------------------------------------------------------------------------------- /lib/src/discovery/api.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/lib/src/discovery/api.dart -------------------------------------------------------------------------------- /lib/src/discovery/config.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/lib/src/discovery/config.dart -------------------------------------------------------------------------------- /lib/src/errors.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/lib/src/errors.dart -------------------------------------------------------------------------------- /lib/src/http_body_parser.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/lib/src/http_body_parser.dart -------------------------------------------------------------------------------- /lib/src/media_message.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/lib/src/media_message.dart -------------------------------------------------------------------------------- /lib/src/message.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/lib/src/message.dart -------------------------------------------------------------------------------- /lib/src/parser.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/lib/src/parser.dart -------------------------------------------------------------------------------- /lib/src/server.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/lib/src/server.dart -------------------------------------------------------------------------------- /lib/src/utils.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/lib/src/utils.dart -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/pubspec.yaml -------------------------------------------------------------------------------- /test/api_config_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/api_config_test.dart -------------------------------------------------------------------------------- /test/src/errors/errors_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/errors/errors_test.dart -------------------------------------------------------------------------------- /test/src/form/form_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/form/form_test.dart -------------------------------------------------------------------------------- /test/src/form/server.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/form/server.dart -------------------------------------------------------------------------------- /test/src/generator/data/expected_apioneapi.dartt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/generator/data/expected_apioneapi.dartt -------------------------------------------------------------------------------- /test/src/generator/data/expected_apitwoapi.dartt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/generator/data/expected_apitwoapi.dartt -------------------------------------------------------------------------------- /test/src/generator/data/expected_multiple_discovery.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/generator/data/expected_multiple_discovery.json -------------------------------------------------------------------------------- /test/src/generator/data/expected_toy_discovery.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/generator/data/expected_toy_discovery.json -------------------------------------------------------------------------------- /test/src/generator/data/expected_toyapi.dartt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/generator/data/expected_toyapi.dartt -------------------------------------------------------------------------------- /test/src/generator/data/libraryWithPart.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/generator/data/libraryWithPart.dart -------------------------------------------------------------------------------- /test/src/generator/data/multipleApis.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/generator/data/multipleApis.dart -------------------------------------------------------------------------------- /test/src/generator/data/multipleApisMessages.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/generator/data/multipleApisMessages.dart -------------------------------------------------------------------------------- /test/src/generator/data/multipleApisResources.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/generator/data/multipleApisResources.dart -------------------------------------------------------------------------------- /test/src/generator/data/noDefaultConstructorApi.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/generator/data/noDefaultConstructorApi.dart -------------------------------------------------------------------------------- /test/src/generator/data/partApi.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/generator/data/partApi.dart -------------------------------------------------------------------------------- /test/src/generator/data/pubspec.yamll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/generator/data/pubspec.yamll -------------------------------------------------------------------------------- /test/src/generator/data/toyapi.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/generator/data/toyapi.dart -------------------------------------------------------------------------------- /test/src/generator/generator_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/generator/generator_test.dart -------------------------------------------------------------------------------- /test/src/invocation/invoke_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/invocation/invoke_test.dart -------------------------------------------------------------------------------- /test/src/parser/api_class_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/parser/api_class_test.dart -------------------------------------------------------------------------------- /test/src/parser/api_common_method_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/parser/api_common_method_test.dart -------------------------------------------------------------------------------- /test/src/parser/api_delete_method_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/parser/api_delete_method_test.dart -------------------------------------------------------------------------------- /test/src/parser/api_get_method_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/parser/api_get_method_test.dart -------------------------------------------------------------------------------- /test/src/parser/api_post_method_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/parser/api_post_method_test.dart -------------------------------------------------------------------------------- /test/src/parser/api_property_bool_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/parser/api_property_bool_test.dart -------------------------------------------------------------------------------- /test/src/parser/api_property_class_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/parser/api_property_class_test.dart -------------------------------------------------------------------------------- /test/src/parser/api_property_datetime_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/parser/api_property_datetime_test.dart -------------------------------------------------------------------------------- /test/src/parser/api_property_double_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/parser/api_property_double_test.dart -------------------------------------------------------------------------------- /test/src/parser/api_property_enum_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/parser/api_property_enum_test.dart -------------------------------------------------------------------------------- /test/src/parser/api_property_int_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/parser/api_property_int_test.dart -------------------------------------------------------------------------------- /test/src/parser/api_property_list_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/parser/api_property_list_test.dart -------------------------------------------------------------------------------- /test/src/parser/api_property_map_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/parser/api_property_map_test.dart -------------------------------------------------------------------------------- /test/src/parser/api_property_string_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/parser/api_property_string_test.dart -------------------------------------------------------------------------------- /test/src/parser/api_put_method_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/parser/api_put_method_test.dart -------------------------------------------------------------------------------- /test/src/parser/api_resource_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/parser/api_resource_test.dart -------------------------------------------------------------------------------- /test/src/parser/api_schema_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/parser/api_schema_test.dart -------------------------------------------------------------------------------- /test/src/test_api.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/test_api.dart -------------------------------------------------------------------------------- /test/src/test_api/blob_dart_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/test_api/blob_dart_logo.png -------------------------------------------------------------------------------- /test/src/test_api/messages.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/test_api/messages.dart -------------------------------------------------------------------------------- /test/src/test_api/messages2.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/src/test_api/messages2.dart -------------------------------------------------------------------------------- /test/test_util.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-archive/rpc/HEAD/test/test_util.dart --------------------------------------------------------------------------------