Skip to content

Latest commit

 

History

History
 
 

api

CodeChecker server Thrift API

This directory contains the API IDL files and the generated API stubs for CodeChecker. Apache Thrift is used to generate the stubs for various programming languages (Python, JavaScript).

The Thrift compiler is executed inside a Docker container so docker needs to be installed to generate the stubs.

API change workflow:

WARNING: when you want to modify the thrift file again with the same version number and regenerate the local packages you may have to reset the changes made in the package-lock.json file so npm will be able to detect the package change. For this you can use the following commands from the repository root folder:

git checkout master -- web/server/vue-cli/package-lock.json
git reset HEAD web/server/vue-cli/package-lock.json