ai refactor

- add missing headers and body with relative content-type
- fix double quotes for empty variables (not needed by VSCode REST client)
- strip comments from JSON data
This commit is contained in:
2026-06-30 12:24:10 +02:00
parent ba01e76c75
commit 2727ec67e3
3 changed files with 108 additions and 65 deletions
+14 -1
View File
@@ -1,13 +1,26 @@
{
"name": "scripts",
"name": "generate-http-docs",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"dependencies": {
"strip-json-comments": "^5.0.3",
"yaml": "^2.9.0"
}
},
"node_modules/strip-json-comments": {
"version": "5.0.3",
"resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-5.0.3.tgz",
"integrity": "sha512-1tB5mhVo7U+ETBKNf92xT4hrQa3pm0MZ0PQvuDnWgAAGHDsfp4lPSpiS6psrSiet87wyGPh9ft6wmhOMQ0hDiw==",
"license": "MIT",
"engines": {
"node": ">=14.16"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/yaml": {
"version": "2.9.0",
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.9.0.tgz",