Skip to content

More robust API request/response handling #16

More robust API request/response handling

More robust API request/response handling #16

Triggered via pull request July 31, 2024 05:45
Status Failure
Total duration 39s
Artifacts

cpp-linter.yaml

on: pull_request
cpp-linter
31s
cpp-linter
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 10 warnings, and 9 notices
include/api/Api.hpp:11:10 [clang-diagnostic-error]: include/api/Api.hpp#L11
'oatpp/parser/json/mapping/ObjectMapper.hpp' file not found
include/api/Api.hxx:3:10 [clang-diagnostic-error]: include/api/Api.hxx#L3
'oatpp/core/Types.hpp' file not found
include/api/_Api.hpp:4:10 [clang-diagnostic-error]: include/api/_Api.hpp#L4
'oatpp/core/Types.hpp' file not found
include/api/types.hpp:4:10 [clang-diagnostic-error]: include/api/types.hpp#L4
'oatpp/core/macro/codegen.hpp' file not found
src/api/Api.cpp:4:10 [clang-diagnostic-error]: src/api/Api.cpp#L4
'oatpp/network/tcp/client/ConnectionProvider.hpp' file not found
cpp-linter
Process completed with exit code 1.
include/api/Api.hpp:31:56 [modernize-use-trailing-return-type]: include/api/Api.hpp#L31
use a trailing return type for this function
include/api/Api.hpp:32:51 [modernize-use-trailing-return-type]: include/api/Api.hpp#L32
use a trailing return type for this function
include/api/Api.hpp:33:49 [modernize-use-trailing-return-type]: include/api/Api.hpp#L33
use a trailing return type for this function
include/api/Api.hpp:36:41 [modernize-use-trailing-return-type]: include/api/Api.hpp#L36
use a trailing return type for this function
include/api/Api.hpp:37:40 [modernize-use-trailing-return-type]: include/api/Api.hpp#L37
use a trailing return type for this function
include/api/Api.hpp:38:42 [modernize-use-trailing-return-type]: include/api/Api.hpp#L38
use a trailing return type for this function
include/api/Api.hpp:39:41 [modernize-use-trailing-return-type]: include/api/Api.hpp#L39
use a trailing return type for this function
include/api/Api.hpp:40:41 [modernize-use-trailing-return-type]: include/api/Api.hpp#L40
use a trailing return type for this function
include/api/Api.hpp:41:50 [modernize-use-trailing-return-type]: include/api/Api.hpp#L41
use a trailing return type for this function
include/api/Api.hpp:42:41 [modernize-use-trailing-return-type]: include/api/Api.hpp#L42
use a trailing return type for this function
Run clang-format on include/api/Api.hpp: include/api/Api.hpp#L1
File include/api/Api.hpp does not conform to LLVM style guidelines. (lines 4, 13, 16, 17, 18, 19, 21, 22, 23, 24, 26, 27, 28, 30, 31, 32, 33, 35, 36, 37, 38, 39, 40, 41, 42, 43, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 57, 58, 60, 61, 63, 64, 65, 66, 67, 69, 70, 72, 73, 74, 75, 77, 78, 79, 81, 82, 83, 85, 86, 88, 89, 90, 93)
Run clang-format on include/api/Api.hxx: include/api/Api.hxx#L1
File include/api/Api.hxx does not conform to LLVM style guidelines. (lines 8, 9, 10, 11, 12, 13, 15, 16, 17, 18, 19, 20, 22, 23, 24, 25, 26, 28, 29, 31, 32, 33, 34, 35, 36, 37, 38, 40, 41, 42, 43, 45, 46, 47, 48, 50, 51, 52, 53, 54, 55, 56, 57, 59, 61, 63, 64, 65, 67, 69)
Run clang-format on include/api/_Api.hpp: include/api/_Api.hpp#L1
File include/api/_Api.hpp does not conform to LLVM style guidelines. (lines 9, 10, 11, 13, 14, 15, 17, 18, 20, 22, 23, 25, 26, 27, 28, 29, 30, 32, 33, 34, 35, 36, 37, 39, 40, 42, 43, 44, 45, 46, 48, 49, 50, 51, 52, 54, 55, 56, 57, 58, 60, 61, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 136, 137, 138, 139, 140, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 158, 159, 160, 161, 162, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 182, 183, 185, 186, 187, 188, 189, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 232, 233, 234, 235, 236, 237, 239, 240, 241, 242, 243, 244, 246, 247, 248, 249, 250, 251, 253, 254, 255, 256, 257, 258, 260, 261, 262, 263, 264, 265, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 303, 307)
Run clang-format on include/api/types.hpp: include/api/types.hpp#L1
File include/api/types.hpp does not conform to LLVM style guidelines. (lines 4, 7, 8, 10, 11, 12, 13, 15, 17, 18, 19, 21, 23, 25, 26, 27, 29, 31, 32, 33, 35, 37, 38, 39, 41, 43, 45, 47, 48, 50, 51, 52, 54, 56, 57, 59, 61, 62, 63, 65, 67, 68, 70, 72, 73, 75, 76, 77, 79, 81, 82, 83, 84, 86, 88, 89, 90, 92, 94, 95, 97, 99, 100, 101, 103, 105, 106, 108, 110, 111, 112, 114, 116, 117, 118, 119, 120, 121, 122, 124, 126, 127, 128, 130, 132, 133, 135, 137, 138, 139, 141, 143, 145, 147, 148, 149, 151, 153, 155, 157, 158, 159, 161, 163, 164, 166, 168, 169, 171, 172, 173, 175, 177, 178, 179, 180, 181, 183, 185, 186, 187, 189, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 236, 238, 239, 240, 242, 244, 245, 246, 247, 248, 249, 250, 251, 252, 254, 256, 257, 258, 260, 262, 263, 265, 267, 268, 269, 271, 273, 275, 277, 278, 279, 281, 283, 284, 286, 288, 289, 290, 292, 294, 295, 296, 297, 298, 299, 300, 301, 303, 305, 306, 307, 309, 311, 312, 313, 314, 315, 316, 317, 319, 321, 322, 323, 325, 327, 328, 330, 332, 333, 334, 336, 338, 339, 340, 341, 342, 344, 346, 347, 348, 350, 352, 354, 356, 357, 358, 360, 362, 363, 365, 367, 368, 369, 371, 373, 375, 377, 378, 379, 381, 383, 384, 386, 388, 389, 390, 392, 394, 395, 396, 397, 398, 399, 400, 402, 404, 405, 406, 408, 410, 412, 414, 415, 416, 418, 420, 421, 422, 423, 424, 425, 427, 429, 430, 431, 433, 435, 436, 437, 438, 440, 442, 443, 444, 446, 448, 449, 450, 451, 453, 455, 456, 457, 459, 461, 462, 463, 464, 465, 466, 467, 469, 471, 472, 473, 475, 477, 478, 479, 481, 483, 484, 486, 487, 488, 490, 492, 493, 494, 496, 498, 499, 500, 502, 504, 505, 506, 507, 508, 509, 511, 513, 514, 515, 517, 519, 520, 521, 522, 523, 524, 525, 526, 527, 529, 531, 532, 533, 535, 537, 538, 540, 542, 543, 544, 546, 548, 549, 550, 551, 552, 553, 554, 556, 558, 559, 560, 562, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 593, 595, 596, 597, 599, 601, 602, 604, 606, 607, 608, 610, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 624, 626, 627, 628, 630, 632, 634, 636, 637, 638, 640, 642, 643, 645, 647, 648, 649, 651, 653, 654, 655, 656, 657, 658, 659, 660, 662, 664, 665, 666, 668, 670, 671, 673, 675, 676, 677, 679, 681, 682, 684, 686, 687, 688, 690, 692, 693, 694, 695, 696, 697, 699, 701, 702, 703, 705, 707, 708, 709, 710, 711, 712, 714, 716, 717, 718, 720, 722, 723, 724, 725, 726, 727, 728, 730, 732, 733, 734, 736, 738, 739, 740, 742, 744, 745, 746, 748, 750, 751, 752, 753, 754, 755, 756, 757, 759, 761, 762, 763, 765, 767, 768, 770, 774)
Run clang-format on src/api/Api.auth.cpp: src/api/Api.auth.cpp#L1
File src/api/Api.auth.cpp does not conform to LLVM style guidelines. (lines 1, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26, 28, 29, 30, 32, 34, 35, 36, 38, 39, 40, 41, 42, 43, 44, 46, 47, 48, 50, 52, 53, 54, 55, 56, 57, 58, 59, 60, 62, 64, 65, 66, 68)
Run clang-format on src/api/Api.cpp: src/api/Api.cpp#L1
File src/api/Api.cpp does not conform to LLVM style guidelines. (lines 4, 12, 15, 16, 18, 19, 21, 22, 23, 24, 26, 28, 29, 31, 33, 34, 35, 37, 38, 39, 40, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 54, 56, 57, 60)
Run clang-format on src/api/Api.exchange.cpp: src/api/Api.exchange.cpp#L1
File src/api/Api.exchange.cpp does not conform to LLVM style guidelines. (lines 6, 7, 9, 10, 11, 13, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 27, 28, 29, 31, 33, 34, 35, 36, 37, 38, 39, 40, 42, 43, 45, 46, 47, 49, 51, 52, 53, 54, 55, 56, 57, 58, 60, 62)
Run clang-format on src/api/Api.market.cpp: src/api/Api.market.cpp#L1
File src/api/Api.market.cpp does not conform to LLVM style guidelines. (lines 6, 7, 9, 10, 11, 13, 15, 17, 18, 19, 20, 21, 22, 23, 24, 26, 27, 29, 30, 31, 33, 35, 36, 37, 38, 39, 40, 41, 42, 43, 45, 46, 48, 49, 50, 52, 54, 56, 57, 58, 59, 60, 61, 62, 63, 65, 66, 68, 69, 70, 72, 74, 76, 77, 78, 79, 80, 81, 82, 83, 84, 86, 87, 89, 90, 91, 93, 95, 96, 97, 98, 99, 100, 101, 102, 103, 105, 106, 108, 109, 110, 112, 114, 115, 116, 117, 118, 119, 120, 121, 122, 124, 125, 127, 128, 129, 131, 133, 134, 135, 136, 137, 138, 139, 140, 141, 143, 144, 146, 147, 148, 150, 152, 153, 154, 155, 156, 157, 158, 159, 160, 162, 164)
Run clang-format on src/api/Api.portfolio.cpp: src/api/Api.portfolio.cpp#L1
File src/api/Api.portfolio.cpp does not conform to LLVM style guidelines. (lines 8, 9, 11, 12, 13, 15, 17, 18, 19, 20, 21, 22, 23, 24, 26, 27, 29, 30, 31, 33, 35, 37, 38, 39, 40, 41, 42, 43, 44, 45, 47, 48, 50, 51, 52, 54, 56, 58, 59, 60, 61, 62, 63, 64, 65, 66, 68, 69, 71, 72, 73, 75, 77, 78, 79, 80, 81, 82, 83, 84, 85, 87, 88, 90, 91, 92, 94, 96, 97, 98, 99, 100, 101, 102, 103, 104, 106, 107, 109, 110, 111, 113, 115, 117, 118, 119, 120, 121, 122, 123, 124, 125, 127, 128, 130, 131, 132, 134, 136, 138, 139, 140, 141, 142, 143, 144, 145, 146, 148, 149, 151, 152, 153, 155, 157, 159, 160, 161, 163, 164, 166, 167, 168, 169, 171, 172, 173, 175, 176, 177, 178, 180, 181, 182, 183, 184, 185, 186, 188, 189, 191, 192, 193, 195, 197, 198, 199, 200, 201, 202, 203, 204, 205, 207, 208, 210, 212, 213, 214, 216, 218, 219, 220, 221, 223, 224, 226, 227, 228, 230, 231, 232, 234, 235, 236, 237, 239, 240, 242, 243, 245, 247, 248, 249, 250, 252, 254)