@@ -49,7 +49,7 @@ Apiwork::Export.register(ProtobufExport)
4949
5050` .export_name(name = nil) `
5151
52- [ GitHub] ( https://github.com/skiftle/apiwork/blob/main/lib/apiwork/export/base.rb#L43 )
52+ [ GitHub] ( https://github.com/skiftle/apiwork/blob/main/lib/apiwork/export/base.rb#L51 )
5353
5454The export name.
5555
@@ -69,7 +69,7 @@ The export name.
6969
7070` .file_extension(value = nil) `
7171
72- [ GitHub] ( https://github.com/skiftle/apiwork/blob/main/lib/apiwork/export/base.rb#L85 )
72+ [ GitHub] ( https://github.com/skiftle/apiwork/blob/main/lib/apiwork/export/base.rb#L88 )
7373
7474The file extension for string exports.
7575
144144
145145` .output(type = nil) `
146146
147- [ GitHub] ( https://github.com/skiftle/apiwork/blob/main/lib/apiwork/export/base.rb#L52 )
147+ [ GitHub] ( https://github.com/skiftle/apiwork/blob/main/lib/apiwork/export/base.rb#L60 )
148148
149149Declares the output type for this export.
150150
@@ -162,7 +162,7 @@ Declares the output type for this export.
162162
163163` #data `
164164
165- [ GitHub] ( https://github.com/skiftle/apiwork/blob/main/lib/apiwork/export/base.rb#L262 )
165+ [ GitHub] ( https://github.com/skiftle/apiwork/blob/main/lib/apiwork/export/base.rb#L242 )
166166
167167The API introspection facade.
168168
@@ -182,7 +182,7 @@ This is the primary interface for accessing introspection data in export generat
182182
183183` #generate `
184184
185- [ GitHub] ( https://github.com/skiftle/apiwork/blob/main/lib/apiwork/export/base.rb#L206 )
185+ [ GitHub] ( https://github.com/skiftle/apiwork/blob/main/lib/apiwork/export/base.rb#L186 )
186186
187187Generates the export output.
188188
@@ -199,3 +199,37 @@ to types, enums, resources, actions, and other introspection data.
199199- [ Introspection::API] ( introspection-api )
200200
201201---
202+
203+ ### #key_format
204+
205+ ` #key_format `
206+
207+ [ GitHub] ( https://github.com/skiftle/apiwork/blob/main/lib/apiwork/export/base.rb#L250 )
208+
209+ The key format for this export.
210+
211+ ** Returns**
212+
213+ ` Symbol `
214+
215+ ---
216+
217+ ### #transform_key
218+
219+ ` #transform_key(key) `
220+
221+ [ GitHub] ( https://github.com/skiftle/apiwork/blob/main/lib/apiwork/export/base.rb#L259 )
222+
223+ Transforms a key according to the configured key format.
224+
225+ ** Parameters**
226+
227+ | Name | Type | Description |
228+ | ------| ------| -------------|
229+ | ` key ` | ` String, Symbol ` | the key to transform |
230+
231+ ** Returns**
232+
233+ ` String `
234+
235+ ---
0 commit comments