Skip to content

Commit f970a13

Browse files
authored
chore: add docs about package prefix (#144)
1 parent 730e63f commit f970a13

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

fern/products/sdks/overview/java/configuration.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,12 @@ When enabled, generates public constructors for model types.
7878
</ParamField>
7979

8080
<ParamField path="package-prefix" type="string" required={false} toc={true}>
81+
By default, the generated SDK will use the package prefix `com.{orgName}.api`, where `{orgName}` is your Fern organization name (defined in `fern.config.json`).
82+
To override this, you can specify the `package-prefix` field in your `generators.yml` configuration.
83+
```
84+
config:
85+
package-prefix: my.new.package
86+
```
8187
</ParamField>
8288
8389
<ParamField path="package-layout" type="'nested' | 'flat'" default="nested" required={false} toc={true}>

0 commit comments

Comments
 (0)