← All types
Apps & SurfacesIn Input object

UpsertExternalSchemaInput

Input for creating or updating an external schema

Fields

ID for update; omit for create

name

String!Required

Schema name (required)

Optional description

Schema format (required)

Possible values (3)
OPENAPI_3

OpenAPI 3.x specification

SWAGGER_2

Swagger 2.0 specification

JSON_SCHEMA

JSON Schema

Raw schema content (JSON or YAML)

Referenced by (1)
Exact type SDL
"""Input for creating or updating an external schema"""
input UpsertExternalSchemaInput {
  """ID for update; omit for create"""
  id: ExternalSchemaID
  """Schema name (required)"""
  name: String!
  """Optional description"""
  description: String
  """Schema format (required)"""
  format: ExternalSchemaFormat!
  """Raw schema content (JSON or YAML)"""
  sourceText: String!
}