1
0
mirror of synced 2025-12-21 11:01:41 -05:00
Files
airbyte/airbyte-integrations/connectors/source-facebook-pages/tools/schema_gen.sh
midavadim 5ce83390c6 🎉 Source Facebook pages: updated all empty objects in Page and Post streams (#8267)
* 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
2021-12-02 21:09:44 +02:00

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