File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
fern/products/sdks/overview/java Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -87,4 +87,33 @@ config:
8787For example, if you have an alias `ResourceId: string` then if this is true, the
8888generator will generate a `ResourceId.java` file. If false, it will just treat it
8989as `java.util.String`.
90+ </ParamField>
91+
92+ ## Publishing metadata configuration options
93+
94+ If you want to customize how your publishing metadata looks in your
95+ `build.gradle` file, update the `metadata` field in `generators.yml`.
96+
97+ ```yml {4-9}
98+ generators:
99+ - name: fernapi/fern-java-sdk
100+ version: 2.7.0
101+ metadata:
102+ author: "AuthorName"
103+ 104+ package-description: "Your site description here"
105+ reference-url: "https://example.com"
106+ license: "MIT"
107+
108+ ```
109+
110+ <ParamField path = " author" type = " string" required = { false } toc = { true } >
111+ </ParamField >
112+ <ParamField path = " email" type = " string" required = { false } toc = { true } >
113+ </ParamField >
114+ <ParamField path = " license" type = " 'MIT' | 'Apache-2.0' | { custom: 'Custom License Name' }" required = { false } toc = { true } >
115+ </ParamField >
116+ <ParamField path = " package-description" type = " string" required = { false } toc = { true } >
117+ </ParamField >
118+ <ParamField path = " reference-url" type = " string" required = { false } toc = { true } >
90119</ParamField >
You can’t perform that action at this time.
0 commit comments