Skip to content

fake-api-server.ci.surveillance.model.config

All the models about PyFake-API-Server-Surveillance configuration.

SurveillanceConfig(api_doc_url, fake_api_server, git_info, github_info, accept_config_not_exist) dataclass

Bases: _BaseModel

Represents the configuration for the surveillance system.

This class encapsulates various configuration settings required for the surveillance system, including API documentation URL, fake API server details, Git repository information, and GitHub integration details. An optional configuration flag is also provided to accept the absence of the configuration settings.

ATTRIBUTE DESCRIPTION
api_doc_url

The URL to the API documentation.

TYPE: str

fake_api_server

Configuration settings for the fake API server.

TYPE: FakeAPIConfigSetting

git_info

Information about the Git repository configuration.

TYPE: GitInfo

github_info

Details about GitHub integration configuration.

TYPE: GitHubInfo

accept_config_not_exist

Determines whether to proceed even if the configuration does not exist.

TYPE: bool