/**
* Apimatic APILib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import {
optional,
Schema,
string,
typedExpandoObject,
unknown,
} from '../schema.js';
import { Platforms, platformsSchema } from './platforms.js';
export interface GenerateSdkViaUrlRequest {
/** The URL for the API specification file.
**Note:** This URL should be publicly accessible. */
url: string;
/** The structure contains platforms that APIMatic CodeGen can generate SDKs and Docs in. */
template: Platforms;
additionalProperties?: Record;
}
export const generateSdkViaUrlRequestSchema: Schema = typedExpandoObject(
{ url: ['url', string()], template: ['template', platformsSchema] },
'additionalProperties',
optional(unknown())
);