cumulocity-cypress
Version:
Cypress commands for Cumulocity IoT
14 lines (13 loc) • 652 B
TypeScript
import { C8ySchemaGenerator } from "../shared/c8ypact/schema";
/**
* C8ySchemaGenerator implementation using quicktype library with target language
* json-schema. From the generated schema, all non-standard keywords are removed
* to ensure compatibility with any json-schema validators.
*
* Quicktype has been reported to cause issues in browser runtimes. If you encounter
* issues with quicktype, consider implementing a custom schema generator.
*/
export declare class C8yQicktypeSchemaGenerator implements C8ySchemaGenerator {
generate(obj: any, options?: any): Promise<any>;
protected removeNonStandardKeywords(schema: any): void;
}