Skip to content

Commit

Permalink
Move BaseSemanticVersion to top level schema (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
aman1309 authored Apr 5, 2024
1 parent e71be1c commit 88460ac
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
namespace com.linkedin.metadata.aspect

record BaseSemanticVersion {
/**
* The major version of this version. This is the x in x.y.z.
*/
major: int

/**
* The minor version of this version. This is the y in x.y.z
*/
minor: int

/**
* The patch version of this version. This is the z in x.y.z
*/
patch: int
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,5 @@ record BaseVersionedAspect {
/**
* The version of the metadata aspect
*/
baseSemanticVersion: optional record BaseSemanticVersion {
/**
* The major version of this version. This is the x in x.y.z.
*/
major: int

/**
* The minor version of this version. This is the y in x.y.z
*/
minor: int

/**
* The patch version of this version. This is the z in x.y.z
*/
patch: int
}
baseSemanticVersion: optional BaseSemanticVersion
}

0 comments on commit 88460ac

Please sign in to comment.