@accelbyte/codegen 4.2.0 → 4.2.1

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/README.md CHANGED
@@ -144,11 +144,11 @@ export default {
144
144
 
145
145
  // Output each swagger set into a subfolder named after its service name.
146
146
  // Default: false
147
- unstable_splitOutputByServiceName: true
147
+ splitOutputByServiceName: true
148
148
  } satisfies CodegenConfigOptions
149
149
  ```
150
150
 
151
- ### `unstable_splitOutputByServiceName`
151
+ ### `splitOutputByServiceName`
152
152
 
153
153
  By default, all swagger sets in `swaggers.json` are generated into the same `--output` directory. When this option is enabled, each set is placed in a subfolder named after its service name (the first element of each inner array).
154
154
 
@@ -183,7 +183,7 @@ Enable via `abcodegen.config.ts`:
183
183
 
184
184
  ```typescript
185
185
  export default {
186
- unstable_splitOutputByServiceName: true
186
+ splitOutputByServiceName: true
187
187
  } satisfies CodegenConfigOptions
188
188
  ```
189
189
 
@@ -25,7 +25,7 @@ interface CodegenConfigOptions {
25
25
  *
26
26
  * @default false
27
27
  */
28
- unstable_splitOutputByServiceName?: boolean;
28
+ splitOutputByServiceName?: boolean;
29
29
  }
30
30
 
31
31
  export type { CodegenConfigOptions };
@@ -25,7 +25,7 @@ interface CodegenConfigOptions {
25
25
  *
26
26
  * @default false
27
27
  */
28
- unstable_splitOutputByServiceName?: boolean;
28
+ splitOutputByServiceName?: boolean;
29
29
  }
30
30
 
31
31
  export type { CodegenConfigOptions };
@@ -118,7 +118,7 @@ var CodegenConfig = class _CodegenConfig {
118
118
  return _CodegenConfig.config.overrideAsAny;
119
119
  }
120
120
  static splitOutputByServiceName() {
121
- return _CodegenConfig.config.unstable_splitOutputByServiceName ?? false;
121
+ return _CodegenConfig.config.splitOutputByServiceName ?? false;
122
122
  }
123
123
  /** Reset to defaults — used for testing */
124
124
  static reset() {