* updated part of non-defined object properties * Updates schema for Page and Post streams, empty objects are replaced with references to sub nodes, fixed fields for page stream, added TypeTransformer because some attributes should be explicitly converted to strings. Added schema generation tool * updated docs * fixed format issues * enhanced schemas - added datatime format, float is saved as number * updated source version
11 lines
269 B
Bash
Executable File
11 lines
269 B
Bash
Executable File
# copy fb specs files from git
|
|
rm -rf facebook-business-sdk-codegen
|
|
git clone https://github.com/facebook/facebook-business-sdk-codegen
|
|
|
|
# prepare local directory structure
|
|
rm -rf schemas
|
|
mkdir schemas
|
|
mkdir schemas/shared
|
|
|
|
# generate fresh schemas
|
|
python schema_gen.py |