Commit 41851b4
authored
[bug] Fix FILES sort and path provider issue (#7729)
The FILES metadata is supplementary, but was logging a warning while
generating Ada client that FILES couldn't be written. An exception was
being thrown because Path was being reported as two different "types of
Path". One would be reported as mac file, while the other was reported
as a unix file. The fix here is to disconnect path details from the
underlying file system provider by creating a new Path based on the
file's absolute path. This change also fixes sorting so it works
alphabetically in ascending order.1 parent e1e38c8 commit 41851b4
20 files changed
Lines changed: 48 additions & 36 deletions
File tree
- modules/openapi-generator/src/main/java/org/openapitools/codegen
- samples
- client/petstore
- ada/.openapi-generator
- typescript-angular-v10-provided-in-root/builds
- default/.openapi-generator
- with-npm/.openapi-generator
- typescript-angular-v6-not-provided-in-root/builds
- default/.openapi-generator
- with-npm/.openapi-generator
- typescript-angular-v6-provided-in-root/builds
- default/.openapi-generator
- with-npm/.openapi-generator
- typescript-angular-v7-not-provided-in-root/builds
- default/.openapi-generator
- with-npm/.openapi-generator
- typescript-angular-v7-provided-in-root/builds
- default/.openapi-generator
- with-npm/.openapi-generator
- typescript-angular-v8-provided-in-root/builds
- single-request-parameter/.openapi-generator
- with-npm/.openapi-generator
- with-prefixed-module-name/.openapi-generator
- typescript-angular-v9-provided-in-root/builds
- default/.openapi-generator
- with-npm/.openapi-generator
- typescript-node
- default/.openapi-generator
- npm/.openapi-generator
- server/petstore/php-symfony/SymfonyBundle-php/.openapi-generator
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1433 | 1433 | | |
1434 | 1434 | | |
1435 | 1435 | | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
1436 | 1441 | | |
1437 | 1442 | | |
1438 | 1443 | | |
| |||
1443 | 1448 | | |
1444 | 1449 | | |
1445 | 1450 | | |
1446 | | - | |
| 1451 | + | |
1447 | 1452 | | |
1448 | 1453 | | |
1449 | 1454 | | |
| |||
1452 | 1457 | | |
1453 | 1458 | | |
1454 | 1459 | | |
1455 | | - | |
| 1460 | + | |
1456 | 1461 | | |
1457 | 1462 | | |
1458 | 1463 | | |
| |||
1461 | 1466 | | |
1462 | 1467 | | |
1463 | 1468 | | |
1464 | | - | |
1465 | 1469 | | |
1466 | 1470 | | |
1467 | 1471 | | |
1468 | 1472 | | |
1469 | 1473 | | |
1470 | | - | |
| 1474 | + | |
1471 | 1475 | | |
1472 | 1476 | | |
1473 | 1477 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | | - | |
19 | 19 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | | - | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | | - | |
19 | 19 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | | - | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | | - | |
19 | 19 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | | - | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | | - | |
19 | 19 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | | - | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments