Uh oh!
There was an error while loading. Please reload this page.
[C] Update build-and-test.bash - #4055
Conversation
add check for non autogenerated test file
👍 Thanks for opening this issue! The team will review the labels and make any necessary changes. |
Add instructions on how to test petstore sample manual tests.
| Note: You dont need to specify includes for models and include folder seperately as they are path linked. You just have to import the api.h file in your code, the include linking will work. | ||
| ## Test petstore sample |
There was a problem hiding this comment.
@zhemant thanks for the PR but I don't think we should add petstore specified instruction in the template as the spec provided by the user may have nothing to do with Petstore.
There was a problem hiding this comment.
Ok I understand, Then I will modify the README to guide how to compile the user code with the generated code. That was the reason I referenced how it will happen in petstore. I will push another commit
There was a problem hiding this comment.
Closing this as there's no update for a while. Please open a new one when you've time.
add check for non autogenerated test file
PR checklist
./bin/to update Petstore sample so that CIs can verify the change. (For instance, only need to run./bin/{LANG}-petstore.sh,./bin/openapi3/{LANG}-petstore.shif updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates). Windows batch files can be found in.\bin\windows\. If contributing template-only or documentation-only changes which will change sample output, be sure to build the project first.master,4.1.x,5.0.x. Default:master.Description of the PR
Due to build of manual test files is commented out in CMakeLists.txt, they are not generated hence build fails.
@Fjolnir-Dvorak