|
json-gen-c
0.1.5
json-gen-c generate C code for json manipulation
|
Schema compatibility checker — compares two parsed schemas and reports safe vs. breaking changes. More...
#include "utils/hash_map.h"

Go to the source code of this file.
Functions | |
| int | compat_check (struct hash_map *old_structs, struct hash_map *old_enums, struct hash_map *old_oneofs, struct hash_map *new_structs, struct hash_map *new_enums, struct hash_map *new_oneofs) |
| Compare two parsed schemas and print a compatibility report. | |
Schema compatibility checker — compares two parsed schemas and reports safe vs. breaking changes.
| int compat_check | ( | struct hash_map * | old_structs, |
| struct hash_map * | old_enums, | ||
| struct hash_map * | old_oneofs, | ||
| struct hash_map * | new_structs, | ||
| struct hash_map * | new_enums, | ||
| struct hash_map * | new_oneofs | ||
| ) |
Compare two parsed schemas and print a compatibility report.
Compares structs, enums, and oneofs between the old and new schemas. Reports safe changes (additions, deprecations) and breaking changes (removals, type changes).
| old_structs | Hash map of old schema structs. |
| old_enums | Hash map of old schema enums. |
| old_oneofs | Hash map of old schema oneofs. |
| new_structs | Hash map of new schema structs. |
| new_enums | Hash map of new schema enums. |
| new_oneofs | Hash map of new schema oneofs. |