joelittlejohn / jsonschema2pojo

Generate Java types from JSON or JSON Schema and annotate those types for data-binding with Jackson, Gson, etc
http://www.jsonschema2pojo.org
Apache License 2.0
6.22k stars 1.66k forks source link

When I click preview in website [https://www.jsonschema2pojo.org/], it doesn't work. #1624

Closed whoooami closed 6 days ago

whoooami commented 1 month ago

Uncaught TypeError: $(...).tooltip is not a function at HTMLDocument. ((index):1003:36) at k (jquery.min.js:2:16934) at Object.fireWith [as resolveWith] (jquery.min.js:2:17721) at Function.ready (jquery.min.js:2:12438) at HTMLDocument.D (jquery.min.js:2:9843)

unkish commented 1 month ago

Tried out with "defaults", worked fine. Could it have been smht. temporary ?

joelittlejohn commented 1 month ago

The only way I can imagine this might happen is if the browser or network has some kind of corporate policy that is stopping the Javascript on the page from working properly.

whoooami commented 1 week ago

Thanks, Boss. It turns out my network that can't load some scripts correctly. Sorry.

unkish commented 1 week ago

Provided schema

{
    "sign": "0ee4246d6112a21e39304c7b1463fb11",
    "content": {
        "senderLat": "41.794102",
        "senderLng": "123.370956"
    }
}

Does not seem to be a JSON Schema, thus sourcetype=jsonschema should be replaced with correct value sourcetype=json

whoooami commented 6 days ago

Provided schema

{
    "sign": "0ee4246d6112a21e39304c7b1463fb11",
    "content": {
        "senderLat": "41.794102",
        "senderLng": "123.370956"
    }
}

Does not seem to be a JSON Schema, thus sourcetype=jsonschema should be replaced with correct value sourcetype=json

Great, Thanks boss.