@hey-api/openapi-ts 0.33.2 → 0.34.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.
@@ -154,6 +154,7 @@ interface Operation extends OperationParameters {
154
154
  summary: string | null;
155
155
  }
156
156
  interface Schema {
157
+ default?: unknown;
157
158
  exclusiveMaximum?: boolean;
158
159
  exclusiveMinimum?: boolean;
159
160
  format?: 'binary' | 'boolean' | 'byte' | 'date-time' | 'date' | 'double' | 'float' | 'int32' | 'int64' | 'password' | 'string';
@@ -181,7 +182,6 @@ interface Model extends Schema {
181
182
  */
182
183
  $refs: string[];
183
184
  base: string;
184
- default?: string;
185
185
  deprecated?: boolean;
186
186
  description: string | null;
187
187
  enum: Enum[];
@@ -199,6 +199,7 @@ interface Service extends Pick<Model, '$refs' | 'imports' | 'name'> {
199
199
  }
200
200
 
201
201
  interface Client {
202
+ enumNames: string[];
202
203
  models: Model[];
203
204
  server: string;
204
205
  services: Service[];