Skip to content

Commit

Permalink
Use unique grouping names
Browse files Browse the repository at this point in the history
Use unique grouping name in test to ensure YANG model
is valid according to:
https://datatracker.ietf.org/doc/html/rfc7950#section-6.2.1

Signed-off-by: Ivan Hrasko <[email protected]>
  • Loading branch information
ihrasko committed Jul 29, 2022
1 parent 2ace0f9 commit fbff0d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions swagger-generator/src/test/resources/with-groupings.yang
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module with-groupings {
description "Final";
}

grouping g1 {
grouping g0 {
leaf idx {
type int32;
}
Expand Down Expand Up @@ -48,7 +48,7 @@ module with-groupings {
}

container grouping-root {
grouping g3 {
grouping g1 {
leaf g1-l2 {
type string;
}
Expand Down

0 comments on commit fbff0d1

Please sign in to comment.