summaryrefslogtreecommitdiffstats
path: root/examples/bin_api/af_packet.api.json
diff options
context:
space:
mode:
authorOndrej Fabry <ofabry@cisco.com>2018-12-13 10:21:49 +0100
committerOndrej Fabry <ofabry@cisco.com>2018-12-13 10:21:49 +0100
commit868b541e296dc47748ad03b8f0174c828d996529 (patch)
treea43650ea7d9c96434d536e557177b38c5f84bd34 /examples/bin_api/af_packet.api.json
parent1768c495416997c7a6769c6a92b33b37c89eed25 (diff)
Add support for aliases and boolean type
- aliases are now generated as new types or arrays (if length > 0) - bool is recognized as a boolean type and generated as Go bool - comment with original JSON is now prepended for each object type - interface Services is now generated at the top of the file to provide overview of what RPC services does the current module consists of - dump services now correctly return slice of the particular details type Change-Id: I788babc1c0f2de33e0febd87e5b200d54065b244 Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Diffstat (limited to 'examples/bin_api/af_packet.api.json')
-rw-r--r--examples/bin_api/af_packet.api.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/bin_api/af_packet.api.json b/examples/bin_api/af_packet.api.json
index d28c5bb..0d57e38 100644
--- a/examples/bin_api/af_packet.api.json
+++ b/examples/bin_api/af_packet.api.json
@@ -199,5 +199,6 @@
}
},
"enums": [],
- "types": []
+ "types": [],
+ "aliases": {}
}