@povio/openapi-codegen-cli 0.3.3 → 0.3.5

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.
@@ -0,0 +1 @@
1
+ export declare const RESERVED_WORDS: string[];
@@ -4,3 +4,4 @@ export declare const ALLOWED_PARAM_MEDIA_TYPES: string[];
4
4
  export declare const ALLOWED_PATH_IN: string[];
5
5
  export declare const ALLOWED_METHODS: OpenAPIV3.HttpMethods[];
6
6
  export declare const PRIMITIVE_TYPE_LIST: string[];
7
+ export declare const COMPOSITE_KEYWORDS: ("required" | "type" | "default" | "title" | "pattern" | "description" | "externalDocs" | "deprecated" | "enum" | "nullable" | "format" | "multipleOf" | "maximum" | "exclusiveMaximum" | "minimum" | "exclusiveMinimum" | "maxLength" | "minLength" | "additionalProperties" | "maxItems" | "minItems" | "uniqueItems" | "maxProperties" | "minProperties" | "properties" | "allOf" | "oneOf" | "anyOf" | "not" | "discriminator" | "readOnly" | "writeOnly" | "xml" | "example")[];
@@ -26,4 +26,5 @@ export declare class SchemaResolver {
26
26
  resolveObject<T>(obj: OpenAPIV3.ReferenceObject | T): T;
27
27
  private intializeSchemaInfo;
28
28
  private initializeSchemaTags;
29
+ private getOperationSchemaRefs;
29
30
  }
@@ -1,2 +1,7 @@
1
1
  import { Endpoint } from "../../types/endpoint";
2
2
  export declare const getQueryName: (endpoint: Endpoint) => string;
3
+ export declare const getAllQueryKeys: (endpoints: Endpoint[]) => {
4
+ path: string;
5
+ name: string;
6
+ }[];
7
+ export declare const getEndpointPathQueryKeys: (endpoint: Endpoint, endpoints: Endpoint[]) => string[];
@@ -1,3 +1,2 @@
1
- export declare const RESERVED_WORDS: string[];
2
1
  export declare const isValidPropertyName: (str: string) => boolean;
3
2
  export declare const invalidVariableNameCharactersToCamel: (str: string) => string;