Sonatype · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Sonatype Policy Waivers API

11 actions 11 updates phrasing extends openapi/sonatype-policy-waivers-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 11

$.info
$.paths['/api/v2/policyWaivers/transitive/{ownerType}/{ownerId}/stages/{stageId}'].post
$.paths['/api/v2/policyWaivers/transitive/{ownerType}/{ownerId}/{scanId}'].get
$.paths['/api/v2/policyWaivers/transitive/{ownerType}/{ownerId}/{scanId}'].post
$.paths['/api/v2/policyWaivers/waiverRequests/{policyViolationId}'].post
$.paths['/api/v2/policyWaivers/{ownerType}/{ownerId}'].get
$.paths['/api/v2/policyWaivers/{ownerType}/{ownerId}'].post
$.paths['/api/v2/policyWaivers/{ownerType}/{ownerId}/{policyViolationId}'].post
$.paths['/api/v2/policyWaivers/{ownerType}/{ownerId}/{policyWaiverId}'].get
$.paths['/api/v2/policyWaivers/{ownerType}/{ownerId}/{policyWaiverId}'].put
$.paths['/api/v2/policyWaivers/{ownerType}/{ownerId}/{policyWaiverId}'].delete

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 Waivers API
  version: 1.0.0
extends: openapi/sonatype-policy-waivers-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: 10
- target: $.paths['/api/v2/policyWaivers/transitive/{ownerType}/{ownerId}/stages/{stageId}'].post
  update:
    x-apievangelist-phrasing:
      intent: Waive transitive policy violations at a stage
      effect: write
      questions:
      - Can I waive all transitive policy violations for a component at a specific stage?
      - Is it possible to expire a stage-level transitive waiver when remediation becomes available?
      instructions:
      - text: Waive transitive policy violations for {component} at stage {stage} in {ownerType} {ownerId}.
        slots:
          component: query.componentIdentifier
          stage: path.stageId
          ownerType: path.ownerType
          ownerId: path.ownerId
      - text: Create a stage-level transitive waiver for {component} in {ownerType} {ownerId} expiring at {expiryTime}.
        slots:
          component: query.componentIdentifier
          ownerType: path.ownerType
          ownerId: path.ownerId
          expiryTime: requestBody.expiryTime
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/policyWaivers/transitive/{ownerType}/{ownerId}/{scanId}'].get
  update:
    x-apievangelist-phrasing:
      intent: List transitive waivers for a scan component
      effect: read
      questions:
      - Which transitive policy waivers exist for a component in a specific scan?
      - Can I look up transitive waivers by package URL or hash for one scan?
      instructions:
      - text: List transitive waivers for {component} in scan {scanId} of {ownerType} {ownerId}.
        slots:
          component: query.componentIdentifier
          scanId: path.scanId
          ownerType: path.ownerType
          ownerId: path.ownerId
      - text: Show transitive waivers for {component} in scan {scanId} of {ownerType} {ownerId}.
        slots:
          component: query.packageUrl
          scanId: path.scanId
          ownerType: path.ownerType
          ownerId: path.ownerId
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/policyWaivers/transitive/{ownerType}/{ownerId}/{scanId}'].post
  update:
    x-apievangelist-phrasing:
      intent: Waive transitive violations for a scan component
      effect: write
      questions:
      - Can I waive transitive policy violations detected in a specific scan?
      - Is it possible to waive transitive violations for a component by its hash?
      instructions:
      - text: Waive transitive violations for {component} in scan {scanId} of {ownerType} {ownerId}.
        slots:
          component: query.componentIdentifier
          scanId: path.scanId
          ownerType: path.ownerType
          ownerId: path.ownerId
      - text: Create a transitive waiver for {component} in scan {scanId} of {ownerType} {ownerId} with reason {reason}.
        slots:
          component: query.packageUrl
          scanId: path.scanId
          ownerType: path.ownerType
          ownerId: path.ownerId
          reason: requestBody.waiverReasonId
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/policyWaivers/waiverRequests/{policyViolationId}'].post
  update:
    x-apievangelist-phrasing:
      intent: Request a policy waiver (deprecated)
      effect: write
      questions:
      - Can I still trigger a waiver request webhook for a policy violation?
      - Is the legacy waiver request endpoint scheduled for removal?
      instructions:
      - text: Request a policy waiver for violation {violation} with reason {reason}.
        slots:
          violation: path.policyViolationId
          reason: requestBody.reasonId
      - text: Trigger the deprecated waiver request webhook for policy violation {violation}.
        slots:
          violation: path.policyViolationId
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/policyWaivers/{ownerType}/{ownerId}'].get
  update:
    x-apievangelist-phrasing:
      intent: List policy waivers for an owner
      effect: read
      questions:
      - What policy waivers exist for an application or organization?
      - Can I list all waivers scoped to one owner?
      instructions:
      - text: List policy waivers for {ownerType} {ownerId}.
        slots:
          ownerType: path.ownerType
          ownerId: path.ownerId
      - text: Show every policy waiver scoped to {ownerType} {ownerId}.
        slots:
          ownerType: path.ownerType
          ownerId: path.ownerId
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/policyWaivers/{ownerType}/{ownerId}'].post
  update:
    x-apievangelist-phrasing:
      intent: Create policy waivers for several violations
      effect: write
      questions:
      - Can I waive many policy violations in one request?
      - Is there a bulk way to create waivers for a set of violation IDs?
      instructions:
      - text: Create policy waivers for violations {violations} in {ownerType} {ownerId}.
        slots:
          violations: requestBody.violationIds
          ownerType: path.ownerType
          ownerId: path.ownerId
      - text: Bulk waive policy violations {violations} for {ownerType} {ownerId} with options {options}.
        slots:
          violations: requestBody.violationIds
          ownerType: path.ownerType
          ownerId: path.ownerId
          options: requestBody.apiWaiverOptionsDTO
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/policyWaivers/{ownerType}/{ownerId}/{policyViolationId}'].post
  update:
    x-apievangelist-phrasing:
      intent: Waive a single policy violation
      effect: write
      questions:
      - Can I waive one specific policy violation?
      - What do I need to create a waiver for a single violation ID?
      instructions:
      - text: Waive policy violation {violation} in {ownerType} {ownerId}.
        slots:
          violation: path.policyViolationId
          ownerType: path.ownerType
          ownerId: path.ownerId
      - text: Create a waiver for policy violation {violation} in {ownerType} {ownerId} with reason {reason}.
        slots:
          violation: path.policyViolationId
          ownerType: path.ownerType
          ownerId: path.ownerId
          reason: requestBody.waiverReasonId
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/policyWaivers/{ownerType}/{ownerId}/{policyWaiverId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a policy waiver
      effect: read
      questions:
      - What are the details of one policy waiver?
      - Can I look up a single waiver by its ID?
      instructions:
      - text: Get policy waiver {waiver} for {ownerType} {ownerId}.
        slots:
          waiver: path.policyWaiverId
          ownerType: path.ownerType
          ownerId: path.ownerId
      - text: Show the details of waiver {waiver} in {ownerType} {ownerId}.
        slots:
          waiver: path.policyWaiverId
          ownerType: path.ownerType
          ownerId: path.ownerId
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/policyWaivers/{ownerType}/{ownerId}/{policyWaiverId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a policy waiver
      effect: write
      questions:
      - Can I change the expiry or reason of an existing policy waiver?
      - Is it possible to extend a waiver's expiry time?
      instructions:
      - text: Update policy waiver {waiver} in {ownerType} {ownerId} to expire at {expiry}.
        slots:
          waiver: path.policyWaiverId
          ownerType: path.ownerType
          ownerId: path.ownerId
          expiry: requestBody.expiryTime
      - text: Change the reason of existing waiver {waiver} in {ownerType} {ownerId} to {reason}.
        slots:
          waiver: path.policyWaiverId
          ownerType: path.ownerType
          ownerId: path.ownerId
          reason: requestBody.waiverReasonId
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/policyWaivers/{ownerType}/{ownerId}/{policyWaiverId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a policy waiver
      effect: destructive
      questions:
      - Can I remove a policy waiver I created?
      - What happens to a waiver when I delete it?
      instructions:
      - text: Delete policy waiver {waiver} from {ownerType} {ownerId}.
        slots:
          waiver: path.policyWaiverId
          ownerType: path.ownerType
          ownerId: path.ownerId
      - text: Remove the policy waiver {waiver} in {ownerType} {ownerId}.
        slots:
          waiver: path.policyWaiverId
          ownerType: path.ownerType
          ownerId: path.ownerId
      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-waivers-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.