@typia/interface 12.0.1 → 12.0.2

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.
@@ -108,8 +108,8 @@ export declare namespace OpenApiV3 {
108
108
  /**
109
109
  * Non-standard HTTP method operations (extension).
110
110
  *
111
- * Used when downgrading from OpenAPI v3.2 to preserve
112
- * non-standard methods like `query` or custom methods.
111
+ * Used when downgrading from OpenAPI v3.2 to preserve non-standard methods
112
+ * like `query` or custom methods.
113
113
  */
114
114
  "x-additionalOperations"?: Record<string, IOperation>;
115
115
  }
@@ -346,6 +346,11 @@ export declare namespace OpenApiV3 {
346
346
  /** Default value. */
347
347
  default?: any;
348
348
  }
349
+ /** @ignore Base Attribute interface. */
350
+ interface __IAttribute extends Omit<IJsonSchemaAttribute, "examples"> {
351
+ /** Example values. */
352
+ examples?: any[] | Record<string, any>;
353
+ }
349
354
  }
350
355
  /** Security scheme types. */
351
356
  type ISecurityScheme = ISecurityScheme.IApiKey | ISecurityScheme.IHttpBasic | ISecurityScheme.IHttpBearer | ISecurityScheme.IOAuth2 | ISecurityScheme.IOpenId;
@@ -120,8 +120,8 @@ export declare namespace OpenApiV3_1 {
120
120
  /**
121
121
  * Non-standard HTTP method operations (extension).
122
122
  *
123
- * Used when downgrading from OpenAPI v3.2 to preserve
124
- * non-standard methods like `query` or custom methods.
123
+ * Used when downgrading from OpenAPI v3.2 to preserve non-standard methods
124
+ * like `query` or custom methods.
125
125
  */
126
126
  "x-additionalOperations"?: Record<string, IOperation>;
127
127
  }
@@ -389,6 +389,11 @@ export declare namespace OpenApiV3_1 {
389
389
  /** Default value. */
390
390
  default?: any;
391
391
  }
392
+ /** @ignore Base Attribute interface. */
393
+ interface __IAttribute extends Omit<IJsonSchemaAttribute, "examples"> {
394
+ /** Example values. */
395
+ examples?: any[] | Record<string, any>;
396
+ }
392
397
  }
393
398
  /** Security scheme types. */
394
399
  type ISecurityScheme = ISecurityScheme.IApiKey | ISecurityScheme.IHttpBasic | ISecurityScheme.IHttpBearer | ISecurityScheme.IOAuth2 | ISecurityScheme.IOpenId;
@@ -124,7 +124,10 @@ export declare namespace OpenApiV3_2 {
124
124
  summary?: string;
125
125
  /** Path description. */
126
126
  description?: string;
127
- /** Additional non-standard HTTP method operations (e.g., LINK, UNLINK, PURGE). */
127
+ /**
128
+ * Additional non-standard HTTP method operations (e.g., LINK, UNLINK,
129
+ * PURGE).
130
+ */
128
131
  additionalOperations?: Record<string, IOperation>;
129
132
  }
130
133
  /** API operation metadata. */
@@ -393,6 +396,11 @@ export declare namespace OpenApiV3_2 {
393
396
  /** Default value. */
394
397
  default?: any;
395
398
  }
399
+ /** @ignore Base Attribute interface. */
400
+ interface __IAttribute extends Omit<IJsonSchemaAttribute, "examples"> {
401
+ /** Example values. */
402
+ examples?: any[] | Record<string, any>;
403
+ }
396
404
  }
397
405
  /** Security scheme types. */
398
406
  type ISecurityScheme = ISecurityScheme.IApiKey | ISecurityScheme.IHttpBasic | ISecurityScheme.IHttpBearer | ISecurityScheme.IOAuth2 | ISecurityScheme.IOpenId;
@@ -95,8 +95,8 @@ export declare namespace SwaggerV2 {
95
95
  /**
96
96
  * Non-standard HTTP method operations (extension).
97
97
  *
98
- * Used when downgrading from OpenAPI v3.2 to preserve
99
- * non-standard methods like `query` or custom methods.
98
+ * Used when downgrading from OpenAPI v3.2 to preserve non-standard methods
99
+ * like `query` or custom methods.
100
100
  */
101
101
  "x-additionalOperations"?: Record<string, IOperation>;
102
102
  }
@@ -268,6 +268,18 @@ export declare namespace SwaggerV2 {
268
268
  /** Type discriminator (undefined for unknown). */
269
269
  type?: undefined;
270
270
  }
271
+ /** @ignore Base Interface with type discriminator. */
272
+ interface __ISignificant<Type extends string> extends __IAttribute {
273
+ /** Type discriminator. */
274
+ type: Type;
275
+ /** Nullable flag (Swagger extension). */
276
+ "x-nullable"?: boolean;
277
+ }
278
+ /** @ignore Base Attribute interface. */
279
+ interface __IAttribute extends Omit<IJsonSchemaAttribute, "examples" | "writeOnly"> {
280
+ /** Example values. */
281
+ examples?: any[];
282
+ }
271
283
  }
