Harness · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Harness Baseline API

3 actions 3 updates phrasing extends openapi/harness-baseline-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Harness's API. It is a proposal applied on top of the contract, not a document Harness publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 3

$.info
$.paths['/v1/orgs/{org}/projects/{project}/artifact/{artifact}/baseline'].get
$.paths['/v1/orgs/{org}/projects/{project}/artifact/{artifact}/baseline'].post

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 Harness Baseline API
  version: 1.0.0
extends: openapi/harness-baseline-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-09-26'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 2
- target: $.paths['/v1/orgs/{org}/projects/{project}/artifact/{artifact}/baseline'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an artifact's baseline
      effect: read
      questions:
      - Which tag is set as the baseline for comparing an artifact's security results?
      - Does this artifact have a baseline version configured yet?
      instructions:
      - text: Get the baseline for artifact {artifact} in {org}/{project}.
        slots:
          artifact: path.artifact
          org: path.org
          project: path.project
      - text: Show which tag of {artifact} is the baseline in project {project} of org {org}.
        slots:
          artifact: path.artifact
          project: path.project
          org: path.org
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v1/orgs/{org}/projects/{project}/artifact/{artifact}/baseline'].post
  update:
    x-apievangelist-phrasing:
      intent: Set an artifact's baseline tag
      effect: write
      questions:
      - How do I choose which tag of an artifact becomes its baseline?
      - Can I change the baseline an artifact is compared against?
      instructions:
      - text: Set tag {tag} as the baseline for artifact {artifact} in {org}/{project}.
        slots:
          tag: requestBody.tag
          artifact: path.artifact
          org: path.org
          project: path.project
      - text: Make {tag} the new baseline of {artifact} in project {project} of org {org}.
        slots:
          tag: requestBody.tag
          artifact: path.artifact
          project: path.project
          org: path.org
      method: generated
      generated: '2026-09-26'