summaryrefslogtreecommitdiffstats
path: root/src/vpp-api
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpp-api')
-rw-r--r--src/vpp-api/vapi/vapi.h1
-rw-r--r--src/vpp-api/vapi/vapi_json_parser.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/vpp-api/vapi/vapi.h b/src/vpp-api/vapi/vapi.h
index 2a401c21189..08d016b0dd7 100644
--- a/src/vpp-api/vapi/vapi.h
+++ b/src/vpp-api/vapi/vapi.h
@@ -21,6 +21,7 @@
#include <string.h>
#include <stdbool.h>
#include <vppinfra/types.h>
+#include <vlibapi/api_types.h>
#include <vapi/vapi_common.h>
#include <svm/queue.h>
diff --git a/src/vpp-api/vapi/vapi_json_parser.py b/src/vpp-api/vapi/vapi_json_parser.py
index 3eb5d3616e1..2c08b90a93b 100644
--- a/src/vpp-api/vapi/vapi_json_parser.py
+++ b/src/vpp-api/vapi/vapi_json_parser.py
@@ -302,6 +302,7 @@ class JsonParser(object):
]
}
+ self.types['string'] = simple_type_class('vl_api_string_t')
self.replies = set()
self.events = set()
self.simple_type_class = simple_type_class