Commit 1ebfd66
committed
Stop using rest-api-spec (#5831)
* Remove reAddAvailability function
* Remove jsonSpec as a global variable
This makes it easier to spot functions that use it.
* Stop reading endpoints from jsonSpec
* Stop reading docUrl, docTag, extDocUrl, requestBodyRequired and availability from rest-api-spec
* Stop reading description and urls from rest-api-spec
* Stop validating rest-api-spec
* Stop using jsonSpec in compilation steps
* Stop using rest-api-spec altogether
* Fix compiler tests
(cherry picked from commit 18a4c3f)
# Conflicts:
# output/schema/validation-errors.json1 parent 226befa commit 1ebfd66
File tree
28 files changed
+366
-995
lines changed- compiler
- src
- model
- steps
- test
- body-codegen-name/specification/_global/index
- duplicate-body-codegen-name/specification/_global/index
- no-body/specification/_global/info
- request-availability/specification/_global/index
- wrong-api-name
- specification
- _global/info
- output
- openapi
- schema
- specification
- _doc_ids
- ml/validate
28 files changed
+366
-995
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 24 | + | |
30 | 25 | | |
31 | 26 | | |
32 | | - | |
| 27 | + | |
33 | 28 | | |
34 | 29 | | |
35 | 30 | | |
| |||
42 | 37 | | |
43 | 38 | | |
44 | 39 | | |
45 | | - | |
46 | 40 | | |
47 | 41 | | |
48 | 42 | | |
| |||
55 | 49 | | |
56 | 50 | | |
57 | 51 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 52 | + | |
62 | 53 | | |
63 | 54 | | |
64 | 55 | | |
65 | 56 | | |
66 | 57 | | |
67 | | - | |
| 58 | + | |
68 | 59 | | |
69 | 60 | | |
70 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | | - | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
| |||
73 | 71 | | |
74 | 72 | | |
75 | 73 | | |
76 | | - | |
77 | | - | |
78 | 74 | | |
79 | 75 | | |
80 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| |||
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
| 59 | + | |
114 | 60 | | |
115 | 61 | | |
| 62 | + | |
116 | 63 | | |
117 | 64 | | |
118 | 65 | | |
| |||
151 | 98 | | |
152 | 99 | | |
153 | 100 | | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | 101 | | |
158 | 102 | | |
159 | 103 | | |
| |||
175 | 119 | | |
176 | 120 | | |
177 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
178 | 127 | | |
179 | 128 | | |
180 | 129 | | |
| |||
225 | 174 | | |
226 | 175 | | |
227 | 176 | | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
228 | 181 | | |
229 | 182 | | |
230 | 183 | | |
| |||
288 | 241 | | |
289 | 242 | | |
290 | 243 | | |
291 | | - | |
| 244 | + | |
292 | 245 | | |
293 | 246 | | |
294 | 247 | | |
| |||
635 | 588 | | |
636 | 589 | | |
637 | 590 | | |
638 | | - | |
| 591 | + | |
639 | 592 | | |
640 | 593 | | |
641 | 594 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
| |||
629 | 628 | | |
630 | 629 | | |
631 | 630 | | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
632 | 648 | | |
633 | 649 | | |
634 | 650 | | |
| |||
651 | 667 | | |
652 | 668 | | |
653 | 669 | | |
654 | | - | |
655 | | - | |
656 | | - | |
| 670 | + | |
657 | 671 | | |
658 | 672 | | |
659 | 673 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
26 | | - | |
| 25 | + | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
This file was deleted.
0 commit comments