Skip to content

Fix/api test file autogen error messages#1869

Open
cburandt wants to merge 3 commits intomainfrom
fix/API_test_file_autogen_error_messages
Open

Fix/api test file autogen error messages#1869
cburandt wants to merge 3 commits intomainfrom
fix/API_test_file_autogen_error_messages

Conversation

@cburandt
Copy link
Contributor

Describe your changes

Improves the error message during autogenerating tests for the EVerest_API-types.

Adding a new type to the EVerestAPI requires changing of/creating a new lib/everest/everest_api_types/include/.../API.hpp.
Unit-test for (de-)serialization of these tests are auto-generated during the build.
Auto-generation fails for unsupported base-types. The resulting error-message did not point to the actual problem.

The change allows the auto-generator to name the data-structure that caused the problem and clearly states which type cannot be used (e.g. use of an int instead of int32_t).

Issue ticket number and link

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have made corresponding changes to the documentation
  • I read the contribution documentation and made sure that my changes meet its requirements

…he everst_api_types lib

Signed-off-by: Christoph Burandt <christoph.burandt@pionix.de>

Fix AsyncAPI definition for entrypoint_API

Signed-off-by: Christoph Burandt <christoph.burandt@pionix.de>
Signed-off-by: Christoph Burandt <christoph.burandt@pionix.de>
Signed-off-by: Christoph Burandt <christoph.burandt@pionix.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants