Commit 92e2b97
committed
Merge #21 remote-tracking branch 'php-openapi/20-consider-openapi-spec-examples-in-faker-code-generation'
* php-openapi/20-consider-openapi-spec-examples-in-faker-code-generation: (28 commits)
Enhance docs
Add test spec file
Handle example
Add docs for `x-no-relation` and create its constant
Fix bug
Refactor
Fix issues + add support for all refs only in oneOf
Add typehint to fn args
Fix count issue for nested array
Fix failing test in PHP >= 8.1
Fix errors 2 + implement custom attribute `x-no-relation`
Fix errors
Fix failing test
Fix failing test
Fix bug
Fix failing test for x_db_type
Implement complex oneOf + fix error 'Creating default object from empty value in PHP'
Complex oneOf - WIP
Implement oneOf and refactor - WIP 3
Implement oneOf and refactor - WIP 2
...File tree
43 files changed
+1199
-113
lines changed- src/lib
- items
- openapi
- tests
- fixtures
- specs
- blog_v2/models
- blog/models
- issue_fix/20_consider_openapi_spec_examples_in_faker_code_generation
- mysql
- migrations_mysql_db
- models
- base
- postgres_custom/models
- x_db_type/rules_and_more
- maria/app/models/mariafaker
- mysql/app/models
- pgsql/app/models/pgsqlfaker
- unit
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
43 files changed
+1199
-113
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
48 | 51 | | |
49 | 52 | | |
50 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
80 | 82 | | |
81 | 83 | | |
82 | 84 | | |
| |||
317 | 319 | | |
318 | 320 | | |
319 | 321 | | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
320 | 376 | | |
321 | 377 | | |
322 | 378 | | |
| |||
399 | 455 | | |
400 | 456 | | |
401 | 457 | | |
402 | | - | |
403 | | - | |
| 458 | + | |
| 459 | + | |
404 | 460 | | |
405 | 461 | | |
406 | 462 | | |
| |||
591 | 647 | | |
592 | 648 | | |
593 | 649 | | |
594 | | - | |
| 650 | + | |
595 | 651 | | |
596 | 652 | | |
597 | 653 | | |
598 | 654 | | |
599 | | - | |
| 655 | + | |
| 656 | + | |
600 | 657 | | |
601 | 658 | | |
602 | 659 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
222 | 227 | | |
| 228 | + | |
223 | 229 | | |
224 | 230 | | |
225 | 231 | | |
226 | 232 | | |
227 | 233 | | |
228 | 234 | | |
229 | 235 | | |
230 | | - | |
| 236 | + | |
| 237 | + | |
231 | 238 | | |
232 | 239 | | |
233 | 240 | | |
| |||
261 | 268 | | |
262 | 269 | | |
263 | 270 | | |
264 | | - | |
| 271 | + | |
| 272 | + | |
265 | 273 | | |
266 | 274 | | |
267 | 275 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
44 | 49 | | |
45 | 50 | | |
46 | 51 | | |
| |||
0 commit comments