added api message options 12/31612/7
authorVladimir Lavor <vlavor@cisco.com>
Thu, 11 Mar 2021 09:13:17 +0000 (10:13 +0100)
committerVladimir Lavor <vlavor@cisco.com>
Thu, 22 Apr 2021 09:32:58 +0000 (11:32 +0200)
commita6607d9c1ba37320984c13580c932076cbff6dd6
treea8a7dba6b40114788c1295197c1b4bd8010f22c0
parentd0b973030fe07dc7875da72f5ebe42d8bd9544b1
added api message options

In case the API message contains option of type deprecated
or in-progress, the information is displayed in the generated
code in a form of additional comment:

// InProgress: <info>
// Deprecated: <info>

In case the <info> is not provided, a generic message is shown.
Possible future use to automatically search whether such
messages are in use.

Change-Id: Icf87cc9a2fe6bf31f7555320255c9f0736add6e1
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
binapigen/generate.go
binapigen/vppapi/api_schema.go
binapigen/vppapi/parse_json.go