CreateModelRequest
import type { CreateModelRequest } from "https://aws-api.deno.dev/v0.3/services/apigateway.ts?docs=full";
Request to add a new "Model" to an existing "RestApi" resource.
interface CreateModelRequest {
contentType: string;
description?: string | null;
name: string;
restApiId: string;
schema?: string | null;
}§Properties
§
schema?: string | null
[src]The schema for the model.
For application/json
models, this should be JSON schema draft 4 model.