apiome import
Global options such as --base-url, --tenant and --json go before the command — see CLI reference. Exit codes are listed in Exit codes.
apiome import
Import OpenAPI, Swagger, Arazzo, JSON Schema, and JSON Schema type documents into Apiome. Any other registered format (see import --list) is importable as import <format> <input>.
apiome import [OPTIONS] COMMAND [ARGS]...
Subcommands: a2a, acp, agents-manifest, arazzo, auto, avro, git, json-schema, json-schema-type, odata, openapi, openrpc, preflight, swagger, wsdl.
Options
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
--list | flag | List the registered import sources (formats) and exit. |
apiome import a2a
Import an A2A (Agent2Agent) Agent Card from a file, URL, stdin, or a live agent (MFI-18.1).
Exactly one of INPUT, --file, --url or --discover names the card. With --discover the card URL is resolved from the agent's well-known URI first; the card is then imported through the registered a2a adapter like any other source.
apiome import a2a [OPTIONS] [INPUT]
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
SOURCE | text | Agent Card path, http/https URL, or - for stdin. |
Options
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
--file | text | Local document path to import (alternative to the INPUT argument). | ||
--url | text | http/https document URL to import (alternative to the INPUT argument). | ||
--discover | text | Agent origin (for example https://agent.example.com) whose card is fetched from /.well-known/agent-card.json, falling back to /.well-known/agent.json. | ||
--dry-run | flag | Validate and preview the import without persisting changes. | ||
--import-timeout | float range | Max seconds to wait for an async import job to finish, and the per-request HTTP timeout used while waiting (default 120). Increase for large specs that take longer than the default to import. Overrides the global --timeout for this import. | ||
--wait / --no-wait | flag | --wait | Poll async imports until complete (default: wait). | |
--poll-interval | float range | 1.0 | Seconds between import job-status polls when waiting. | |
--min-grade | text | Fail when the lint grade is worse than this (A best, F worst). Exits 4 when the threshold is missed. | ||
--fail-on | text | Fail when the lint report has any finding at or above this severity (error, warning, info). Exits 4 when the threshold is missed. |
apiome import acp
Import ACP (Agent Communication Protocol) agents from a file, URL, stdin, or a live server.
Exactly one of INPUT, --file, --url or --discover names the document. With --discover the server's /agents listing URL is derived from its base URL and imported through the registered acp adapter like any other source (MFI-18.2).
apiome import acp [OPTIONS] [INPUT]
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
SOURCE | text | ACP agent manifest or GET /agents listing: path, http/https URL, or -. |
Options
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
--file | text | Local document path to import (alternative to the INPUT argument). | ||
--url | text | http/https document URL to import (alternative to the INPUT argument). | ||
--discover | text | ACP server base URL (for example https://acp.example.com) whose /agents listing is imported; a …/agents/<name> URL imports one agent. | ||
--dry-run | flag | Validate and preview the import without persisting changes. | ||
--import-timeout | float range | Max seconds to wait for an async import job to finish, and the per-request HTTP timeout used while waiting (default 120). Increase for large specs that take longer than the default to import. Overrides the global --timeout for this import. | ||
--wait / --no-wait | flag | --wait | Poll async imports until complete (default: wait). | |
--poll-interval | float range | 1.0 | Seconds between import job-status polls when waiting. | |
--min-grade | text | Fail when the lint grade is worse than this (A best, F worst). Exits 4 when the threshold is missed. | ||
--fail-on | text | Fail when the lint report has any finding at or above this severity (error, warning, info). Exits 4 when the threshold is missed. |
apiome import agents-manifest
Import a site's agentic-web manifest from a file, URL, stdin, or the live site.
Exactly one of INPUT, --file, --url or --discover names the document. With --discover the site's well-known manifest paths are tried in order and the first one that serves a manifest is imported through the registered agents-manifest adapter (MFI-18.3). The catalog item lists the A2A, ACP and MCP descriptors the manifest points at as discovery seeds; import each with apiome import a2a --discover / apiome import acp --discover.
apiome import agents-manifest [OPTIONS] [INPUT]
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
SOURCE | text | Site manifest — agents.json, agent.json, agents.txt or llms.txt: path, http/https URL, or -. |
Options
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
--file | text | Local document path to import (alternative to the INPUT argument). | ||
--url | text | http/https document URL to import (alternative to the INPUT argument). | ||
--discover | text | Site URL (for example https://example.com) whose manifest is found at /agents.json, /.well-known/agent.json, /agents.txt or /llms.txt, tried in that order. | ||
--dry-run | flag | Validate and preview the import without persisting changes. | ||
--import-timeout | float range | Max seconds to wait for an async import job to finish, and the per-request HTTP timeout used while waiting (default 120). Increase for large specs that take longer than the default to import. Overrides the global --timeout for this import. | ||
--wait / --no-wait | flag | --wait | Poll async imports until complete (default: wait). | |
--poll-interval | float range | 1.0 | Seconds between import job-status polls when waiting. | |
--min-grade | text | Fail when the lint grade is worse than this (A best, F worst). Exits 4 when the threshold is missed. | ||
--fail-on | text | Fail when the lint report has any finding at or above this severity (error, warning, info). Exits 4 when the threshold is missed. |
apiome import arazzo
Import an Arazzo 1.0.x or 1.1.x workflow from a file, URL, stdin, archive, or directory.
apiome import arazzo [OPTIONS] PATH
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
PATH | text | yes | Arazzo document path (.json, .yaml, .yml), http/https URL, or - for stdin. A .zip/.tar.gz archive or a directory imports the workflow together with the OpenAPI/AsyncAPI files its sourceDescriptions name (COA-1.2). |
Options
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
--root | text | Workflow document inside a .zip/.tar.gz archive or a directory, when the server cannot tell it from the API files it calls (COA-1.2). | ||
--dry-run | flag | Validate and plan the import without persisting changes. | ||
--project-name | text | Override project name derived from the configured project-name field. | ||
--project-name-field | text | Dot path or JSON Pointer for the field used as the project name (for example info.summary or #/info/summary). Stored as info.x-apiome-project-name-field when omitted from the document. | ||
--version | text | Override version string derived from info.version. | ||
--project-id | uuid | Update an existing project instead of creating from info. | ||
--project-slug | text | Override project slug derived from info.title (DB slug rules). | ||
--version-id | uuid | Attach workflows to this existing project version. | ||
--version-slug | text | Override version slug derived from info.version (DB slug rules). | ||
--publish | text | Publish the imported project version immediately as public or private (tenant-protected). Omit to leave the version as draft. | ||
--visibility | text | Alias for --publish (accepts public or private). | ||
--wait / --no-wait | flag | --wait | Poll async imports until complete (default: wait). | |
--poll-interval | float range | 1.0 | Seconds between GET /imports/{job_id} polls when waiting. |
apiome import auto
Detect document format from headers and run the matching import.
apiome import auto [OPTIONS] PATH
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
PATH | text | yes | Document path (.json, .yaml, .yml), http/https URL, or - for stdin. |
Options
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
--dry-run | flag | Validate and plan the import without persisting changes. | ||
--project-name | text | Override project name derived from the configured project-name field (OpenAPI/Arazzo). | ||
--project-name-field | text | Dot path or JSON Pointer for the field used as the project name (for example info.summary or #/info/summary). Stored as info.x-apiome-project-name-field when omitted from the document. (OpenAPI/Arazzo). | ||
--version | text | Override version string derived from info.version (OpenAPI/Arazzo). | ||
--project-id | uuid | Target or link project for the import. | ||
--project-slug | text | Override project slug derived from info.title (OpenAPI/Arazzo). | ||
--version-slug | text | Override version slug derived from info.version (OpenAPI/Arazzo). | ||
--version-id | uuid | Attach Arazzo workflows or JSON Schema to this project version. | ||
--publish | text | Publish the imported project version immediately as public or private (tenant-protected). Omit to leave the version as draft. (OpenAPI/Arazzo). | ||
--visibility | text | Alias for --publish (accepts public or private). (OpenAPI/Arazzo). | ||
--as | property | properties | schema | JSON Schema import target: property, properties, or schema (default: auto-detect). | ||
--name | text | Property, schema, or type name override. | ||
--description | text | Description stored on the imported JSON Schema artifact. | ||
--link-project-property | flag | Create a project_properties row when --project-id is set. | ||
--wait / --no-wait | flag | --wait | Poll async OpenAPI/Arazzo imports until complete (default: wait). | |
--poll-interval | float range | 1.0 | Seconds between GET /imports/{job_id} polls when waiting. | |
--force | flag | With --publish, bypass publish gates (e.g. classes missing required descriptions, breaking changes) so the version still publishes. (OpenAPI/Arazzo). | ||
--allow-breaking | flag | With --publish, publish even when the version has breaking changes versus the last published one (sends allowBreaking=true). Unlike --force, every other publish check still applies. (OpenAPI/Swagger). | ||
--import-timeout | float range | Max seconds to wait for an async import job to finish, and the per-request HTTP timeout used while waiting (default 120). Increase for large specs that take longer than the default to import. Overrides the global --timeout for this import. | ||
--min-grade | text | Fail when the lint grade is worse than this (A best, F worst). Exits 4 when the threshold is missed. | ||
--fail-on | text | Fail when the lint report has any finding at or above this severity (error, warning, info). Exits 4 when the threshold is missed. | ||
--bulk | flag | Import every independent spec in an archive or directory (MFI-29.5): auto-detect each one, group the files that compile together, and start one import per spec. PATH must be a .zip/.tar.gz archive or a directory. | ||
--override | text (repeatable) | Override where one item goes, as KEY=SPEC (repeatable). SPEC is 'new' (create a project), 'existing' (append to the item's matched project), 'existing:PROJECT_ID' (append to that project), and may end in '@VERSION' to name the version created. '@VERSION' alone keeps the plan's choice and only sets the label. Items with no override apply the plan as reviewed. (--bulk only) |
apiome import avro
Import an Avro schema from a file, URL, stdin, archive, or a Confluent schema registry.
Exactly one of INPUT, --file, --url or --registry names the document. With --registry the schema is read from the registry's raw-schema route (…/subjects/<subject>/versions/<version>/schema or …/schemas/ids/<id>/schema) and imported through the registered avro adapter like any other source (MFI-12.6). The subject is --subject, or is named from --topic / --record by --strategy.
apiome import avro [OPTIONS] [INPUT]
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
SOURCE | text | Avro schema (.avsc) or Avro IDL (.avdl): path, http/https URL, or -. |
Options
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
--file | text | Local document path to import (alternative to the INPUT argument). | ||
--url | text | http/https document URL to import (alternative to the INPUT argument). | ||
--registry | text | Confluent-compatible schema registry base URL (for example https://registry.example.com:8081) to read the schema from; name it with --subject, --topic / --record, or --schema-id. | ||
--subject | text | Registry subject to import, for example orders-value. | ||
--topic | text | Kafka topic whose subject to import, named by --strategy (<topic>-value by default). | ||
--strategy | text | Subject naming strategy: topic (<topic>-value, the default), record (<record>) or topic_record (<topic>-<record>). | ||
--record | text | Record full name (com.example.Order) for the record and topic_record strategies. | ||
--key | flag | Import the topic's key schema (<topic>-key). | ||
--version | text | Subject version: latest (the default) or a number. | ||
--schema-id | integer | Global schema id to import instead of a subject version. | ||
--root | text | Root document path inside a .zip/.tar.gz archive or a directory (MFI-29.1). | ||
--dry-run | flag | Validate and preview the import without persisting changes. | ||
--import-timeout | float range | Max seconds to wait for an async import job to finish, and the per-request HTTP timeout used while waiting (default 120). Increase for large specs that take longer than the default to import. Overrides the global --timeout for this import. | ||
--wait / --no-wait | flag | --wait | Poll async imports until complete (default: wait). | |
--poll-interval | float range | 1.0 | Seconds between import job-status polls when waiting. | |
--min-grade | text | Fail when the lint grade is worse than this (A best, F worst). Exits 4 when the threshold is missed. | ||
--fail-on | text | Fail when the lint report has any finding at or above this severity (error, warning, info). Exits 4 when the threshold is missed. |
apiome import git
Import a repository path or glob at a ref (MFI-29.3).
The server reads the selection at an immutable commit and packs it as the same multi-file payload an archive upload produces, so the import runs the normal pipeline — pre-flight gate included — and the created revision records which repository, ref, and commit it came from.
apiome import git [OPTIONS] REPO_URL
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
REPO_URL | text | yes | Repository URL, for example https://github.com/owner/repo. |
Options
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
--ref | text | Branch, tag, or commit sha (default: the repository's default branch). | ||
--path | text | Path or glob selecting what to import — a directory (protos/), an exact file, or a glob (**/*.proto). Default: the whole tree. | ||
--root | text | Root document inside the selection, when auto-detection is ambiguous. | ||
--format | text | Importer format key (default: the format detected for the root document). | ||
--repository-id | text | Registered repository whose stored credential authorizes a private read. | ||
--linked-account-id | text | Your linked account whose stored credential authorizes a private read. | ||
--dry-run | flag | Validate and preview the import without persisting changes. | ||
--import-timeout | float range | Max seconds to wait for an async import job to finish, and the per-request HTTP timeout used while waiting (default 120). Increase for large specs that take longer than the default to import. Overrides the global --timeout for this import. | ||
--wait / --no-wait | flag | --wait | Poll the import until complete (default: wait). | |
--poll-interval | float range | 1.0 | Seconds between import job-status polls when waiting. | |
--min-grade | text | Fail when the lint grade is worse than this (A best, F worst). Exits 4 when the threshold is missed. | ||
--fail-on | text | Fail when the lint report has any finding at or above this severity (error, warning, info). Exits 4 when the threshold is missed. |
apiome import json-schema
Import a JSON Schema 2020-12 document from a file, URL, or stdin.
apiome import json-schema [OPTIONS] PATH
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
PATH | text | yes | JSON Schema path (.json, .yaml, .yml), http/https URL, or - for stdin. |
Options
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
--as | property | properties | schema | Import as property, properties (all $defs entries), or schema (default: auto-detect). | ||
--name | text | Property or schema name when not inferred from the file. | ||
--description | text | Description stored on the property or schema. | ||
--project-id | uuid | Link the import to this project (project_properties when requested). | ||
--version-id | uuid | Link a schema import to this project version. | ||
--link-project-property | flag | Create a project_properties row when --project-id is set. | ||
--dry-run | flag | Validate and plan the import without persisting changes. |
apiome import json-schema-type
Import system-wide JSON Schema type definitions from a file, URL, or stdin.
apiome import json-schema-type [OPTIONS] PATH
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
PATH | text | yes | JSON Schema type library path (.json, .yaml, .yml), http/https URL, or - for stdin. |
Options
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
--dry-run | flag | Validate and plan the import without persisting changes. | ||
--name | text | Override inferred type name (single-type imports only). | ||
--description | text | Override description stored on the type (single-type imports only). | ||
--publish | text | Publish imported types to the system-wide library as public, or import private to the caller's tenant only. Omit to default to tenant scope. | ||
--visibility | text | Alias for --publish (accepts public or private). |
apiome import odata
Import OData service metadata from a file, URL, stdin, archive, or a live service.
Exactly one of INPUT, --file, --url or --discover names the document. With --discover the service's $metadata URL is derived from its root and imported through the registered odata adapter like any other source (MFI-11.3).
apiome import odata [OPTIONS] [INPUT]
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
SOURCE | text | OData metadata (CSDL XML / EDMX or CSDL JSON): path, http/https URL, or -. |
Options
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
--file | text | Local document path to import (alternative to the INPUT argument). | ||
--url | text | http/https document URL to import (alternative to the INPUT argument). | ||
--discover | text | OData service root (for example https://host/odata/trippin/) whose $metadata is imported; a …/$metadata URL works too, and a query string (sap-client=100) is kept. | ||
--root | text | Root document path inside a .zip/.tar.gz archive or a directory (MFI-29.1). | ||
--dry-run | flag | Validate and preview the import without persisting changes. | ||
--import-timeout | float range | Max seconds to wait for an async import job to finish, and the per-request HTTP timeout used while waiting (default 120). Increase for large specs that take longer than the default to import. Overrides the global --timeout for this import. | ||
--wait / --no-wait | flag | --wait | Poll async imports until complete (default: wait). | |
--poll-interval | float range | 1.0 | Seconds between import job-status polls when waiting. | |
--min-grade | text | Fail when the lint grade is worse than this (A best, F worst). Exits 4 when the threshold is missed. | ||
--fail-on | text | Fail when the lint report has any finding at or above this severity (error, warning, info). Exits 4 when the threshold is missed. |
apiome import openapi
Import an OpenAPI document from a file, URL, or stdin.
apiome import openapi [OPTIONS] PATH
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
PATH | text | yes | OpenAPI document path (.json, .yaml, .yml), http/https URL, or - for stdin. |
Options
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
--dry-run | flag | Validate and plan the import without persisting changes. | ||
--project-name | text | Override project name derived from the configured project-name field. | ||
--project-name-field | text | Dot path or JSON Pointer for the field used as the project name (for example info.summary or #/info/summary). Stored as info.x-apiome-project-name-field when omitted from the document. | ||
--version | text | Override version string derived from info.version. | ||
--project-id | uuid | Update an existing project instead of creating from info. | ||
--project-slug | text | Override project slug derived from info.title (DB slug rules). | ||
--version-slug | text | Override version slug derived from info.version (DB slug rules). | ||
--publish | text | Publish the imported project version immediately as public or private (tenant-protected). Omit to leave the version as draft. | ||
--visibility | text | Alias for --publish (accepts public or private). | ||
--wait / --no-wait | flag | --wait | Poll async imports until complete (default: wait). | |
--poll-interval | float range | 1.0 | Seconds between GET /imports/{job_id} polls when waiting. | |
--force | flag | With --publish, bypass publish gates (e.g. classes missing required descriptions, breaking changes) so the version still publishes. | ||
--allow-breaking | flag | With --publish, publish even when the version has breaking changes versus the last published one (sends allowBreaking=true). Unlike --force, every other publish check still applies. | ||
--import-timeout | float range | Max seconds to wait for an async import job to finish, and the per-request HTTP timeout used while waiting (default 120). Increase for large specs that take longer than the default to import. Overrides the global --timeout for this import. | ||
--min-grade | text | Fail when the lint grade is worse than this (A best, F worst). Exits 4 when the threshold is missed. | ||
--fail-on | text | Fail when the lint report has any finding at or above this severity (error, warning, info). Exits 4 when the threshold is missed. |
apiome import openrpc
Import an OpenRPC document from a file, URL, stdin, archive, or a live JSON-RPC service.
Exactly one of INPUT, --file, --url or --discover names the document. With --discover the CLI calls the endpoint's rpc.discover method and imports the document it returns through the registered openrpc adapter like any other source (MFI-19.1).
apiome import openrpc [OPTIONS] [INPUT]
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
SOURCE | text | OpenRPC document: path, http/https URL, -, or an archive. |
Options
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
--file | text | Local document path to import (alternative to the INPUT argument). | ||
--url | text | http/https document URL to import (alternative to the INPUT argument). | ||
--discover | text | JSON-RPC 2.0 endpoint (for example https://rpc.example.com/) whose OpenRPC document is read by calling its rpc.discover method. | ||
--root | text | Root document path inside a .zip/.tar.gz archive or a directory (MFI-29.1). | ||
--dry-run | flag | Validate and preview the import without persisting changes. | ||
--import-timeout | float range | Max seconds to wait for an async import job to finish, and the per-request HTTP timeout used while waiting (default 120). Increase for large specs that take longer than the default to import. Overrides the global --timeout for this import. | ||
--wait / --no-wait | flag | --wait | Poll async imports until complete (default: wait). | |
--poll-interval | float range | 1.0 | Seconds between import job-status polls when waiting. | |
--min-grade | text | Fail when the lint grade is worse than this (A best, F worst). Exits 4 when the threshold is missed. | ||
--fail-on | text | Fail when the lint report has any finding at or above this severity (error, warning, info). Exits 4 when the threshold is missed. |
apiome import preflight
Score a candidate document before importing it — lint grade, ranked findings, and the tenant quality-policy verdict. Nothing is persisted and no import job is created. Gate exit codes: 3 = tenant quality policy blocked, 4 = --min-grade/--fail-on threshold missed, 5 = nothing gradable (candidate unimportable / no usable target). These are distinct from transport (1) and usage/auth (2) failures.
apiome import preflight [OPTIONS] [INPUT]
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
SOURCE | text | Document path, http/https URL, or '-' for stdin. |
Options
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
--file | text | Local document path to import (alternative to the INPUT argument). | ||
--url | text | http/https document URL to import (alternative to the INPUT argument). | ||
--format | text | Registry key of the adapter to score against (source_kind). Omit to auto-detect; the detection verdict is reported either way. | ||
--root | text | Root document path inside a .zip/.tar.gz archive (MFI-29.1). | ||
--target | text | Destination a commit would request: catalog, types, or project. Consulted only for JSON Schema, exactly as on the import job. | ||
--min-grade | text | Fail when the lint grade is worse than this (A best, F worst). Exits 4 when the threshold is missed. | ||
--fail-on | text | Fail when the lint report has any finding at or above this severity (error, warning, info). Exits 4 when the threshold is missed. |
apiome import swagger
Import a Swagger 2.0 document from a file, URL, or stdin.
apiome import swagger [OPTIONS] PATH
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
PATH | text | yes | Swagger 2.0 document path (.json, .yaml, .yml), http/https URL, or - for stdin. |
Options
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
--dry-run | flag | Validate and plan the import without persisting changes. | ||
--project-name | text | Override project name derived from the configured project-name field. | ||
--project-name-field | text | Dot path or JSON Pointer for the field used as the project name (for example info.summary or #/info/summary). Stored as info.x-apiome-project-name-field when omitted from the document. | ||
--version | text | Override version string derived from info.version. | ||
--project-id | uuid | Update an existing project instead of creating from info. | ||
--project-slug | text | Override project slug derived from info.title (DB slug rules). | ||
--version-slug | text | Override version slug derived from info.version (DB slug rules). | ||
--publish | text | Publish the imported project version immediately as public or private (tenant-protected). Omit to leave the version as draft. | ||
--visibility | text | Alias for --publish (accepts public or private). | ||
--wait / --no-wait | flag | --wait | Poll async imports until complete (default: wait). | |
--poll-interval | float range | 1.0 | Seconds between GET /imports/{job_id} polls when waiting. | |
--force | flag | With --publish, bypass publish gates (e.g. classes missing required descriptions, breaking changes) so the version still publishes. | ||
--allow-breaking | flag | With --publish, publish even when the version has breaking changes versus the last published one (sends allowBreaking=true). Unlike --force, every other publish check still applies. | ||
--import-timeout | float range | Max seconds to wait for an async import job to finish, and the per-request HTTP timeout used while waiting (default 120). Increase for large specs that take longer than the default to import. Overrides the global --timeout for this import. | ||
--min-grade | text | Fail when the lint grade is worse than this (A best, F worst). Exits 4 when the threshold is missed. | ||
--fail-on | text | Fail when the lint report has any finding at or above this severity (error, warning, info). Exits 4 when the threshold is missed. |
apiome import wsdl
Import a SOAP service's WSDL from a file, URL, stdin, archive, or a live service.
Exactly one of INPUT, --file, --url or --discover names the document. With --discover the service's ?singleWsdl (else ?wsdl) URL is found and imported through the registered wsdl adapter like any other source (MFI-13.3).
apiome import wsdl [OPTIONS] [INPUT]
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
SOURCE | text | WSDL 1.1 / 2.0 document: path, http/https URL, -, or an archive. |
Options
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
--file | text | Local document path to import (alternative to the INPUT argument). | ||
--url | text | http/https document URL to import (alternative to the INPUT argument). | ||
--discover | text | SOAP service endpoint (for example https://host/Calculator.svc) whose WSDL is imported: ?singleWsdl (every import inlined) when the service offers it, else ?wsdl. | ||
--root | text | Root document path inside a .zip/.tar.gz archive or a directory (MFI-29.1). | ||
--dry-run | flag | Validate and preview the import without persisting changes. | ||
--import-timeout | float range | Max seconds to wait for an async import job to finish, and the per-request HTTP timeout used while waiting (default 120). Increase for large specs that take longer than the default to import. Overrides the global --timeout for this import. | ||
--wait / --no-wait | flag | --wait | Poll async imports until complete (default: wait). | |
--poll-interval | float range | 1.0 | Seconds between import job-status polls when waiting. | |
--min-grade | text | Fail when the lint grade is worse than this (A best, F worst). Exits 4 when the threshold is missed. | ||
--fail-on | text | Fail when the lint report has any finding at or above this severity (error, warning, info). Exits 4 when the threshold is missed. |