Skip to content

Technical Docs

Julio Cesar edited this page Jan 29, 2026 · 3 revisions

5.1 - APIGenerator (Object)

OntologyToAPI.core.APIGenerator.APIGenerator

Methods

APIGenerator() -> OntologyToAPI.core.APIGenerator.APIGenerator (Constructor)

  • showLogs : bool - Show the serialisation and configuration process when handling the ontologies and generating the API.

load_ontologies() -> None

  • paths : List[str] - Load a list of ontology files in .rdf .owl or .ttl.

serialize_ontologies() -> None

generate_api_routes() -> fastapi.FastAPI

Clone this wiki locally