-
Notifications
You must be signed in to change notification settings - Fork 0
Compiler: blueprint
Al Beebe edited this page Nov 3, 2015
·
1 revision
platform "Micro Platform Compiler"
company "microplatform.io"
context {
package "compiler"
object "Context"
}
microservice {
description "Compile a Javascript client library"
uri "microservice:///compiler/v1/compile-javascript/client-library"
documentation "All you need to set is the ClientLibrary.blueprint,
ClientLibrary.protobufs, and ClientLibrary.version"
response {
description "Javascript client library was successfully compiled"
uri "resource:///compiler/reply/compiled-client-library"
}
response {
description "Failed to compile the Javascript client library"
uri "resource:///compiler/reply/error"
}
}
microservice {
description "Compile a Swift client library"
uri "microservice:///compiler/v1/compile-swift/client-library"
documentation "All you need to set is the ClientLibrary.blueprint,
ClientLibrary.protobufs, and ClientLibrary.version"
response {
description "Swift client library was successfully compiled"
uri "resource:///compiler/reply/compiled-client-library"
}
response {
description "Failed to compile the Swift client library"
uri "resource:///compiler/reply/error"
}
}
microservice {
description "Decode a protofile file"
uri "microservice:///"
}
microservice {
description "Pretty print a proto file"
uri "microservice:///compiler/pretty-print/proto-file"
documentation "If the proto file isn't a valid proto file an error will be
returned.
In addition to making the file look pretty, each Message and
enum will be ordered alphabetically."
response {
description "Proto file was successfully pretty printed"
uri "resource:///compiler/reply/proto-file"
}
response {
description "Failed to pretty print the protofile"
uri "resource:///compiler/reply/error"
}
}