SQL Swagger Struct management full implementation with multi version management , Be the king of your Swagger kingdom ....
for most updated mysql scheme and defaults, and run the .sql file in the server. than define the data in the tables. suggested order: services → objects+object parameters → methods. only red tables are commonly edited. white tables are defaults.
Set environment variables:
export MYSQL_HOST=<host url>
export MYSQL_USER=<user>
export MYSQL_PASSWORD=<password>
export DB_NAME=<database name>
To follow our recommendations for the base data:
./run.sh
You can also choose which table you want to populate with data and which not
Run init scripts to create the tables:
./init_base.sh
./init_bl.sh
Dump the base data into the base tables:
./dump_base_data.sql
To populate the BL tables with demo data:
./dump_demo_bl_data.sh