42 lines
898 B
Python
42 lines
898 B
Python
# retoor <retoor@molodetz.nl>
|
|
|
|
from ._shared import (
|
|
BOOKMARK_TARGETS,
|
|
COMMENT_TARGETS,
|
|
GIST_LANGUAGES,
|
|
NON_BODY_ENDPOINTS,
|
|
PROJECT_TYPES,
|
|
REACTION_TARGETS,
|
|
ROLE_LABELS,
|
|
SERVICE_ACTIONS,
|
|
VOTE_TARGETS,
|
|
endpoint,
|
|
field,
|
|
)
|
|
from .groups import ORDERED_GROUPS as API_GROUPS
|
|
from .negotiation import _apply_negotiated_responses
|
|
from .services_group import build_services_group
|
|
from .render import api_doc_pages, get_group, render_group, _substitute
|
|
|
|
_apply_negotiated_responses(API_GROUPS)
|
|
|
|
__all__ = [
|
|
"API_GROUPS",
|
|
"build_services_group",
|
|
"get_group",
|
|
"api_doc_pages",
|
|
"render_group",
|
|
"_substitute",
|
|
"endpoint",
|
|
"field",
|
|
"ROLE_LABELS",
|
|
"NON_BODY_ENDPOINTS",
|
|
"VOTE_TARGETS",
|
|
"REACTION_TARGETS",
|
|
"BOOKMARK_TARGETS",
|
|
"COMMENT_TARGETS",
|
|
"PROJECT_TYPES",
|
|
"GIST_LANGUAGES",
|
|
"SERVICE_ACTIONS",
|
|
]
|