@typespec/http-client-java
Version:
TypeSpec library for emitting Java client from the TypeSpec REST protocol binding
48 lines • 1.9 kB
JavaScript
import { UnbrandedSdkEmitterOptions } from "@azure-tools/typespec-client-generator-core";
// typespec-java has another "options.ts" file, with same "export".
// If add/remove "export" here, please also check typespec-java in autorest.java repository.
export const LIB_NAME = "@typespec/http-client-java";
export const EmitterOptionsSchema = {
type: "object",
properties: {
...UnbrandedSdkEmitterOptions.license,
"dev-options": {
type: "object",
description: "Developer options for http-client-java emitter.",
properties: {
"generate-code-model": {
type: "boolean",
description: "Generate intermittent 'code-model.yaml' file in output directory.",
nullable: true,
},
debug: {
type: "boolean",
description: "Enable Java remote debug on port 5005.",
nullable: true,
},
loglevel: {
type: "string",
description: "Log level for Java logging. Default is 'warn'.",
nullable: true,
enum: ["off", "debug", "info", "warn", "error"],
},
"java-temp-dir": {
type: "string",
description: "Temporary working directory for Java code generator.",
nullable: true,
},
profile: {
type: "boolean",
description: "Enable performance profiling.",
nullable: true,
},
},
nullable: true,
additionalProperties: false,
required: [],
},
},
additionalProperties: false,
required: [],
};
//# sourceMappingURL=options.js.map