Skip to content

Commit 704da6b

Browse files
committed
move cli
1 parent f75ff8e commit 704da6b

File tree

8 files changed

+14
-17
lines changed

8 files changed

+14
-17
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Copyright (c) 2025 Airbyte, Inc., all rights reserved.
2-
"""The `airbyte-cdk.cli.manifest_server` module provides a standalone CLI for the Airbyte CDK Manifest Server.
2+
"""The `airbyte_cdk.manifest_server.cli` module provides a standalone CLI for the Airbyte CDK Manifest Server.
33
44
This CLI enables running a FastAPI server for managing and executing Airbyte declarative manifests.
55
"""
File renamed without changes.
File renamed without changes.

airbyte_cdk/manifest_server/openapi.yaml

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,26 @@ paths:
2121
description: Successful Response
2222
content:
2323
application/json:
24-
schema: {}
24+
schema:
25+
additionalProperties:
26+
type: string
27+
type: object
28+
title: Response Health Health Get
2529
/capabilities/:
2630
get:
2731
tags:
2832
- capabilities
2933
summary: Get Capabilities
30-
description: "Get the capabilities available for the manifest server service.\n\
31-
\nReturns:\n Dict containing the service capabilities including custom\
32-
\ code execution support."
34+
description: "Get the capabilities available for the manifest server.\n\nReturns:\n\
35+
\ Dict containing the service capabilities including custom code execution\
36+
\ support."
3337
operationId: getCapabilities
3438
responses:
3539
'200':
3640
description: Successful Response
3741
content:
3842
application/json:
3943
schema:
40-
additionalProperties: true
4144
type: object
4245
title: Response Getcapabilities
4346
/v1/manifest/test_read:
@@ -204,7 +207,6 @@ components:
204207
type: string
205208
title: Name
206209
json_schema:
207-
additionalProperties: true
208210
type: object
209211
title: Json Schema
210212
supported_sync_modes:
@@ -367,8 +369,7 @@ components:
367369
title: Url
368370
headers:
369371
anyOf:
370-
- additionalProperties: true
371-
type: object
372+
- type: object
372373
- type: 'null'
373374
title: Headers
374375
http_method:
@@ -398,8 +399,7 @@ components:
398399
title: Body
399400
headers:
400401
anyOf:
401-
- additionalProperties: true
402-
type: object
402+
- type: object
403403
- type: 'null'
404404
title: Headers
405405
type: object
@@ -478,8 +478,7 @@ components:
478478
title: Auxiliary Requests
479479
inferred_schema:
480480
anyOf:
481-
- additionalProperties: true
482-
type: object
481+
- type: object
483482
- type: 'null'
484483
title: Inferred Schema
485484
inferred_datetime_formats:
@@ -491,8 +490,7 @@ components:
491490
title: Inferred Datetime Formats
492491
latest_config_update:
493492
anyOf:
494-
- additionalProperties: true
495-
type: object
493+
- type: object
496494
- type: 'null'
497495
title: Latest Config Update
498496
type: object
@@ -540,7 +538,6 @@ components:
540538
state:
541539
anyOf:
542540
- items:
543-
additionalProperties: true
544541
type: object
545542
type: array
546543
- type: 'null'

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ manifest-server = ["fastapi", "uvicorn"]
130130

131131
airbyte-cdk = "airbyte_cdk.cli.airbyte_cdk:cli"
132132
source-declarative-manifest = "airbyte_cdk.cli.source_declarative_manifest:run"
133-
manifest-server = "airbyte_cdk.cli.manifest_server._run:run"
133+
manifest-server = "airbyte_cdk.manifest_server.cli.run:run"
134134

135135
# Ruff configuration moved to ruff.toml
136136

0 commit comments

Comments
 (0)