Commit 2c60e1a
committed
test(openapi): refresh spec fixture to v37.0 and update assertions
The bundled OpenAPI spec fixture (tests/data/specs.yml) was a v22.0
snapshot from 2021. Replace it with the current live spec (v37.0) from
https://apispec.connect.cloudblue.com/connect-openapi30.yml so the
introspection tests validate against the API's real, current structure.
Update the exact-match assertions in test_openapi.py whose expected
values changed with the new spec: get_namespaces (11 -> 21),
get_collections (18 -> 29), get_actions and get_nested_collections for
products. No client code changes: the client is spec-agnostic and only
loads the spec for optional help/validation.1 parent 8d3ff5f commit 2c60e1a
2 files changed
Lines changed: 74202 additions & 29010 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
62 | 65 | | |
| 66 | + | |
63 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
64 | 71 | | |
65 | 72 | | |
| 73 | + | |
| 74 | + | |
66 | 75 | | |
67 | 76 | | |
| 77 | + | |
68 | 78 | | |
69 | 79 | | |
70 | 80 | | |
| |||
75 | 85 | | |
76 | 86 | | |
77 | 87 | | |
| 88 | + | |
78 | 89 | | |
79 | 90 | | |
| 91 | + | |
| 92 | + | |
80 | 93 | | |
81 | 94 | | |
| 95 | + | |
82 | 96 | | |
| 97 | + | |
83 | 98 | | |
| 99 | + | |
84 | 100 | | |
85 | 101 | | |
| 102 | + | |
86 | 103 | | |
87 | 104 | | |
88 | 105 | | |
89 | 106 | | |
90 | | - | |
| 107 | + | |
| 108 | + | |
91 | 109 | | |
| 110 | + | |
92 | 111 | | |
93 | 112 | | |
| 113 | + | |
| 114 | + | |
94 | 115 | | |
95 | 116 | | |
96 | 117 | | |
| |||
125 | 146 | | |
126 | 147 | | |
127 | 148 | | |
128 | | - | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
129 | 159 | | |
130 | 160 | | |
131 | 161 | | |
| |||
140 | 170 | | |
141 | 171 | | |
142 | 172 | | |
143 | | - | |
144 | 173 | | |
145 | 174 | | |
| 175 | + | |
| 176 | + | |
146 | 177 | | |
147 | 178 | | |
148 | 179 | | |
| 180 | + | |
149 | 181 | | |
| 182 | + | |
150 | 183 | | |
151 | 184 | | |
152 | 185 | | |
| |||
0 commit comments