Reference

oastodcat.oas_dataservice

A simple class representing an openAPI specification.

When initialized, the specification is parsed and one or more instances of dcat:DataService is added to the list dataservices.

specification

an openAPI spec as a dict

Type

dict

dataservices

a list of dataservices created

Type

List[DataService]

endpointdescription

The url of the openAPI specification

Type

str

identifier

the identifier template, should contain {id}

Type

str

oastodcat.OASDataService.conforms_to

Get/set for conforms_to.

Return type

List[str]

oastodcat.OASDataService.dataservices

Get for dataservices.

Return type

List[DataService]

oastodcat.OASDataService.endpointdescription

Get/set for endpointdescription.

Return type

str

oastodcat.OASDataService.identifier

Get/set for identifier.

Return type

str

oastodcat.OASDataService.publisher

Get/set for publisher.

Return type

str

oastodcat.OASDataService.specification

Get/set for specification.

Return type

dict