You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Then you simply run:
17
17
There are two CLI tools ``Generator`` and ``Converter``. ``Generator`` allows for generating Swagger from YANG modules thus it is similar to original
18
18
https://github.com/bartoszm/yang2swagger CLI generator. However, the pruning mechanism was configured to reduce number of path generated for TAPI modules.
19
19
In addition extra parameters were added.
20
-
``Converter`` can convert _any_ Swagger definition. What it does it flatens hierarchy in the input Swagger.
20
+
``Converter`` can convert _any_ Swagger definition. What it does it flattens hierarchy in the input Swagger.
21
21
22
22
#### Hierarchy flattening ####
23
23
Swagger allows combining and extending model definitions using the ``allOf`` property of JSON Schema, in effect offering model composition. allOf takes in an array of object definitions that are validated independently but together compose a single object.
@@ -110,11 +110,13 @@ You can directly generate swagger with simple hierarch using ``-simplify-hierarc
110
110
#### Usage ####
111
111
You can easily run ```Generator``` from the command-line:
0 commit comments