--- Begin Message ---
It is useful for external groups that would like to utilize the
jsonschema that outlines the pve api to have the schema in a raw json
format. Although we can parse the apidata.js and remove the offending
characters it is error prone & bad practice. This provides a much nicer
experience to allow the use of the raw json.

This adds a new buildartifact that was previously a static file
apidata.js and creates a new staticfile apidata.json which is what is
utilized to create apidata.js at build time (make/apidata.js).

Dean Galvin (1):
  fix #4456: move apidata into seperate json file

 Makefile                |    19 +-
 api-viewer/apidata.js   | 49787 --------------------------------------
 api-viewer/apidata.json | 49786 +++++++++++++++++++++++++++++++++++++
 extractapi.pl           |     2 +-
 4 files changed, 49799 insertions(+), 49795 deletions(-)
 delete mode 100644 api-viewer/apidata.js
 create mode 100644 api-viewer/apidata.json

-- 
2.39.0



--- End Message ---
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to