@azure-tools/typespec-java
Version:
TypeSpec library for emitting Java client from the TypeSpec REST protocol binding
20 lines • 1.15 kB
JavaScript
export var SchemaContext;
(function (SchemaContext) {
/** Schema is used as an input to an operation. */
SchemaContext["Input"] = "input";
/** Schema is used as an output from an operation. */
SchemaContext["Output"] = "output";
/** Schema is used as an exception from an operation. */
SchemaContext["Exception"] = "exception";
/** Schema is used from the operation for generating convenience API. And it is public */
SchemaContext["Public"] = "public";
/** Schema is used for internal API, or dev purpose. Not exposed to user. */
SchemaContext["Internal"] = "internal";
/** Schema is used from the pageable operation. This usage does not propagate. */
SchemaContext["Paged"] = "paged";
/** Schema as spread/flatten model. "Public", if present in usage, will have precedence over "PublicSpread". This usage does not propagate. Instead, it propagate "Public". */
SchemaContext["PublicSpread"] = "spread";
/** Schema is used in json-merge-patch operation */
SchemaContext["JsonMergePatch"] = "json-merge-patch";
})(SchemaContext || (SchemaContext = {}));
//# sourceMappingURL=usage.js.map