mirror of
https://github.com/open5gs/open5gs.git
synced 2026-07-10 00:18:59 +00:00
|
Some checks are pending
Meson Continuous Integration / Build and Test on Ubuntu Latest (push) Waiting to run
Move the vendored cJSON copy out of the generated OpenAPI tree:
```
lib/sbi/openapi/external/cJSON.{c,h}
-> lib/third-party/cjson/cJSON.{c,h}
```
The copy under lib/sbi/openapi/external/ came from the OpenAPI generator
output, but cJSON is a third-party dependency rather than generated SBI
model code. Keep it in lib/third-party/cjson/ as the single canonical
vendored copy.
Update the current openapi-generator template sets accordingly so that
regenerated model code includes the relocated header directly:
```
```
This avoids any post-processing after regeneration and works regardless
of which generated source directory includes the header, since the path
no longer depends on "../" relative traversal.
Notes:
* The generator still emits an external/cJSON.{c,h} pair from
cJSON.{c,h}.mustache into its output directory. That generated copy is
no longer copied into the source tree.
* The older template sets (r16 5.2.0/6.4.0, r17 6.4.0/7.20.0) are left
untouched as a historical record of what generated past trees.
|
||
|---|---|---|
| .. | ||
| app | ||
| asn1c | ||
| core | ||
| crypt | ||
| dbi | ||
| diameter | ||
| gtp | ||
| ipfw | ||
| metrics | ||
| nas | ||
| ngap | ||
| pfcp | ||
| proto | ||
| s1ap | ||
| sbi | ||
| sctp | ||
| third-party | ||
| tun | ||
| meson.build | ||