PURISTA API / @purista/cli / getSubscriptionSchemaFileContent
Function: getSubscriptionSchemaFileContent()
getSubscriptionSchemaFileContent(
input):string
Defined in: content/subscription/getSubscriptionSchemaFileContent.ts:6
Parameters
input
codeWriterOptions?
Partial<Options>
puristaConfig
{ $schema: string; eventBridge: "default" | "amqp" | "nats" | "mqtt" | "dapr"; eventConvention: "camel" | "snake" | "kebab" | "pascal" | "pascalSnake" | "constantCase" | "dotCase" | "pathCase" | "trainCase"; fileConvention: "camel" | "snake" | "kebab" | "pascal" | "pascalSnake"; formatter: "biome" | "none" | "prettier"; linter: "biome" | "eslint" | "none"; runtime: "node" | "bun"; servicePath: string; }
puristaConfig.$schema
string = ...
puristaConfig.eventBridge
"default" | "amqp" | "nats" | "mqtt" | "dapr" = ...
puristaConfig.eventConvention
"camel" | "snake" | "kebab" | "pascal" | "pascalSnake" | "constantCase" | "dotCase" | "pathCase" | "trainCase" = ...
puristaConfig.fileConvention
"camel" | "snake" | "kebab" | "pascal" | "pascalSnake" = ...
puristaConfig.formatter
"biome" | "none" | "prettier" = ...
puristaConfig.linter
"biome" | "eslint" | "none" = ...
puristaConfig.runtime
"node" | "bun" = ...
puristaConfig.servicePath
string = ...
responseEventName?
string
serviceName
string
serviceVersion
string
subscriptionName
string
Returns
string
