File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11openapi : 3.1.0
22info :
33 title : csolution rpc
4- version : 0.0.6
4+ version : 0.0.7
55 description : Specification of remote procedure call methods for CMSIS csolution integration
66 license :
77 name : Apache 2.0
@@ -109,8 +109,6 @@ paths:
109109 ' 200 ' :
110110 description : OK
111111 content : {application/json: {schema: {$ref: '#/components/schemas/SelectPackResponse'}}}
112-
113-
114112 /rpc/GetDeviceList :
115113 post :
116114 summary : Get device list
@@ -265,6 +263,17 @@ paths:
265263 ' 200 ' :
266264 description : OK
267265 content : {application/json: {schema: {$ref: '#/components/schemas/ListMissingPacksResponse'}}}
266+ /rpc/GetVariables :
267+ post :
268+ summary : Get map of resolved variables
269+ description : Get map of resolved variables for specified context
270+ tags : [/rpc]
271+ requestBody :
272+ content : {application/json: {schema: {$ref: '#/components/schemas/GetVariablesRequest'}}}
273+ responses :
274+ ' 200 ' :
275+ description : OK
276+ content : {application/json: {schema: {$ref: '#/components/schemas/GetVariablesResponse'}}}
268277
269278components :
270279 schemas :
@@ -731,7 +740,6 @@ components:
731740 type : array
732741 items :
733742 type : string
734-
735743 DraftProjectsFilter :
736744 type : object
737745 properties :
@@ -905,7 +913,37 @@ components:
905913 description : Possible configurations for the reference application
906914 items :
907915 $ref : ' #/components/schemas/VariablesConfiguration'
908-
916+ VariablesResult :
917+ allOf :
918+ - $ref : ' #/components/schemas/SuccessResult'
919+ - properties :
920+ variables :
921+ type : object
922+ additionalProperties :
923+ type : string
924+ description : Resolved context variables
925+ required :
926+ - variables
927+ GetVariablesRequest :
928+ allOf :
929+ - $ref : ' #/x-jsonrpc-envelope-request'
930+ - properties :
931+ method :
932+ type : string
933+ const : GetVariables
934+ params :
935+ type : object
936+ properties :
937+ context :
938+ type : string
939+ required :
940+ - context
941+ GetVariablesResponse :
942+ allOf :
943+ - $ref : ' #/x-jsonrpc-envelope-response'
944+ - properties :
945+ result :
946+ $ref : ' #/components/schemas/VariablesResult'
909947 GetVersionRequest :
910948 allOf :
911949 - $ref : ' #/x-jsonrpc-envelope-request'
You can’t perform that action at this time.
0 commit comments