Skip to content

Commit f925051

Browse files
fix: add missing license header
Signed-off-by: Fredrik Nordlander <fredrik.nordlander@digg.se>
1 parent 4ae4e32 commit f925051

File tree

6 files changed

+22
-1
lines changed

6 files changed

+22
-1
lines changed

src/util/RapLPIssueHelpers.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2025 Digg - Agency for Digital Government
2+
//
3+
// SPDX-License-Identifier: EUPL-1.2
4+
15
import type * as SpectralCore from '@stoplight/spectral-core';
26

37
/**

src/util/RapLPSpecParseError.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2025 Digg - Agency for Digital Government
2+
//
3+
// SPDX-License-Identifier: EUPL-1.2
14

25
/**
36
* Specialized error class that contains YAML/JSON parse information

src/util/prettifyOpenAPIErrors.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2025 Digg - Agency for Digital Government
2+
//
3+
// SPDX-License-Identifier: EUPL-1.2
4+
15
/**
26
*
37
* @param ptr

tests/unit/integration/validateRunner.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
// tests/unit/integration/validateRunner.mjs
1+
// SPDX-FileCopyrightText: 2025 Digg - Agency for Digital Government
2+
//
3+
// SPDX-License-Identifier: EUPL-1.2
4+
25
import path from 'path';
36

47
async function main() {

tests/unit/issueHelper.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2025 Digg - Agency for Digital Government
2+
//
3+
// SPDX-License-Identifier: EUPL-1.2
4+
15
import { Issue, sortIssues,consolidateIssues } from '../../src/util/RapLPIssueHelpers.js';
26
import { spectralDiagnosticsToIssuesSimple } from '../../src/util/RapLPIssueHelpers.js';
37
import type * as SpectralCore from '@stoplight/spectral-core';

tests/unit/parseApiSpecInput.integration.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2025 Digg - Agency for Digital Government
2+
//
3+
// SPDX-License-Identifier: EUPL-1.2
14

25
import { execFile } from 'child_process';
36
import { promisify } from 'util';

0 commit comments

Comments
 (0)