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
Doesn't work all the time. I do in my Java courses but the problem is the postcode, like
"postcode": 11633,
for a German address. It will be inferred to a integer type, but other countries use strings. If the generator is always printings strings it would be fine again ...
using the jsonschema2pojo i mentioned before, change the 11633 into "11633" it should work no? Or just change it from an integer to a string in the code it generates, then make sure you use a specific version of the API and you don't have to worry about it changing underneath you?
in NZ they are numbers only too, so I have to make sure they're strings in my code, especially as there are leading 0s.
... so ppl can use this JSON Schema to generate proper access classes e.g. in Java.
The text was updated successfully, but these errors were encountered: