UpdateSpecBody

Request body for updating a Spec.

Definition

TypeScript
interface UpdateSpecBody {
  name?: string | undefined;
  description?: string | null | undefined;
  sourceUrl?: string | undefined;
  baseUrl?: string | null | undefined;
  authHeaderName?: string | null | undefined;
  authValuePrefix?: string | null | undefined;
  authSecretId?: string | null | undefined;
  solutionId?: string | null | undefined;
}

Fields

FieldTypeNotes
namestring | undefinedoptional — New spec name.
descriptionstring | null | undefinedoptional — Updated description; null clears the existing one.
sourceUrlstring | undefinedoptional — New spec URL. Changing this does NOT trigger a refresh — call refresh explicitly afterward.
baseUrlstring | null | undefinedoptional — New base URL override; null clears the override.
authHeaderNamestring | null | undefinedoptional — New auth header name; null removes auth.
authValuePrefixstring | null | undefinedoptional — New auth value prefix; null clears the prefix.
authSecretIdstring | null | undefinedoptional — New auth secret reference; null removes the secret link.
solutionIdstring | null | undefinedoptional — Move generated entities into a different solution, or unwrap them by passing null.