@ng-openapi/http-resource 0.1.3 → 0.2.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.
Files changed (4) hide show
  1. package/index.cjs +710 -84
  2. package/index.d.ts +5 -2
  3. package/index.js +710 -84
  4. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -267,7 +267,11 @@ interface GeneratorConfig {
267
267
  output: string;
268
268
  /** Distinguishes tokens/providers when several clients coexist in one app. */
269
269
  clientName?: string;
270
- /** Custom acceptance check run on the parsed spec; returning false aborts generation. */
270
+ /**
271
+ * Custom acceptance check run on the parsed spec; returning false aborts
272
+ * generation. Receives the spec as authored — before deep-pointer `$ref`s
273
+ * are inlined (`core/inline-nested-refs.ts`).
274
+ */
271
275
  validateInput?: (spec: SwaggerSpec) => boolean;
272
276
  options: {
273
277
  /** How date/date-time formats are typed in generated models. */
@@ -334,7 +338,6 @@ declare class HttpResourceGenerator implements IPluginGenerator {
334
338
  private readonly onWarning?;
335
339
  constructor(context: PluginGeneratorContext);
336
340
  generate(outputRoot: string): Promise<void>;
337
- private groupPathsByController;
338
341
  private generateServiceFile;
339
342
  private addServiceClass;
340
343
  }