/**
* Apimatic APILib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import {
optional,
Schema,
string,
typedExpandoObject,
unknown,
} from '../schema.js';
/** Contains a url field to allow Apis to be imported via url */
export interface InplaceImportApiViaUrlRequest {
/** The URL for the API specification file.
**Note:** This URL should be publicly accessible. */
url: string;
additionalProperties?: Record;
}
export const inplaceImportApiViaUrlRequestSchema: Schema = typedExpandoObject(
{ url: ['url', string()] },
'additionalProperties',
optional(unknown())
);