-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to access jsondoc-ui.html #211
Comments
I am facing the same issue. |
Did you try going to just http://localhost:8080/jsondoc-ui.html ? |
no luck as i mentioned in maven properties
json file is generated , through browser can access jsondoc endpoint but cant acccess jsondoc-ui.html |
I am also facing the same issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
facing issue to access jsondoc-ui.html but can access json from url
localhost:8080/hello/json
and can also generate json file . Using Spring-MVC put js,css,jsondoc-ui.html files and added dependency of jsondoc-ui too with the same version of mvc and core for jsondoc. 1.2.16
{
"version": "1.1",
"basePath": "http://localhost:8080/SpringRestfulWebServicesCRUDExample",
"apis": {
"": [{
"jsondocId": "c72694cb-1db3-4313-b456-cb0766b0a133",
"name": "CountryController",
"description": "Methods for managing cities",
"visibility": "UNDEFINED",
"stage": "UNDEFINED",
"group": "",
"methods": [{
"jsondocerrors": ["Missing documentation data: path"],
"jsondocwarnings": ["Missing documentation data: produces"],
"jsondochints": ["Add description to ApiMethod"],
"jsondocId": "529add3d-aed1-4b5e-88a1-1b3b5fe88e50",
"path": ["Missing documentation data: path"],
"method": "getCountries",
"verb": ["GET"],
"produces": [],
"consumes": [],
"headers": [],
"pathparameters": [],
"queryparameters": [],
"bodyobject": null,
"response": {
"jsondocId": "7b426b0d-a716-445a-a226-dc0428d24099",
"jsondocType": {
"type": ["list", "country"],
"mapKey": null,
"mapValue": null,
"oneLineText": "list of country"
}
},
"responsestatuscode": "200 - OK",
"visibility": "UNDEFINED",
"stage": "UNDEFINED",
"id": "getCountries()",
"description": "",
"summary": "Gets a list of books",
"apierrors": [],
"supportedversions": null,
"auth": null,
"displayMethodAs": "URI",
"displayedMethodString": ["Missing documentation data: path"]
}],
"supportedversions": null,
"auth": null
}]
},
"objects": {
"": [{
"jsondocerrors": [],
"jsondocwarnings": [],
"jsondochints": [],
"jsondocId": "b76dcf66-e281-46ca-824d-f3686f16e167",
"name": "country",
"description": "",
"fields": [{
"jsondocerrors": [],
"jsondocwarnings": [],
"jsondochints": [],
"jsondocId": "b10934f7-e2e2-44e9-bfb9-f3728a4f8078",
"jsondocType": {
"type": ["string"],
"mapKey": null,
"mapValue": null,
"oneLineText": "string"
},
"name": "countryName",
"description": "The name of the country",
"format": [],
"allowedvalues": [],
"required": "false",
"supportedversions": null,
"order": 2147483647,
"displayedFormat": ""
}, {
"jsondocerrors": [],
"jsondocwarnings": [],
"jsondochints": [],
"jsondocId": "c4da98a1-c94d-42c3-9e2b-440655cf9c22",
"jsondocType": {
"type": ["int"],
"mapKey": null,
"mapValue": null,
"oneLineText": "int"
},
"name": "id",
"description": "The name of the country",
"format": [],
"allowedvalues": [],
"required": "false",
"supportedversions": null,
"order": 2147483647,
"displayedFormat": ""
}, {
"jsondocerrors": [],
"jsondocwarnings": [],
"jsondochints": [],
"jsondocId": "1dbe465e-1497-4c54-a430-fcb50b37275b",
"jsondocType": {
"type": ["long"],
"mapKey": null,
"mapValue": null,
"oneLineText": "long"
},
"name": "population",
"description": "The name of the country",
"format": [],
"allowedvalues": [],
"required": "false",
"supportedversions": null,
"order": 2147483647,
"displayedFormat": ""
}],
"supportedversions": null,
"allowedvalues": [],
"group": "",
"visibility": "UNDEFINED",
"stage": "UNDEFINED",
"jsondocTemplate": {
"countryName": "",
"id": 0,
"population": 0
},
"show": true
}]
},
"flows": {},
"global": null,
"playgroundEnabled": true,
"displayMethodAs": "URI"
}
The text was updated successfully, but these errors were encountered: