postman-cs/Postman Onboarding: Azure Spec Discovery

Discover Azure-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; discover-estate enumerates repo-associated Azure resources across the selected subscription scope(s) without exporting specs.noresolve-one
subscription-idOptional Azure subscription ID used as the discovery enumeration root. When omitted, the single enabled subscription visible to the credential is used; multiple enabled subscriptions require this input or subscription-ids-json.no""
subscription-ids-jsonOptional JSON array of Azure subscription IDs for explicit multi-subscription discovery. Conflicts with subscription-id unless both identify exactly the same one ID. Empty keeps single-enabled-subscription behavior. Never auto-enumerates all visible subscriptions.no""
resource-groupOptional resource group that scopes discovery to one group instead of the whole subscription.no""
api-idOptional full APIM API ARM resource ID for this service. Use this to bypass broader subscription discovery. Supports historical revisions via ;rev=N.no""
environmentOptional deployment environment selector used to disambiguate APIs that share a repository association across environments.no""
gateway-idOptional self-hosted or workspace gateway id used to narrow APIM API candidates. The value "managed" is rejected.no""
api-versionOptional APIM API version selector used when multiple versions share the same path or repository association.no""
api-revisionOptional APIM API revision selector used when multiple revisions remain after other evidence.no""
api-center-definition-idOptional full Azure API Center definition ARM resource ID. Exact match only; conflicts with a different .postman apiCenterDefinitionId binding.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 Azure 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 Azure or Postman asset operation.no""
enable-logic-apps-list-swaggerOpt-in Consumption Logic Apps native listSwagger POST. Default false. When denied or capability-absent, falls back to Reader-only Request-trigger synthesis unless require-logic-apps-native-swagger is true.nofalse
require-logic-apps-native-swaggerWhen true with enable-logic-apps-list-swagger, a permanent malformed native listSwagger response fails instead of silently synthesizing. Default false.nofalse
enable-app-service-scm-spec-fetchOpt-in retrieval of App Service aiIntegration.ApiSpecPath bytes through the site SCM/VFS endpoint. Default false. Metadata is still surfaced when the path is present.nofalse
enable-functions-openapi-extensionOpt-in detection/export of Azure Functions OpenAPI extension endpoints evidenced by function metadata or an explicit declared path. Default false. Never lists host/function keys.nofalse
enable-runtime-declared-spec-routesOpt-in provider for explicitly declared HTTPS specification URLs on App Service, Functions, Container Apps, Static Web Apps, ACI, and AKS workloads. Default false. No blind common-path probing.nofalse
runtime-declared-spec-targets-jsonRequested subset of runtime-declared HTTPS specification targets when enable-runtime-declared-spec-routes is true. Each entry requires id, name, workloadKind, and https url. Caller JSON alone is rejected; every target must match a committed .postman/repository binding or authorized ARM association evidence.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, apim-export, api-center-export, app-service-api-definition, iac-embedded, custom-api-swagger, logic-apps-workflow, template-spec-embedded, event-grid-webhook, service-bus-topic, function-bindings-trigger, runtime-declared-spec, manual-review, discover-many, or discover-estate.
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 an authoritative multi-file definition set (schemaVersion 1: root, format, completeness, provenance, sorted files with path/role/bytes/sha256). Empty for single-file, unresolved, or incomplete/partial source sets. Never embeds file content.
api-idFull APIM API ARM resource ID or API Center definition ARM resource ID when those providers resolve; empty for App Service 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: apim, api-center, app-service, iac-local, custom-apis, logic-apps, template-specs, event-grid, service-bus, function-bindings, or runtime-declared.
spec-formatFormat of the resolved spec: openapi-yaml, openapi-json, asyncapi-yaml, asyncapi-json, wsdl, wadl, xsd, protobuf, graphql-sdl, 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: gateway-host-path, tag-prefilter, gateway-assignment, iac-fingerprint, rg-correlation, naming-heuristic, or none.
repos-jsondiscover-estate output: JSON array of deduped org/repo associations discovered from repo tags across the selected subscription scope(s); empty otherwise.
repo-countdiscover-estate output: number of deduped org/repo associations; empty otherwise.