juju schema doesn't contain docs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Low
|
Simon Richardson |
Bug Description
The current js libjuju contains full documentation[0] for the Juju API. This was possible because the old schema contained a segment[1] for the documentation. It would be great if we could add that back in so that we can retain this documentation going forward. As I understand it, it's the only source of documentation for the Juju API.
ex)
"Name": "Action",
"Version": 2,
"Doc": "ActionAPI implements the client API for interacting with Actions\n",
"Methods": [
{
"Name": "Actions",
"Doc": "Actions takes a list of ActionTags, and returns the full Action for\neach ID.\n",
"Param": {
"Name": "github.
},
"Result": {
"Name": "github.
}
},
[0] https:/
[1] https:/
Changed in juju: | |
status: | New → Won't Fix |
Changed in juju: | |
status: | In Progress → Fix Committed |
milestone: | none → 2.8.1 |
Changed in juju: | |
status: | Fix Committed → Fix Released |
So I noticed this was broken sometime ago. I did spend a very short bit of time attempting to replicate it in juju/juju directly, so that you always had the latest documentation against the code itself. It's not finished and any updates will be gratefully appreciated and if somebody wants to update it with the latest Canonical branding, then I would be over the moon with that.
The documentation for how you view it is here https:/ /discourse. juju.is/ t/schemadocs/ 1945