[repo] Licence: CPAL-1.0 (LICENSE from the Domi template, every header and identifier; 0.2.0 and earlier stay MPL-2.0)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
// SPDX-License-Identifier: CPAL-1.0
|
||||
// Copyright (c) 2026 Marek Novák. Part of Ianitor, under the Common Public Attribution
|
||||
// License 1.0: see LICENSE (its Exhibit A is this file's notice).
|
||||
|
||||
//! The handlers, each annotated for the OpenAPI document.
|
||||
|
||||
@@ -1375,7 +1375,7 @@ impl Modify for Bearer {
|
||||
description = "REST + JSON on loopback. Every call needs `Authorization: Bearer <API token>`. \
|
||||
Errors are `{error: {code, message, field, params, retry_after_s, detail}, errors: [...], request_id}`. \
|
||||
Every JSON object answer carries `server_time`. See docs/api.md and docs/ui-api.md.",
|
||||
license(name = "MPL-2.0")
|
||||
license(name = "CPAL-1.0", identifier = "CPAL-1.0")
|
||||
),
|
||||
paths(
|
||||
overview, list_hosts, get_host, validate_host, create_host, update_host, patch_host, delete_host,
|
||||
|
||||
Reference in New Issue
Block a user