Paths

class Paths(paths: dict[str, PathItem] = None)

Holds the relative paths to the individual endpoints and their operations. The path is appended to the URL from the Server Object in order to construct the full URL. The Paths Object MAY be empty, due to Access Control List (ACL) constraints.

— NOTE: Due to the nature of this type there are no properties defined, instead, developers accessing this type should prefer indexer syntax, as if it were a dictionary of PathItem types.

get(key: str, default: PathItem = None) PathItem | None

Gets the value for the given key.