postman-cs/Postman Onboarding: GCP Spec Discovery

Discover GCP-hosted API specs and expose a spec path for Postman onboarding. Part of the Postman API Onboarding suite.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
modeDiscovery mode: resolve-one selects the single best service for this repository; discover-many exports every exportable candidate.noresolve-one
project-idGoogle Cloud project ID used as the exact discovery and credential preflight scope.yes
locationGoogle Cloud API Gateway location. v1 supports global.noglobal
api-idOptional full API Gateway config, Cloud Endpoints config, Apigee proxy revision, Apigee archive deployment, API Hub spec, legacy Apigee Registry spec, Apigee portal apidoc, Vertex extension, Dialogflow tool, or CES tool/toolset resource name. Use this to bypass broader project discovery.no""
repo-slugRepository slug (owner/name) used for repository-association matching against postman-repo resource labels. Defaults to the CI-detected repository (GITHUB_REPOSITORY).no""
expected-service-nameOptional expected service name used as a ranking hint and as the reported service name when resolution stays manual-review.no""
expected-api-ids-jsonOptional JSON array of full resource names that this repository expects to own; exact matches rank highest during resolution.no[]
service-mapping-jsonOptional JSON object mapping resource names to service names, used to name exported specs for label-incapable providers.no{}
output-dirDirectory under the repository root where generated specs are written.nodiscovered-specs
postman-api-keyOptional service-account PMAK used to mint or re-mint a postman-access-token for telemetry enrichment (account_type). Not used for any GCP or Postman asset operation.no""
postman-access-tokenOptional Postman service-account access token, used only to enrich anonymous telemetry with the session account_type. When omitted, postman-api-key alone can mint one for the same purpose. Not used for any GCP or Postman asset operation.no""
namedescription
resolution-jsonJSON resolution result describing status, source type, confidence, and evidence.
resolution-statusResolution status: resolved or unresolved.
source-typeResolved source type: repo-spec, api-gateway-config, cloud-endpoints-config, apigee-proxy, apigee-archive-deployment, api-hub-spec, api-hub-boosted-spec, api-hub-gateway-openapi-spec, apigee-registry-spec, app-integration-trigger, connectors-custom-spec, apigee-portal-doc, vertex-extension-manifest, dialogflow-tool-schema, ces-tool-schema, ces-toolset-schema, iac-embedded, manual-review, or discover-many.
mapping-confidenceNumeric confidence score for the selected service candidate.
spec-pathPath to the resolved or generated specification when available.
spec-files-jsonOptional JSON inventory of the authoritative multi-file definition set (schemaVersion 1). Empty for single-file, unresolved, and discover-many results.
api-idFull resource name of the exported cloud source (API Gateway config, Cloud Endpoints config, Apigee proxy revision, Apigee archive deployment, API Hub spec, legacy Apigee Registry spec, Apigee portal apidoc, Vertex extension, Dialogflow tool, or CES tool/toolset); empty for repo, generated, or IaC-local resolutions.
service-nameResolved service name.
services-jsondiscover-many output: JSON array of exported services.
service-countdiscover-many output: number of exported services.
export-summary-jsonJSON summary of attempted, exported, failed, and skipped candidates.
candidates-jsonRanked ambiguous candidates as JSON when resolution is unresolved with at least two candidates; empty otherwise.
provider-typeProvider that produced the resolved spec: api-gateway, cloud-endpoints, apigee, api-hub, apigee-registry, app-integration, connectors-custom, apigee-portal, vertex-extensions, dialogflow-tools, ces-toolsets, or iac-local.
spec-formatFormat of the resolved spec: openapi-yaml, openapi-json, asyncapi-yaml, asyncapi-json, graphql-sdl, graphql-introspection-json, protobuf, wsdl, or mcp-json.
contract-originCompatibility output; always empty in v1.
contract-metadata-pathCompatibility output; always empty in v1.
variant-countCompatibility output; always empty in v1.
derived-openapi-pathPath to the derived OpenAPI 3.x document when the source was not already OpenAPI 3.x.
derived-openapi-versionOpenAPI version of the derived document: 3.0.3 or 3.1.0.
derived-openapi-completenessWhether the derived OpenAPI document is full or partial.
derived-openapi-formatSerialization format of the derived OpenAPI document: openapi-json.
derived-openapi-evidence-jsonJSON array of evidence strings describing how the derived OpenAPI document was produced.
narrowing-strategyNarrowing tier that produced the candidate ordering: iac-fingerprint, project-correlation, label-prefilter, naming-heuristic, or none.