Skip to content

Commit 961f35a

Browse files
committed
chore(licensing): added correct code attribution for the denco middleware
Signed-off-by: Frédéric BIDON <fredbi@yahoo.com>
1 parent be38b46 commit 961f35a

File tree

9 files changed

+62
-0
lines changed

9 files changed

+62
-0
lines changed

NOTICE

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
Copyright 2015-2025 go-swagger maintainers
2+
3+
// SPDX-FileCopyrightText: Copyright 2015-2025 go-swagger maintainers
4+
// SPDX-License-Identifier: Apache-2.0
5+
6+
This software library, github.com/go-openapi/jsonpointer, includes software developed
7+
by the go-swagger and go-openapi maintainers ("go-swagger maintainers").
8+
9+
Licensed under the Apache License, Version 2.0 (the "License");
10+
you may not use this software except in compliance with the License.
11+
12+
You may obtain a copy of the License at
13+
14+
http://www.apache.org/licenses/LICENSE-2.0.
15+
16+
This software is copied from, derived from, and inspired by other original software products.
17+
It ships with copies of other software which license terms are recalled below.
18+
19+
The original software was authored in 2014 by Naoya Inada <naoina@kuune.org>
20+
21+
https://github.com/naoina/denco
22+
===========================
23+
24+
// SPDX-FileCopyrightText: Copyright (c) 2014 Naoya Inada <naoina@kuune.org>
25+
// SPDX-License-Identifier: MIT
26+
27+
Copyright (c) 2014 Naoya Inada <naoina@kuune.org>
28+
29+
Permission is hereby granted, free of charge, to any person obtaining a copy
30+
of this software and associated documentation files (the "Software"), to deal
31+
in the Software without restriction, including without limitation the rights
32+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
33+
copies of the Software, and to permit persons to whom the Software is
34+
furnished to do so, subject to the following conditions:
35+
36+
The above copyright notice and this permission notice shall be included in
37+
all copies or substantial portions of the Software.
38+
39+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
40+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
41+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
42+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
43+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
44+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
45+
THE SOFTWARE.

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,6 @@ Moving forward, we want to :
4141
## Licensing
4242

4343
This library ships under the [SPDX-License-Identifier: Apache-2.0](./LICENSE).
44+
45+
See the license [NOTICE](./NOTICE), which recalls the licensing terms of all the pieces of software
46+
on top of which it has been built.

middleware/denco/router.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// SPDX-FileCopyrightText: Copyright 2015-2025 go-swagger maintainers
22
// SPDX-License-Identifier: Apache-2.0
3+
// SPDX-FileCopyrightText: Copyright (c) 2014 Naoya Inada <naoina@kuune.org>
4+
// SPDX-License-Identifier: MIT
35

46
// Package denco provides fast URL router.
57
package denco

middleware/denco/router_bench_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// SPDX-FileCopyrightText: Copyright 2015-2025 go-swagger maintainers
22
// SPDX-License-Identifier: Apache-2.0
3+
// SPDX-FileCopyrightText: Copyright (c) 2014 Naoya Inada <naoina@kuune.org>
4+
// SPDX-License-Identifier: MIT
35

46
package denco_test
57

middleware/denco/router_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// SPDX-FileCopyrightText: Copyright 2015-2025 go-swagger maintainers
22
// SPDX-License-Identifier: Apache-2.0
3+
// SPDX-FileCopyrightText: Copyright (c) 2014 Naoya Inada <naoina@kuune.org>
4+
// SPDX-License-Identifier: MIT
35

46
package denco_test
57

middleware/denco/server.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// SPDX-FileCopyrightText: Copyright 2015-2025 go-swagger maintainers
22
// SPDX-License-Identifier: Apache-2.0
3+
// SPDX-FileCopyrightText: Copyright (c) 2014 Naoya Inada <naoina@kuune.org>
4+
// SPDX-License-Identifier: MIT
35

46
package denco
57

middleware/denco/server_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// SPDX-FileCopyrightText: Copyright 2015-2025 go-swagger maintainers
22
// SPDX-License-Identifier: Apache-2.0
3+
// SPDX-FileCopyrightText: Copyright (c) 2014 Naoya Inada <naoina@kuune.org>
4+
// SPDX-License-Identifier: MIT
35

46
package denco_test
57

middleware/denco/util.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// SPDX-FileCopyrightText: Copyright 2015-2025 go-swagger maintainers
22
// SPDX-License-Identifier: Apache-2.0
3+
// SPDX-FileCopyrightText: Copyright (c) 2014 Naoya Inada <naoina@kuune.org>
4+
// SPDX-License-Identifier: MIT
35

46
package denco
57

middleware/denco/util_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// SPDX-FileCopyrightText: Copyright 2015-2025 go-swagger maintainers
22
// SPDX-License-Identifier: Apache-2.0
3+
// SPDX-FileCopyrightText: Copyright (c) 2014 Naoya Inada <naoina@kuune.org>
4+
// SPDX-License-Identifier: MIT
35

46
package denco_test
57

0 commit comments

Comments
 (0)