@povio/openapi-codegen-cli 0.4.2 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -50,6 +50,7 @@ export declare class SchemaResolver {
50
50
  getEnumZodSchemas(): {};
51
51
  resolveObject<T>(obj: OpenAPIV3.ReferenceObject | T): T;
52
52
  isSchemaCircular(ref: string): boolean;
53
+ getCircularSchemaChain(ref: string, currentRef?: string, chain?: never[]): string[];
53
54
  private initialize;
54
55
  }
55
56
  export {};
@@ -1,7 +1,8 @@
1
1
  import { EndpointParameter } from "../types/endpoint";
2
2
  import { ValidationError, ValidationErrorType } from "../types/validation";
3
- export declare function getInvalidSchemaError(schemaInfo: string): ValidationError;
3
+ export declare function getInvalidSchemaError(message: string): ValidationError;
4
4
  export declare function getInvalidOperationIdError(operationId: string): ValidationError;
5
5
  export declare function getMissingPathParameterError(params: EndpointParameter[], path: string): ValidationError;
6
- export declare function getNotAllowedInlineEnumError(info: string): ValidationError;
6
+ export declare function getNotAllowedInlineEnumError(message: string): ValidationError;
7
+ export declare function getNotAllowedCircularSchemaError(message: string): ValidationError;
7
8
  export declare function groupByType(validationErrors: ValidationError[]): Record<ValidationErrorType, string[]>;