-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.yaml
More file actions
59 lines (56 loc) · 1.67 KB
/
plugin.yaml
File metadata and controls
59 lines (56 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: "@kalo-build/plugin-morphe-go-struct"
displayName: "Morphe Go Struct"
description: "Generates Go struct definitions from Morphe model definitions. Creates models, entities, enums, and structures."
version: "1.0.0"
input:
format: "KA:MO1:YAML1"
description: "Morphe YAML schema files"
suggestedStore:
name: "KA_MO_YAML"
type: "localFileSystem"
path: "./morphe"
output:
format: "KA:MO1:GO1"
description: "Go struct definition files"
suggestedStore:
name: "KA_MO_GO"
type: "localFileSystem"
path: "./types"
configSchema:
fieldCasing:
type: string
description: "Field casing for JSON struct tags. Applies to models, structures, and entities. Valid values: camel, snake, pascal, or empty (no JSON tags)."
enum: ["camel", "snake", "pascal", ""]
default: ""
models:
type: object
description: "Model generation configuration"
properties:
PackagePath:
type: string
required: true
description: "Go package path for generated model files"
enums:
type: object
description: "Enum generation configuration"
properties:
PackagePath:
type: string
required: true
description: "Go package path for generated enum files"
structures:
type: object
description: "Structure generation configuration"
properties:
PackagePath:
type: string
required: true
description: "Go package path for generated structure files"
entities:
type: object
description: "Entity generation configuration"
properties:
PackagePath:
type: string
required: true
description: "Go package path for generated entity files"