From 73690755fcd143892d7c851052269fc0d98e3ef0 Mon Sep 17 00:00:00 2001 From: MUzairS15 Date: Sat, 22 Jun 2024 20:55:06 +0530 Subject: [PATCH] order props Signed-off-by: MUzairS15 --- models/patterns/patterns.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/models/patterns/patterns.go b/models/patterns/patterns.go index c36a6abd1b..72135c2229 100644 --- a/models/patterns/patterns.go +++ b/models/patterns/patterns.go @@ -80,15 +80,16 @@ type Service struct { type PatternFile struct { // Name Name of the design Name string `json:"name"` - + + // Version Version of the design + Version string `json:"version,omitempty"` + // SchemaVersion Specifies the version of the schema to which the design conforms. SchemaVersion string `json:"schemaVersion,omitempty"` // Services Map of component IDs/names to their corresponding component declarations Services map[string]*Service `json:"services"` - // Version Version of the design - Version string `json:"version,omitempty"` } // MesheryPattern defines model for mesheryPattern.