272
284
  /** Security scheme types. */
273
285
  type ISecurityDefinition = ISecurityDefinition.IApiKey | ISecurityDefinition.IBasic | ISecurityDefinition.IOauth2Implicit | ISecurityDefinition.IOauth2AccessCode | ISecurityDefinition.IOauth2Password | ISecurityDefinition.IOauth2Application;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typia/interface",
3
- "version": "12.0.1",
3
+ "version": "12.0.2",
4
4
  "description": "Superfast runtime validators with only one line",
5
5
  "main": "lib/index.js",
6
6
  "exports": {
@@ -158,8 +158,8 @@ export namespace OpenApiV3 {
158
158
  /**
159
159
  * Non-standard HTTP method operations (extension).
160
160
  *
161
- * Used when downgrading from OpenAPI v3.2 to preserve
162
- * non-standard methods like `query` or custom methods.
161
+ * Used when downgrading from OpenAPI v3.2 to preserve non-standard methods
162
+ * like `query` or custom methods.
163
163
  */
164
164
  "x-additionalOperations"?: Record<string, IOperation>;
165
165
  }
@@ -545,7 +545,7 @@ export namespace OpenApiV3 {
545
545
  default?: any;
546
546
  }
547
547
 
548
- /** @internal Base attribute interface. */
548
+ /** @ignore Base Attribute interface. */
549
549
  export interface __IAttribute extends Omit<
550
550
  IJsonSchemaAttribute,
551
551
  "examples"
@@ -174,8 +174,8 @@ export namespace OpenApiV3_1 {
174
174
  /**
175
175
  * Non-standard HTTP method operations (extension).
176
176
  *
177
- * Used when downgrading from OpenAPI v3.2 to preserve
178
- * non-standard methods like `query` or custom methods.
177
+ * Used when downgrading from OpenAPI v3.2 to preserve non-standard methods
178
+ * like `query` or custom methods.
179
179
  */
180
180
  "x-additionalOperations"?: Record<string, IOperation>;
181
181
  }
@@ -625,7 +625,7 @@ export namespace OpenApiV3_1 {
625
625
  default?: any;
626
626
  }
627
627
 
628
- /** @internal Base attribute interface. */
628
+ /** @ignore Base Attribute interface. */
629
629
  export interface __IAttribute extends Omit<
630
630
  IJsonSchemaAttribute,
631
631
  "examples"
@@ -182,7 +182,10 @@ export namespace OpenApiV3_2 {
182
182
  /** Path description. */
183
183
  description?: string;
184
184
 
185
- /** Additional non-standard HTTP method operations (e.g., LINK, UNLINK, PURGE). */
185
+ /**
186
+ * Additional non-standard HTTP method operations (e.g., LINK, UNLINK,
187
+ * PURGE).
188
+ */
186
189
  additionalOperations?: Record<string, IOperation>;
187
190
  }
188
191
 
@@ -634,7 +637,7 @@ export namespace OpenApiV3_2 {
634
637
  default?: any;
635
638
  }
636
639
 
637
- /** @internal Base attribute interface. */
640
+ /** @ignore Base Attribute interface. */
638
641
  export interface __IAttribute extends Omit<
639
642
  IJsonSchemaAttribute,
640
643
  "examples"
@@ -141,8 +141,8 @@ export namespace SwaggerV2 {
141
141
  /**
142
142
  * Non-standard HTTP method operations (extension).
143
143
  *
144
- * Used when downgrading from OpenAPI v3.2 to preserve
145
- * non-standard methods like `query` or custom methods.
144
+ * Used when downgrading from OpenAPI v3.2 to preserve non-standard methods
145
+ * like `query` or custom methods.
146
146
  */
147
147
  "x-additionalOperations"?: Record<string, IOperation>;
148
148
  }
@@ -434,7 +434,7 @@ export namespace SwaggerV2 {
434
434
  type?: undefined;
435
435
  }
436
436
 
437
- /** @internal Base interface with type discriminator. */
437
+ /** @ignore Base Interface with type discriminator. */
438
438
  export interface __ISignificant<Type extends string> extends __IAttribute {
439
439
  /** Type discriminator. */
440
440
  type: Type;
@@ -443,7 +443,7 @@ export namespace SwaggerV2 {
443
443
  "x-nullable"?: boolean;
444
444
  }
445
445
 
446
- /** @internal Base attribute interface. */
446
+ /** @ignore Base Attribute interface. */
447
447
  export interface __IAttribute extends Omit<
448
448
  IJsonSchemaAttribute,
449
449
  "examples" | "writeOnly"