diff --git a/webapi/src/main/scala/org/knora/webapi/slice/ontology/api/OntologyApiModule.scala b/webapi/src/main/scala/org/knora/webapi/slice/ontology/api/OntologyApiModule.scala index 7d0fc211b8..da58f7dc91 100644 --- a/webapi/src/main/scala/org/knora/webapi/slice/ontology/api/OntologyApiModule.scala +++ b/webapi/src/main/scala/org/knora/webapi/slice/ontology/api/OntologyApiModule.scala @@ -1,3 +1,8 @@ +/* + * Copyright © 2021 - 2025 Swiss National Data and Service Center for the Humanities and/or DaSCH Service Platform contributors. + * SPDX-License-Identifier: Apache-2.0 + */ + package org.knora.webapi.slice.ontology.api import zio.* diff --git a/webapi/src/main/scala/org/knora/webapi/slice/ontology/api/OntologyV2RequestParser.scala b/webapi/src/main/scala/org/knora/webapi/slice/ontology/api/OntologyV2RequestParser.scala index 10d902dd60..a3855770e2 100644 --- a/webapi/src/main/scala/org/knora/webapi/slice/ontology/api/OntologyV2RequestParser.scala +++ b/webapi/src/main/scala/org/knora/webapi/slice/ontology/api/OntologyV2RequestParser.scala @@ -1,3 +1,8 @@ +/* + * Copyright © 2021 - 2025 Swiss National Data and Service Center for the Humanities and/or DaSCH Service Platform contributors. + * SPDX-License-Identifier: Apache-2.0 + */ + package org.knora.webapi.slice.ontology.api import org.apache.jena.vocabulary.RDFS diff --git a/webapi/src/test/scala/org/knora/webapi/slice/ontology/api/OntologyV2RequestParserSpec.scala b/webapi/src/test/scala/org/knora/webapi/slice/ontology/api/OntologyV2RequestParserSpec.scala index c3cbc11bfd..93002f78f9 100644 --- a/webapi/src/test/scala/org/knora/webapi/slice/ontology/api/OntologyV2RequestParserSpec.scala +++ b/webapi/src/test/scala/org/knora/webapi/slice/ontology/api/OntologyV2RequestParserSpec.scala @@ -1,14 +1,20 @@ +/* + * Copyright © 2021 - 2025 Swiss National Data and Service Center for the Humanities and/or DaSCH Service Platform contributors. + * SPDX-License-Identifier: Apache-2.0 + */ + package org.knora.webapi.slice.ontology.api import zio.* import zio.test.* +import zio.test.check import java.time.Instant + import org.knora.webapi.TestDataFactory import org.knora.webapi.messages.StringFormatter import org.knora.webapi.messages.v2.responder.ontologymessages.ChangeOntologyMetadataRequestV2 import org.knora.webapi.slice.common.JsonLdTestUtil.JsonLdTransformations import org.knora.webapi.slice.resourceinfo.domain.IriConverter -import zio.test.check object OntologyV2RequestParserSpec extends ZIOSpecDefault { private val sf = StringFormatter.getInitializedTestInstance