Skip to content

Commit 691f40b

Browse files
authored
Merge pull request #12 from swaggest/self-generation
self-generation tool
2 parents f8677fd + c5459a2 commit 691f40b

31 files changed

+1172
-740
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
*.dat -text
44
/tests export-ignore
55
/stubs export-ignore
6+
/tools export-ignore
67
/.gitattributes export-ignore
78
/.gitignore export-ignore
89
/.gitmodules export-ignore

composer.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@
88
},
99
"require-dev": {
1010
"phpunit/phpunit": "4.8.23",
11+
"swaggest/code-builder": "dev-master#e0c5c0612fd241d2d120e5ddef91cda9edc208ee",
12+
"swaggest/php-code-builder": "dev-master#3e643924445eb0f8d13dd011a57a42ce75629892",
1113
"phpunit/php-code-coverage": "2.2.4",
12-
"codeclimate/php-test-reporter": "0.1.2"
14+
"codeclimate/php-test-reporter": "^0.4.0"
1315
},
1416
"license": "MIT",
1517
"authors": [
@@ -31,5 +33,9 @@
3133
"psr-4": {
3234
"Swaggest\\JsonSchema\\Tests\\": "tests/src/"
3335
}
36+
},
37+
"scripts": {
38+
"gen-swg-struct": "php ./tools/generate_swagger_structures.php",
39+
"gen-json-struct": "php ./tools/generate_json_structures.php"
3440
}
3541
}

0 commit comments

Comments
 (0)