Sonatype · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Sonatype Policy Violation Details API

10 actions 10 updates phrasing extends openapi/sonatype-policy-violation-details-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Sonatype's API. It is a proposal applied on top of the contract, not a document Sonatype publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 10

$.info
$.paths['/api/v2/policyViolations'].get
$.paths['/api/v2/policyViolations/crossStage'].get
$.paths['/api/v2/policyViolations/crossStage/{violationId}'].get
$.paths['/api/v2/policyViolations/transitive/{ownerType}/{ownerId}/stages/{stageId}'].get
$.paths['/api/v2/policyViolations/transitive/{ownerType}/{ownerId}/{scanId}'].get
$.paths['/api/v2/policyViolations/{violationId}/applicableAutoWaiver'].get
$.paths['/api/v2/policyViolations/{violationId}/applicableWaiverRequests'].get
$.paths['/api/v2/policyViolations/{violationId}/applicableWaivers'].get
$.paths['/api/v2/policyViolations/{violationId}/similarWaivers'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Sonatype Policy Violation Details API
  version: 1.0.0
extends: openapi/sonatype-policy-violation-details-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-28'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 9
- target: $.paths['/api/v2/policyViolations'].get
  update:
    x-apievangelist-phrasing:
      intent: List policy violations for a policy
      effect: read
      questions:
      - Which policy violations exist for a given policy?
      - Can I filter policy violations by open date?
      instructions:
      - text: List policy violations for policy {p}.
        slots:
          p: query.p
      - text: Show policy violations for policy {p} opened after {openTimeAfter}.
        slots:
          p: query.p
          openTimeAfter: query.openTimeAfter
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/policyViolations/crossStage'].get
  update:
    x-apievangelist-phrasing:
      intent: Get cross-stage policy violations for a constituent
      effect: read
      questions:
      - How long did it take to fix a policy violation across stages?
      - Can I see cross-stage violations for a constituent id?
      instructions:
      - text: Get cross-stage policy violations for constituent {constituentId}.
        slots:
          constituentId: query.constituentId
      - text: Show the remediation time for constituent {constituentId}.
        slots:
          constituentId: query.constituentId
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/policyViolations/crossStage/{violationId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a cross-stage policy violation
      effect: read
      questions:
      - What is the remediation time for a specific cross-stage violation?
      - Can I look up a cross-stage policy violation by id?
      instructions:
      - text: Get cross-stage policy violation {violationId}.
        slots:
          violationId: path.violationId
      - text: Show remediation time for cross-stage violation {violationId}.
        slots:
          violationId: path.violationId
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/policyViolations/transitive/{ownerType}/{ownerId}/stages/{stageId}'].get
  update:
    x-apievangelist-phrasing:
      intent: List transitive policy violations in a stage
      effect: read
      questions:
      - Which transitive policy violations exist for a component in a stage?
      - Can I filter transitive violations by component coordinates or hash?
      instructions:
      - text: List transitive policy violations for {componentIdentifier} in {ownerType} {ownerId} stage {stageId}.
        slots:
          componentIdentifier: query.componentIdentifier
          ownerType: path.ownerType
          ownerId: path.ownerId
          stageId: path.stageId
      - text: Show transitive violations for component {componentIdentifier} in {ownerType} {ownerId} stage {stageId}.
        slots:
          componentIdentifier: query.componentIdentifier
          ownerType: path.ownerType
          ownerId: path.ownerId
          stageId: path.stageId
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/policyViolations/transitive/{ownerType}/{ownerId}/{scanId}'].get
  update:
    x-apievangelist-phrasing:
      intent: List transitive policy violations in a scan
      effect: read
      questions:
      - Which transitive policy violations were found in a specific scan?
      - Can I look up transitive violations by scan id?
      instructions:
      - text: List transitive policy violations for scan {scanId} in {ownerType} {ownerId}.
        slots:
          scanId: path.scanId
          ownerType: path.ownerType
          ownerId: path.ownerId
      - text: Show transitive violations found in scan {scanId} of {ownerType} {ownerId}.
        slots:
          scanId: path.scanId
          ownerType: path.ownerType
          ownerId: path.ownerId
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/policyViolations/{violationId}/applicableAutoWaiver'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the auto waiver for a violation
      effect: read
      questions:
      - Is there an auto waiver that applies to a policy violation?
      - What auto waiver would cover this violation?
      instructions:
      - text: Get the applicable auto waiver for violation {violationId}.
        slots:
          violationId: path.violationId
      - text: Show the auto waiver covering policy violation {violationId}.
        slots:
          violationId: path.violationId
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/policyViolations/{violationId}/applicableWaiverRequests'].get
  update:
    x-apievangelist-phrasing:
      intent: List waiver requests applicable to a violation
      effect: read
      questions:
      - Which waiver requests match a policy violation?
      - Can I see pending waiver requests for a violation?
      instructions:
      - text: List waiver requests applicable to violation {violationId}.
        slots:
          violationId: path.violationId
      - text: Show pending waiver requests for policy violation {violationId}.
        slots:
          violationId: path.violationId
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/policyViolations/{violationId}/applicableWaivers'].get
  update:
    x-apievangelist-phrasing:
      intent: List waivers applicable to a violation
      effect: read
      questions:
      - Which waivers cover a policy violation?
      - Can I see existing waivers for a violation?
      instructions:
      - text: List waivers applicable to violation {violationId}.
        slots:
          violationId: path.violationId
      - text: Show existing waivers covering policy violation {violationId}.
        slots:
          violationId: path.violationId
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/policyViolations/{violationId}/similarWaivers'].get
  update:
    x-apievangelist-phrasing:
      intent: Find waivers similar to one violation
      effect: read
      questions:
      - Which waivers are similar to a given policy violation?
      - Can I find waivers that match this violation?
      instructions:
      - text: Find waivers similar to violation {violationId}.
        slots:
          violationId: path.violationId
      - text: Show similar waivers for policy violation {violationId}.
        slots:
          violationId: path.violationId
      method: generated
      generated: '2026-11-28'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/sonatype-policy-violation-details-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.