(apologies if this is a dupe, I thought I had submitted it but can't find it, so perhaps not)
We're currently looking at using TMF641. We're using standard tools (swagger-code-gen @ https://github.com/swagger-api/swagger-codegen) to convert the Swagger spec. for 641 to some POJO Java model objects. FWIW, we're using V.18.5, also referenced as version 4.0.0 in the swagger file itself, not sure which version is the 'correct' reference.
Now, the trouble is that the value of the "Characteristic" is of type "Any". I see from Open APIs that it can be "any json object". The trouble is, the swagger spec has no value for an "Any". Now, the thread mentions that a provider should set a @type / @schemaLocation for this object, but that doesn't help with the code generated from the swagger spec. Is the intent that a provider would take the swagger spec and customise it for their use case? Or is there a way to set/get a value from an "Any" using the generated code that I'm missing?
Thanks in advance for any advice you can offer!
------------------------------
Greg Thomas
------------------------------