Streamline management of API collections #1

Merged
administrator merged 43 commits from feature/script-autogenerate-http into main 2026-08-19 14:54:42 +02:00
4 changed files with 7 additions and 2 deletions
Showing only changes of commit e036ab9eaa - Show all commits
@@ -3,7 +3,7 @@ import assert from 'node:assert/strict';
import fs from 'node:fs';
import os from 'node:os';
import path from 'node:path';
import { buildRequestContent, getRequestConfigForFile, mergeRequestConfig } from './generate-http-docs.js';
import { buildRequestContent, getRequestConfigForFile, mergeRequestConfig } from './generate-http-requests.js';
test('does not inherit parent auth when a child config has no auth override', () => {
const parentAuth = { type: 'bearer', token: 'parent-token' };
+4 -1
View File
@@ -1,9 +1,12 @@
{
"name": "generate-http-docs",
"name": "generate-http-requests",
"version": "0.0.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "generate-http-requests",
"version": "0.0.1",
"dependencies": {
"strip-json-comments": "^5.0.3",
"yaml": "^2.9.0"
+2
View File
@@ -1,4 +1,6 @@
{
"name": "generate-http-requests",
"version": "0.0.1",
"type": "module",
"dependencies": {
"strip-json-comments": "^5.0.3",