Skip to content

Commit b9e4943

Browse files
authored
Include v2 logs endpoint in public OpenAPI spec (#171)
Remove /v2/sandboxes/{sandboxID}/logs from excluded_exact list so it appears in the generated documentation.
1 parent c0a60da commit b9e4943

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/generate_openapi_reference.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1156,7 +1156,7 @@ def filter_paths(spec: dict[str, Any]) -> None:
11561156
"""
11571157
# Remove excluded paths
11581158
excluded_prefixes = ("/access-tokens", "/api-keys", "/volumes")
1159-
excluded_exact = {"/v2/sandboxes/{sandboxID}/logs", "/init"}
1159+
excluded_exact = {"/init"}
11601160
to_remove = [
11611161
p for p in spec["paths"]
11621162
if p.startswith(excluded_prefixes) or p in excluded_exact

0 commit comments

Comments
 (0)