@cparra/apexdocs 2.16.1 → 2.17.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.
- package/docs/types/Classes/nspc.ChildClass.md +5 -5
- package/docs/types/Main/nspc.SampleClass.md +5 -5
- package/docs/types/Misc-Group/nspc.EscapedAnnotations.md +4 -4
- package/docs/types/Misc-Group/nspc.InterfaceWithInheritance.md +2 -2
- package/docs/types/Misc-Group/nspc.MemberGrouping.md +13 -13
- package/docs/types/Misc-Group/nspc.ParentClass.md +2 -2
- package/docs/types/Misc-Group/nspc.SampleClassWithoutModifier.md +1 -1
- package/docs/types/Misc-Group/nspc.SampleRestResource.md +3 -3
- package/docs/types/Misc-Group/nspc.SampleRestResourceWithInnerClass.md +1 -1
- package/docs/types/Misc-Group/nspc.SampleRestResourceWithoutApexDocs.md +2 -2
- package/docs/types/README.md +97 -97
- package/docs/types/Sample-Interfaces/nspc.SampleInterface.md +2 -2
- package/lib/model/markdown-generation-util/method-declaration-util.js +1 -1
- package/lib/model/markdown-generation-util/method-declaration-util.js.map +1 -1
- package/package.json +2 -2
- package/src/model/markdown-generation-util/method-declaration-util.ts +3 -1
- package/docs/types/Misc-Group/nspc.AtFutureRecipes.md +0 -4
|
@@ -47,8 +47,8 @@ This is a protected string, use carefully.
|
|
|
47
47
|
|
|
48
48
|
---
|
|
49
49
|
## Methods
|
|
50
|
-
### `public doSomething()`
|
|
51
|
-
### `public override overridableMethodOverridden()`
|
|
50
|
+
### `public void doSomething()`
|
|
51
|
+
### `public override String overridableMethodOverridden()`
|
|
52
52
|
|
|
53
53
|
This method was overridden.
|
|
54
54
|
|
|
@@ -58,11 +58,11 @@ This method was overridden.
|
|
|
58
58
|
|---|---|
|
|
59
59
|
|String|A String.|
|
|
60
60
|
|
|
61
|
-
### `public execute()`
|
|
61
|
+
### `public void execute()`
|
|
62
62
|
|
|
63
63
|
Executes the command.
|
|
64
64
|
|
|
65
|
-
### `public getValue()`
|
|
65
|
+
### `public String getValue()`
|
|
66
66
|
|
|
67
67
|
Returns a value based on the executed command.
|
|
68
68
|
|
|
@@ -72,7 +72,7 @@ Returns a value based on the executed command.
|
|
|
72
72
|
|---|---|
|
|
73
73
|
|String|The value|
|
|
74
74
|
|
|
75
|
-
### `public overridableMethod()`
|
|
75
|
+
### `public String overridableMethod()`
|
|
76
76
|
|
|
77
77
|
*Inherited*
|
|
78
78
|
|
|
@@ -97,7 +97,7 @@ This is a String property.
|
|
|
97
97
|
---
|
|
98
98
|
## Methods
|
|
99
99
|
### A method group
|
|
100
|
-
##### `public static sampleMethod(String argument1, String argument2)`
|
|
100
|
+
##### `public static String sampleMethod(String argument1, String argument2)`
|
|
101
101
|
|
|
102
102
|
`NAMESPACEACCESSIBLE`
|
|
103
103
|
|
|
@@ -123,7 +123,7 @@ System.debug(result);
|
|
|
123
123
|
```
|
|
124
124
|
|
|
125
125
|
|
|
126
|
-
##### `public static anotherSampleMethod(String arg1)`
|
|
126
|
+
##### `public static String anotherSampleMethod(String arg1)`
|
|
127
127
|
|
|
128
128
|
Something here
|
|
129
129
|
|
|
@@ -132,7 +132,7 @@ Something here
|
|
|
132
132
|
|
|
133
133
|
---
|
|
134
134
|
### Other
|
|
135
|
-
##### `public static call()`
|
|
135
|
+
##### `public static void call()`
|
|
136
136
|
|
|
137
137
|
Calls the method. This methods allows you to call it.
|
|
138
138
|
|
|
@@ -160,7 +160,7 @@ Description of the inner property.
|
|
|
160
160
|
|
|
161
161
|
---
|
|
162
162
|
#### Methods
|
|
163
|
-
##### `public innerMethod()`
|
|
163
|
+
##### `public void innerMethod()`
|
|
164
164
|
|
|
165
165
|
Executes from the inner class.
|
|
166
166
|
|
|
@@ -179,7 +179,7 @@ Description of the inner property.
|
|
|
179
179
|
|
|
180
180
|
---
|
|
181
181
|
#### Methods
|
|
182
|
-
##### `public innerMethod()`
|
|
182
|
+
##### `public void innerMethod()`
|
|
183
183
|
|
|
184
184
|
Executes from the inner class.
|
|
185
185
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# nspc.EscapedAnnotations
|
|
2
|
-
|
|
3
|
-
This sentence has an `@embedded` annotation.
|
|
4
|
-
|
|
1
|
+
# nspc.EscapedAnnotations
|
|
2
|
+
|
|
3
|
+
This sentence has an `@embedded` annotation.
|
|
4
|
+
|
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
,
|
|
7
7
|
[nspc.AnotherInterface](types/Classes/nspc.AnotherInterface.md)
|
|
8
8
|
## Methods
|
|
9
|
-
### `global execute()`
|
|
9
|
+
### `global void execute()`
|
|
10
10
|
|
|
11
11
|
*Inherited*
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
Executes the command.
|
|
15
15
|
|
|
16
|
-
### `global getValue()`
|
|
16
|
+
### `global String getValue()`
|
|
17
17
|
|
|
18
18
|
*Inherited*
|
|
19
19
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
# nspc.MemberGrouping
|
|
2
|
-
## Fields
|
|
3
|
-
### Group old syntax
|
|
4
|
-
|
|
5
|
-
* `public anotherInGroup1` → `String`
|
|
6
|
-
* `public inGroup1` → `String`
|
|
7
|
-
---
|
|
8
|
-
### Group new syntax
|
|
9
|
-
Group's description
|
|
10
|
-
|
|
11
|
-
* `public anotherInGroup2` → `String` - Description for another constant in group 2
|
|
12
|
-
* `public inGroup2` → `String` - Description for constant in group 2
|
|
13
|
-
---
|
|
1
|
+
# nspc.MemberGrouping
|
|
2
|
+
## Fields
|
|
3
|
+
### Group old syntax
|
|
4
|
+
|
|
5
|
+
* `public anotherInGroup1` → `String`
|
|
6
|
+
* `public inGroup1` → `String`
|
|
7
|
+
---
|
|
8
|
+
### Group new syntax
|
|
9
|
+
Group's description
|
|
10
|
+
|
|
11
|
+
* `public anotherInGroup2` → `String` - Description for another constant in group 2
|
|
12
|
+
* `public inGroup2` → `String` - Description for constant in group 2
|
|
13
|
+
---
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
Account related operations
|
|
6
6
|
|
|
7
7
|
## Methods
|
|
8
|
-
### `global static doDelete()`
|
|
8
|
+
### `global static void doDelete()`
|
|
9
9
|
|
|
10
10
|
`HTTPDELETE`
|
|
11
11
|
|
|
@@ -32,7 +32,7 @@ Sample HTTP Delete method with references to other types.
|
|
|
32
32
|
|
|
33
33
|
**Http Response** statusCode: 307 schema: Reference7[untypedObject:Reference2]
|
|
34
34
|
|
|
35
|
-
### `global static doGet()`
|
|
35
|
+
### `global static Account doGet()`
|
|
36
36
|
|
|
37
37
|
`HTTPGET`
|
|
38
38
|
|
|
@@ -65,7 +65,7 @@ This is a sample HTTP Get method
|
|
|
65
65
|
|
|
66
66
|
**Http Response** statusCode: 100 schema: type: object properties: anotherObject: description: An object inside of an object type: object properties: message: type: string somethingElse: type: number
|
|
67
67
|
|
|
68
|
-
### `global static doPost(String name, String phone, String website)`
|
|
68
|
+
### `global static String doPost(String name, String phone, String website)`
|
|
69
69
|
|
|
70
70
|
`HTTPPOST`
|
|
71
71
|
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
Order related operations
|
|
6
6
|
|
|
7
7
|
## Methods
|
|
8
|
-
### `global static doGet(String param1, Reference1 param2)`
|
|
8
|
+
### `global static String doGet(String param1, Reference1 param2)`
|
|
9
9
|
|
|
10
10
|
`HTTPGET`
|
|
11
|
-
### `global static doPatch(String param1, Reference1 param2)`
|
|
11
|
+
### `global static String doPatch(String param1, Reference1 param2)`
|
|
12
12
|
|
|
13
13
|
`HTTPPATCH`
|
|
14
14
|
---
|
package/docs/types/README.md
CHANGED
|
@@ -1,97 +1,97 @@
|
|
|
1
|
-
# Sample Documentation
|
|
2
|
-
## Classes
|
|
3
|
-
|
|
4
|
-
### [nspc.AnotherInterface](types/Classes/nspc.AnotherInterface.md)
|
|
5
|
-
|
|
6
|
-
Some desc
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
### [nspc.ChildClass](types/Classes/nspc.ChildClass.md)
|
|
11
|
-
|
|
12
|
-
Some desc
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
## Misc Group
|
|
16
|
-
|
|
17
|
-
### [nspc.EscapedAnnotations](types/Misc-Group/nspc.EscapedAnnotations.md)
|
|
18
|
-
|
|
19
|
-
This sentence has an `@embedded` annotation.
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
### [nspc.GrandparentClass](types/Misc-Group/nspc.GrandparentClass.md)
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
### [nspc.InterfaceWithInheritance](types/Misc-Group/nspc.InterfaceWithInheritance.md)
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
### [nspc.MemberGrouping](types/Misc-Group/nspc.MemberGrouping.md)
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
### [nspc.ParentClass](types/Misc-Group/nspc.ParentClass.md)
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
### [nspc.Reference1](types/Misc-Group/nspc.Reference1.md)
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
### [nspc.Reference2](types/Misc-Group/nspc.Reference2.md)
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
### [nspc.Reference3](types/Misc-Group/nspc.Reference3.md)
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
### [nspc.Reference4](types/Misc-Group/nspc.Reference4.md)
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
### [nspc.Reference5](types/Misc-Group/nspc.Reference5.md)
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
### [nspc.Reference6](types/Misc-Group/nspc.Reference6.md)
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
### [nspc.Reference7](types/Misc-Group/nspc.Reference7.md)
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
### [nspc.SampleClassWithoutModifier](types/Misc-Group/nspc.SampleClassWithoutModifier.md)
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
### [nspc.SampleRestResource](types/Misc-Group/nspc.SampleRestResource.md)
|
|
60
|
-
|
|
61
|
-
Account related operations
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
### [nspc.SampleRestResourceWithInnerClass](types/Misc-Group/nspc.SampleRestResourceWithInnerClass.md)
|
|
66
|
-
|
|
67
|
-
Contact related operations
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
### [nspc.SampleRestResourceWithoutApexDocs](types/Misc-Group/nspc.SampleRestResourceWithoutApexDocs.md)
|
|
72
|
-
|
|
73
|
-
Order related operations
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
## Main
|
|
77
|
-
|
|
78
|
-
### [nspc.GroupedClass](types/Main/nspc.GroupedClass.md)
|
|
79
|
-
|
|
80
|
-
Uses a block style apex doc
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
### [nspc.SampleClass](types/Main/nspc.SampleClass.md)
|
|
85
|
-
|
|
86
|
-
This is a class description. This class relates to [nspc.SampleInterface](types/Sample-Interfaces/nspc.SampleInterface.md)
|
|
87
|
-
But this [ClassThatDoesNotExist](ClassThatDoesNotExist) does not exist.
|
|
88
|
-
You can also link using this syntax [nspc.SampleInterface](types/Sample-Interfaces/nspc.SampleInterface.md)
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
## Sample Interfaces
|
|
92
|
-
|
|
93
|
-
### [nspc.SampleInterface](types/Sample-Interfaces/nspc.SampleInterface.md)
|
|
94
|
-
|
|
95
|
-
This is an interface description.
|
|
96
|
-
|
|
97
|
-
|
|
1
|
+
# Sample Documentation
|
|
2
|
+
## Classes
|
|
3
|
+
|
|
4
|
+
### [nspc.AnotherInterface](types/Classes/nspc.AnotherInterface.md)
|
|
5
|
+
|
|
6
|
+
Some desc
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### [nspc.ChildClass](types/Classes/nspc.ChildClass.md)
|
|
11
|
+
|
|
12
|
+
Some desc
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## Misc Group
|
|
16
|
+
|
|
17
|
+
### [nspc.EscapedAnnotations](types/Misc-Group/nspc.EscapedAnnotations.md)
|
|
18
|
+
|
|
19
|
+
This sentence has an `@embedded` annotation.
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### [nspc.GrandparentClass](types/Misc-Group/nspc.GrandparentClass.md)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### [nspc.InterfaceWithInheritance](types/Misc-Group/nspc.InterfaceWithInheritance.md)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### [nspc.MemberGrouping](types/Misc-Group/nspc.MemberGrouping.md)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### [nspc.ParentClass](types/Misc-Group/nspc.ParentClass.md)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
### [nspc.Reference1](types/Misc-Group/nspc.Reference1.md)
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### [nspc.Reference2](types/Misc-Group/nspc.Reference2.md)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### [nspc.Reference3](types/Misc-Group/nspc.Reference3.md)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### [nspc.Reference4](types/Misc-Group/nspc.Reference4.md)
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
### [nspc.Reference5](types/Misc-Group/nspc.Reference5.md)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
### [nspc.Reference6](types/Misc-Group/nspc.Reference6.md)
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
### [nspc.Reference7](types/Misc-Group/nspc.Reference7.md)
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
### [nspc.SampleClassWithoutModifier](types/Misc-Group/nspc.SampleClassWithoutModifier.md)
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
### [nspc.SampleRestResource](types/Misc-Group/nspc.SampleRestResource.md)
|
|
60
|
+
|
|
61
|
+
Account related operations
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
### [nspc.SampleRestResourceWithInnerClass](types/Misc-Group/nspc.SampleRestResourceWithInnerClass.md)
|
|
66
|
+
|
|
67
|
+
Contact related operations
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
### [nspc.SampleRestResourceWithoutApexDocs](types/Misc-Group/nspc.SampleRestResourceWithoutApexDocs.md)
|
|
72
|
+
|
|
73
|
+
Order related operations
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
## Main
|
|
77
|
+
|
|
78
|
+
### [nspc.GroupedClass](types/Main/nspc.GroupedClass.md)
|
|
79
|
+
|
|
80
|
+
Uses a block style apex doc
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
### [nspc.SampleClass](types/Main/nspc.SampleClass.md)
|
|
85
|
+
|
|
86
|
+
This is a class description. This class relates to [nspc.SampleInterface](types/Sample-Interfaces/nspc.SampleInterface.md)
|
|
87
|
+
But this [ClassThatDoesNotExist](ClassThatDoesNotExist) does not exist.
|
|
88
|
+
You can also link using this syntax [nspc.SampleInterface](types/Sample-Interfaces/nspc.SampleInterface.md)
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
## Sample Interfaces
|
|
92
|
+
|
|
93
|
+
### [nspc.SampleInterface](types/Sample-Interfaces/nspc.SampleInterface.md)
|
|
94
|
+
|
|
95
|
+
This is an interface description.
|
|
96
|
+
|
|
97
|
+
|
|
@@ -6,11 +6,11 @@ This is an interface description.
|
|
|
6
6
|
**Group** Sample Interfaces
|
|
7
7
|
|
|
8
8
|
## Methods
|
|
9
|
-
### `global execute()`
|
|
9
|
+
### `global void execute()`
|
|
10
10
|
|
|
11
11
|
Executes the command.
|
|
12
12
|
|
|
13
|
-
### `global getValue()`
|
|
13
|
+
### `global String getValue()`
|
|
14
14
|
|
|
15
15
|
Returns a value based on the executed command.
|
|
16
16
|
|
|
@@ -6,7 +6,7 @@ function declareMethod(markdownFile, methods, startingHeadingLevel, className =
|
|
|
6
6
|
methods.forEach((currentMethod) => {
|
|
7
7
|
var _a, _b;
|
|
8
8
|
const signatureName = isMethod(currentMethod)
|
|
9
|
-
? `${currentMethod.name}`
|
|
9
|
+
? `${currentMethod.typeReference.type} ${currentMethod.name}`
|
|
10
10
|
: className;
|
|
11
11
|
markdownFile.addTitle(`\`${buildSignature(currentMethod.access_modifier, signatureName, currentMethod)}\``, startingHeadingLevel + 2);
|
|
12
12
|
// Inheritance tag
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"method-declaration-util.js","sourceRoot":"","sources":["../../../src/model/markdown-generation-util/method-declaration-util.ts"],"names":[],"mappings":";;;AAGA,+EAA+E;AAG/E,SAAgB,aAAa,CAC3B,YAA0B,EAC1B,OAA4D,EAC5D,oBAA4B,EAC5B,SAAS,GAAG,EAAE;IAEd,OAAO,CAAC,OAAO,CAAC,CAAC,aAAa,EAAE,EAAE;;QAChC,MAAM,aAAa,GAAG,QAAQ,CAAC,aAAa,CAAC;YAC3C,CAAC,CAAC,GAAI,aAA6C,CAAC,IAAI,EAAE;
|
|
1
|
+
{"version":3,"file":"method-declaration-util.js","sourceRoot":"","sources":["../../../src/model/markdown-generation-util/method-declaration-util.ts"],"names":[],"mappings":";;;AAGA,+EAA+E;AAG/E,SAAgB,aAAa,CAC3B,YAA0B,EAC1B,OAA4D,EAC5D,oBAA4B,EAC5B,SAAS,GAAG,EAAE;IAEd,OAAO,CAAC,OAAO,CAAC,CAAC,aAAa,EAAE,EAAE;;QAChC,MAAM,aAAa,GAAG,QAAQ,CAAC,aAAa,CAAC;YAC3C,CAAC,CAAC,GAAI,aAA6C,CAAC,aAAa,CAAC,IAAI,IACjE,aAA6C,CAAC,IACjD,EAAE;YACJ,CAAC,CAAC,SAAS,CAAC;QACd,YAAY,CAAC,QAAQ,CACnB,KAAK,cAAc,CAAC,aAAa,CAAC,eAAe,EAAE,aAAa,EAAE,aAAa,CAAC,IAAI,EACpF,oBAAoB,GAAG,CAAC,CACzB,CAAC;QAEF,kBAAkB;QAClB,IAAI,QAAQ,CAAC,a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,YAAY,CAAC,YAAY,EAAE,CAAC;AAC9B,CAAC;AAED,SAAS,UAAU,CAAC,YAA0B,EAAE,eAAgC,EAAE,oBAA4B;;IAC5G,YAAY,CAAC,QAAQ,CAAC,SAAS,EAAE,oBAAoB,GAAG,CAAC,CAAC,CAAC;IAC3D,YAAY,CAAC,cAAc,EAAE,CAAC;IAC9B,MAAA,eAAe,CAAC,UAAU,0CAAE,iBAAiB,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;QACvE,YAAY,CAAC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACpC,CAAC,CAAC,CAAC;IACH,YAAY,CAAC,YAAY,EAAE,CAAC;IAC5B,YAAY,CAAC,YAAY,EAAE,CAAC;AAC9B,CAAC;AAED,SAAS,QAAQ,CACf,MAAwE;IAExE,OAAQ,MAAsC,CAAC,aAAa,KAAK,SAAS,CAAC;AAC7E,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cparra/apexdocs",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.17.0",
|
|
4
4
|
"description": "Library with CLI capabilities to generate documentation for Salesforce Apex classes.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"apex",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"postversion": "git push && git push --tags",
|
|
25
25
|
"docs:init": "docsify init docs",
|
|
26
26
|
"docs:serve": "docsify serve docs",
|
|
27
|
-
"execute:example": "node lib/cli/generate.js -s examples/force-app -t docs/types --scope global public private protected -g docsify --defaultGroupName \"Misc Group\" --namespace nspc --title \"Sample Documentation\" --documentationRootDir types",
|
|
27
|
+
"execute:example": "rimraf ./docs/types && node lib/cli/generate.js -s examples/force-app -t docs/types --scope global public private protected -g docsify --defaultGroupName \"Misc Group\" --namespace nspc --title \"Sample Documentation\" --documentationRootDir types",
|
|
28
28
|
"execute:example:index:only": "node lib/cli/generate.js -s examples/force-app -t docs --scope global public private -g docsify --indexOnly",
|
|
29
29
|
"execute:example:openapi": "node lib/cli/generate.js -s examples/force-app -t docs -g openapi --openApiTitle \"Sample REST Api\" --namespace nspc --openApiFileName restapi"
|
|
30
30
|
},
|
|
@@ -12,7 +12,9 @@ export function declareMethod(
|
|
|
12
12
|
): void {
|
|
13
13
|
methods.forEach((currentMethod) => {
|
|
14
14
|
const signatureName = isMethod(currentMethod)
|
|
15
|
-
? `${(currentMethod as MethodMirrorWithInheritance).
|
|
15
|
+
? `${(currentMethod as MethodMirrorWithInheritance).typeReference.type} ${
|
|
16
|
+
(currentMethod as MethodMirrorWithInheritance).name
|
|
17
|
+
}`
|
|
16
18
|
: className;
|
|
17
19
|
markdownFile.addTitle(
|
|
18
20
|
`\`${buildSignature(currentMethod.access_modifier, signatureName, currentMethod)}\``,
|