|
34 | 34 | } |
35 | 35 | ], |
36 | 36 | "paths": { |
37 | | - "/rollkit.v1.SignerService/Sign": { |
| 37 | + "/evnode.v1.SignerService/Sign": { |
38 | 38 | "post": { |
39 | | - "tags": ["Signer Service"], |
| 39 | + "tags": [ |
| 40 | + "Signer Service" |
| 41 | + ], |
40 | 42 | "summary": "Sign a message", |
41 | 43 | "description": "Sign the given message bytes and return the signature.", |
42 | 44 | "operationId": "sign", |
|
79 | 81 | } |
80 | 82 | } |
81 | 83 | }, |
82 | | - "/rollkit.v1.SignerService/GetPublic": { |
| 84 | + "/evnode.v1.SignerService/GetPublic": { |
83 | 85 | "post": { |
84 | | - "tags": ["Signer Service"], |
| 86 | + "tags": [ |
| 87 | + "Signer Service" |
| 88 | + ], |
85 | 89 | "summary": "Get public key", |
86 | 90 | "description": "Retrieve the public key of the signer.", |
87 | 91 | "operationId": "getPublic", |
|
119 | 123 | } |
120 | 124 | } |
121 | 125 | }, |
122 | | - "/rollkit.v1.StoreService/GetBlock": { |
| 126 | + "/evnode.v1.StoreService/GetBlock": { |
123 | 127 | "post": { |
124 | | - "tags": ["Store Service"], |
| 128 | + "tags": [ |
| 129 | + "Store Service" |
| 130 | + ], |
125 | 131 | "summary": "Get a block", |
126 | 132 | "description": "Retrieve a block by height or hash from the chain store.", |
127 | 133 | "operationId": "getBlock", |
|
173 | 179 | } |
174 | 180 | } |
175 | 181 | }, |
176 | | - "/rollkit.v1.StoreService/GetState": { |
| 182 | + "/evnode.v1.StoreService/GetState": { |
177 | 183 | "post": { |
178 | | - "tags": ["Store Service"], |
| 184 | + "tags": [ |
| 185 | + "Store Service" |
| 186 | + ], |
179 | 187 | "summary": "Get current state", |
180 | 188 | "description": "Retrieve the current state of the chain.", |
181 | 189 | "operationId": "getState", |
|
213 | 221 | } |
214 | 222 | } |
215 | 223 | }, |
216 | | - "/rollkit.v1.StoreService/GetMetadata": { |
| 224 | + "/evnode.v1.StoreService/GetMetadata": { |
217 | 225 | "post": { |
218 | | - "tags": ["Store Service"], |
| 226 | + "tags": [ |
| 227 | + "Store Service" |
| 228 | + ], |
219 | 229 | "summary": "Get metadata", |
220 | 230 | "description": "Retrieve metadata by key from the chain store.", |
221 | 231 | "operationId": "getMetadata", |
|
261 | 271 | } |
262 | 272 | } |
263 | 273 | }, |
264 | | - "/rollkit.v1.P2PService/GetPeerInfo": { |
| 274 | + "/evnode.v1.P2PService/GetPeerInfo": { |
265 | 275 | "post": { |
266 | | - "tags": ["P2P Service"], |
| 276 | + "tags": [ |
| 277 | + "P2P Service" |
| 278 | + ], |
267 | 279 | "summary": "Get peer information", |
268 | 280 | "description": "Retrieve information about connected peers.", |
269 | 281 | "operationId": "getPeerInfo", |
|
301 | 313 | } |
302 | 314 | } |
303 | 315 | }, |
304 | | - "/rollkit.v1.P2PService/GetNetInfo": { |
| 316 | + "/evnode.v1.P2PService/GetNetInfo": { |
305 | 317 | "post": { |
306 | | - "tags": ["P2P Service"], |
| 318 | + "tags": [ |
| 319 | + "P2P Service" |
| 320 | + ], |
307 | 321 | "summary": "Get network information", |
308 | 322 | "description": "Retrieve network information and statistics.", |
309 | 323 | "operationId": "getNetInfo", |
|
341 | 355 | } |
342 | 356 | } |
343 | 357 | }, |
344 | | - "/rollkit.v1.HealthService/Livez": { |
| 358 | + "/evnode.v1.HealthService/Livez": { |
345 | 359 | "post": { |
346 | | - "tags": ["Health Service"], |
| 360 | + "tags": [ |
| 361 | + "Health Service" |
| 362 | + ], |
347 | 363 | "summary": "Check node health", |
348 | 364 | "description": "Check if the node is alive and healthy.", |
349 | 365 | "operationId": "livez", |
|
390 | 406 | }, |
391 | 407 | "/health/live": { |
392 | 408 | "get": { |
393 | | - "tags": ["Health Service"], |
| 409 | + "tags": [ |
| 410 | + "Health Service" |
| 411 | + ], |
394 | 412 | "summary": "Simple liveness check", |
395 | 413 | "description": "Simple HTTP endpoint to check if the node is alive. Returns plain text 'OK' response.", |
396 | 414 | "operationId": "healthLive", |
|
447 | 465 | "SignRequest": { |
448 | 466 | "type": "object", |
449 | 467 | "description": "Request to sign a message", |
450 | | - "required": ["message"], |
| 468 | + "required": [ |
| 469 | + "message" |
| 470 | + ], |
451 | 471 | "properties": { |
452 | 472 | "message": { |
453 | 473 | "type": "string", |
|
460 | 480 | "SignResponse": { |
461 | 481 | "type": "object", |
462 | 482 | "description": "Response containing signature", |
463 | | - "required": ["signature"], |
| 483 | + "required": [ |
| 484 | + "signature" |
| 485 | + ], |
464 | 486 | "properties": { |
465 | 487 | "signature": { |
466 | 488 | "type": "string", |
|
478 | 500 | "GetPublicResponse": { |
479 | 501 | "type": "object", |
480 | 502 | "description": "Response containing public key", |
481 | | - "required": ["public_key"], |
| 503 | + "required": [ |
| 504 | + "public_key" |
| 505 | + ], |
482 | 506 | "properties": { |
483 | 507 | "public_key": { |
484 | 508 | "type": "string", |
|
542 | 566 | "GetMetadataRequest": { |
543 | 567 | "type": "object", |
544 | 568 | "description": "Request to get metadata by key", |
545 | | - "required": ["key"], |
| 569 | + "required": [ |
| 570 | + "key" |
| 571 | + ], |
546 | 572 | "properties": { |
547 | 573 | "key": { |
548 | 574 | "type": "string", |
|
554 | 580 | "GetMetadataResponse": { |
555 | 581 | "type": "object", |
556 | 582 | "description": "Response containing metadata", |
557 | | - "required": ["value"], |
| 583 | + "required": [ |
| 584 | + "value" |
| 585 | + ], |
558 | 586 | "properties": { |
559 | 587 | "value": { |
560 | 588 | "type": "string", |
|
572 | 600 | "GetPeerInfoResponse": { |
573 | 601 | "type": "object", |
574 | 602 | "description": "Response containing peer information", |
575 | | - "required": ["peers"], |
| 603 | + "required": [ |
| 604 | + "peers" |
| 605 | + ], |
576 | 606 | "properties": { |
577 | 607 | "peers": { |
578 | 608 | "type": "array", |
|
605 | 635 | "GetHealthResponse": { |
606 | 636 | "type": "object", |
607 | 637 | "description": "Response indicating node health status", |
608 | | - "required": ["status"], |
| 638 | + "required": [ |
| 639 | + "status" |
| 640 | + ], |
609 | 641 | "properties": { |
610 | 642 | "status": { |
611 | 643 | "$ref": "#/components/schemas/HealthStatus" |
|
614 | 646 | }, |
615 | 647 | "HealthStatus": { |
616 | 648 | "type": "string", |
617 | | - "enum": ["UNKNOWN", "PASS", "WARN", "FAIL"], |
| 649 | + "enum": [ |
| 650 | + "UNKNOWN", |
| 651 | + "PASS", |
| 652 | + "WARN", |
| 653 | + "FAIL" |
| 654 | + ], |
618 | 655 | "description": "Health status of the node" |
619 | 656 | }, |
620 | 657 | "Block": { |
|
649 | 686 | "Header": { |
650 | 687 | "type": "object", |
651 | 688 | "description": "Block header information", |
652 | | - "required": ["height", "time", "chain_id"], |
| 689 | + "required": [ |
| 690 | + "height", |
| 691 | + "time", |
| 692 | + "chain_id" |
| 693 | + ], |
653 | 694 | "properties": { |
654 | 695 | "version": { |
655 | 696 | "$ref": "#/components/schemas/Version" |
|
713 | 754 | "Version": { |
714 | 755 | "type": "object", |
715 | 756 | "description": "Version captures the consensus rules for processing a block", |
716 | | - "required": ["block", "app"], |
| 757 | + "required": [ |
| 758 | + "block", |
| 759 | + "app" |
| 760 | + ], |
717 | 761 | "properties": { |
718 | 762 | "block": { |
719 | 763 | "type": "integer", |
|
730 | 774 | "Signer": { |
731 | 775 | "type": "object", |
732 | 776 | "description": "Signer of a block", |
733 | | - "required": ["address", "pub_key"], |
| 777 | + "required": [ |
| 778 | + "address", |
| 779 | + "pub_key" |
| 780 | + ], |
734 | 781 | "properties": { |
735 | 782 | "address": { |
736 | 783 | "type": "string", |
|
747 | 794 | "Data": { |
748 | 795 | "type": "object", |
749 | 796 | "description": "Block transaction data", |
750 | | - "required": ["txs"], |
| 797 | + "required": [ |
| 798 | + "txs" |
| 799 | + ], |
751 | 800 | "properties": { |
752 | 801 | "metadata": { |
753 | 802 | "$ref": "#/components/schemas/Metadata" |
|
765 | 814 | "Metadata": { |
766 | 815 | "type": "object", |
767 | 816 | "description": "Metadata of a block", |
768 | | - "required": ["chain_id", "height", "time"], |
| 817 | + "required": [ |
| 818 | + "chain_id", |
| 819 | + "height", |
| 820 | + "time" |
| 821 | + ], |
769 | 822 | "properties": { |
770 | 823 | "chain_id": { |
771 | 824 | "type": "string", |
|
791 | 844 | "State": { |
792 | 845 | "type": "object", |
793 | 846 | "description": "Current chain state", |
794 | | - "required": ["chain_id", "initial_height", "last_block_height", "da_height"], |
| 847 | + "required": [ |
| 848 | + "chain_id", |
| 849 | + "initial_height", |
| 850 | + "last_block_height", |
| 851 | + "da_height" |
| 852 | + ], |
795 | 853 | "properties": { |
796 | 854 | "version": { |
797 | 855 | "$ref": "#/components/schemas/Version" |
|
835 | 893 | "PeerInfo": { |
836 | 894 | "type": "object", |
837 | 895 | "description": "Information about a connected peer", |
838 | | - "required": ["id", "address"], |
| 896 | + "required": [ |
| 897 | + "id", |
| 898 | + "address" |
| 899 | + ], |
839 | 900 | "properties": { |
840 | 901 | "id": { |
841 | 902 | "type": "string", |
|
850 | 911 | "NetInfo": { |
851 | 912 | "type": "object", |
852 | 913 | "description": "Network information", |
853 | | - "required": ["id", "listen_addresses", "connected_peers"], |
| 914 | + "required": [ |
| 915 | + "id", |
| 916 | + "listen_addresses", |
| 917 | + "connected_peers" |
| 918 | + ], |
854 | 919 | "properties": { |
855 | 920 | "id": { |
856 | 921 | "type": "string", |
|
875 | 940 | "Error": { |
876 | 941 | "type": "object", |
877 | 942 | "description": "Error response", |
878 | | - "required": ["code", "message"], |
| 943 | + "required": [ |
| 944 | + "code", |
| 945 | + "message" |
| 946 | + ], |
879 | 947 | "properties": { |
880 | 948 | "code": { |
881 | 949 | "type": "integer", |
|
0 commit comments