@ng-openapi/zod 0.0.12-pr-91-bugfix-nested-objects-parameter-fb5e988.0 → 0.0.12-pr-85-testing-f0cd6ab.0

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.
package/index.cjs CHANGED
@@ -122,6 +122,10 @@ var SERVICE_INDEX_GENERATOR_HEADER_COMMENT = defaultHeaderComment + `* Generated
122
122
  * Do not edit this file manually
123
123
  */
124
124
  `;
125
+ var REQUEST_PARAMS_GENERATOR_HEADER_COMMENT = defaultHeaderComment + `* Generated request parameter interfaces
126
+ * Do not edit this file manually
127
+ */
128
+ `;
125
129
  var MAIN_INDEX_GENERATOR_HEADER_COMMENT = defaultHeaderComment + `* Entrypoint for the client
126
130
  * Do not edit this file manually
127
131
  */
package/index.d.ts CHANGED
@@ -7,6 +7,16 @@ interface SwaggerResponse {
7
7
  schema?: any;
8
8
  }>;
9
9
  }
10
+ interface OpenApiSecurityScheme {
11
+ type?: "apiKey" | "http" | "oauth2" | "openIdConnect";
12
+ description?: string;
13
+ name?: string;
14
+ in?: "query" | "header" | "cookie";
15
+ scheme?: string;
16
+ bearerFormat?: string;
17
+ flows?: Record<string, any>;
18
+ openIdConnectUrl?: string;
19
+ }
10
20
  interface SwaggerDefinition {
11
21
  type?: ParameterType | undefined;
12
22
  format?: string | undefined;
@@ -75,6 +85,7 @@ interface SwaggerSpec {
75
85
  tags?: Tag[] | undefined;
76
86
  components?: {
77
87
  schemas?: Record<string, SwaggerDefinition>;
88
+ securitySchemes?: Record<string, OpenApiSecurityScheme | Security>;
78
89
  };
79
90
  }
80
91
 
@@ -127,6 +138,7 @@ interface GeneratorConfig {
127
138
  [contentType: string]: "json" | "blob" | "arraybuffer" | "text";
128
139
  };
129
140
  customizeMethodName?: (operationId: string) => string;
141
+ useSingleRequestParameter?: boolean;
130
142
  };
131
143
  compilerOptions?: {
132
144
  declaration?: boolean;
package/index.js CHANGED
@@ -88,6 +88,10 @@ var SERVICE_INDEX_GENERATOR_HEADER_COMMENT = defaultHeaderComment + `* Generated
88
88
  * Do not edit this file manually
89
89
  */
90
90
  `;
91
+ var REQUEST_PARAMS_GENERATOR_HEADER_COMMENT = defaultHeaderComment + `* Generated request parameter interfaces
92
+ * Do not edit this file manually
93
+ */
94
+ `;
91
95
  var MAIN_INDEX_GENERATOR_HEADER_COMMENT = defaultHeaderComment + `* Entrypoint for the client
92
96
  * Do not edit this file manually
93
97
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-openapi/zod",
3
- "version": "0.0.12-pr-91-bugfix-nested-objects-parameter-fb5e988.0",
3
+ "version": "0.0.12-pr-85-testing-f0cd6ab.0",
4
4
  "description": "Zod validation plugin for ng-openapi - Generate Zod schemas from OpenAPI specifications",
5
5
  "keywords": [
6
6
  "angular",