UpsertExternalSchemaInput
Input for creating or updating an external schema
Fields
ID for update; omit for create
Schema name (required)
Optional description
Schema format (required)
Possible values (3)
OPENAPI_3OpenAPI 3.x specification
SWAGGER_2Swagger 2.0 specification
JSON_SCHEMAJSON 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!
}