Skip to content

Commit

Permalink
refactor: Split CreateResourcesV2Handler from ResourcesResponderV2 (D… (
Browse files Browse the repository at this point in the history
  • Loading branch information
siers authored Mar 18, 2024
1 parent 4186b5f commit 24b691a
Show file tree
Hide file tree
Showing 4 changed files with 1,057 additions and 906 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,11 @@ sealed trait SmartIri extends Ordered[SmartIri] with KnoraContentV2[SmartIri] {
*/
override def toOntologySchema(targetSchema: OntologySchema): SmartIri

/**
* Converts this IRI to ApiV2Complex schema.
*/
def toComplexSchema: SmartIri = toOntologySchema(ApiV2Complex)

/**
* Constructs a short prefix label for the ontology that the IRI belongs to.
*/
Expand Down
Loading

0 comments on commit 24b691a

Please sign in to comment.