@@ -6,13 +6,13 @@ type: object
66properties :
77 shared :
88 description : A shared specification of a function.
9- $ref : ' #/$defs/common_properties'
9+ $ref : " #/$defs/common_properties"
1010 server :
1111 description : A server-side specification of a function.
12- $ref : ' #/$defs/common_properties'
12+ $ref : " #/$defs/common_properties"
1313 client :
1414 description : A client-side specification of a function.
15- $ref : ' #/$defs/common_properties'
15+ $ref : " #/$defs/common_properties"
1616
1717$defs :
1818 common_properties :
@@ -22,13 +22,13 @@ $defs:
2222 description : Additional syntaxes for function.
2323 items :
2424 allOf :
25- - $ref : ' #/$defs/common_properties'
25+ - $ref : " #/$defs/common_properties"
2626 - type : object
2727 properties :
2828 displayParams :
29- type : boolean
30- description : Specifies whether to display the parameters and returns sections.
31- default : true
29+ type : boolean
30+ description : Specifies whether to display the parameters and returns sections.
31+ default : true
3232 required :
3333 - name
3434 properties :
@@ -45,69 +45,95 @@ $defs:
4545 type : string
4646 description : Associates this function with another getter or setter function.
4747 oop :
48- $ref : ' #/$defs/oop'
48+ $ref : " #/$defs/oop"
4949 disabled :
50- description : |
51- Describe why the function was disabled, and if there is an alternative approach;
52- or just set the property to "true".
53- anyOf :
54- - type : string
55- - const : true
50+ description : |
51+ Describe why the function was disabled, and if there is an alternative approach;
52+ or just set the property to "true".
53+ anyOf :
54+ - type : string
55+ - const : true
5656 parameters :
57- $ref : ' #/$defs/parameters'
57+ $ref : " #/$defs/parameters"
5858 ignore_parameters :
59- $ref : ' #/$defs/ignore_parameters'
59+ $ref : " #/$defs/ignore_parameters"
6060 returns :
61- $ref : ' #/$defs/returns'
61+ $ref : " #/$defs/returns"
6262 meta :
63- $ref : ' common-defs.yaml#/$defs/meta'
63+ $ref : " common-defs.yaml#/$defs/meta"
6464 notes :
65- $ref : ' common-defs.yaml#/$defs/notes'
65+ $ref : " common-defs.yaml#/$defs/notes"
6666 preview_images :
67- $ref : ' common-defs.yaml#/$defs/preview_images'
67+ $ref : " common-defs.yaml#/$defs/preview_images"
6868 version :
69- $ref : ' common-defs.yaml#/$defs/version'
69+ $ref : " common-defs.yaml#/$defs/version"
7070 issues :
71- $ref : ' common-defs.yaml#/$defs/issues'
71+ $ref : " common-defs.yaml#/$defs/issues"
7272 examples :
73- $ref : ' common-defs.yaml#/$defs/examples'
73+ $ref : " common-defs.yaml#/$defs/examples"
7474 see_also :
75- $ref : ' common-defs.yaml#/$defs/see_also'
75+ $ref : " common-defs.yaml#/$defs/see_also"
7676 requires_review :
77- $ref : ' common-defs.yaml#/$defs/requires_review'
78-
77+ $ref : " common-defs.yaml#/$defs/requires_review"
78+
7979 oop :
80- type : object
8180 description : Object-Oriented Programming (OOP) information block for the function.
82- required :
83- - element
84- properties :
85- note :
86- type : string
87- description : A piece of information to show alongside OOP syntax.
88- element :
89- type : string
90- description : Name of the element or userdata.
9181 oneOf :
92- - required :
93- - method
82+ - type : object
83+ required :
84+ - element
9485 properties :
95- method :
86+ note :
9687 type : string
97- description : Name of the method.
98- static :
99- type : boolean
100- default : false
101- description : If set to true, this method will be marked as static.
102- variable :
88+ element :
10389 type : string
104- description : Name of the variable without a leading dot.
105- - required :
106- - constructorclass
107- properties :
108- constructorclass :
90+ side :
10991 type : string
110- description : Name of the constructor class.
92+ enum : [client, server]
93+
94+ oneOf :
95+ - required : [method]
96+ properties :
97+ method :
98+ type : string
99+ static :
100+ type : boolean
101+ default : false
102+ variable :
103+ type : string
104+ - required : [constructorclass]
105+ properties :
106+ constructorclass :
107+ type : string
108+
109+ - type : array
110+ items :
111+ type : object
112+ required :
113+ - element
114+ properties :
115+ note :
116+ type : string
117+ element :
118+ type : string
119+ side :
120+ type : string
121+ enum : [client, server]
122+
123+ oneOf :
124+ - required : [method]
125+ properties :
126+ method :
127+ type : string
128+ static :
129+ type : boolean
130+ variable :
131+ type : string
132+
133+ - required : [constructorclass]
134+ properties :
135+ constructorclass :
136+ type : string
111137
112138 parameters :
113139 type : array
@@ -173,4 +199,4 @@ $defs:
173199 description : Name of the return value.
174200 templateList :
175201 type : string
176- description : It allows to display a list of possible values (radio station IDs, bone IDs, onPlayerChat message types, etc.).
202+ description : It allows to display a list of possible values (radio station IDs, bone IDs, onPlayerChat message types, etc.).
0 commit comments