Commit 8c768ac
Add missing acronyms (OS, ARN, VM ...) to cmd/osgen's initialism table (#1047)
* Add missing acronyms (OS, ARN, CFS, DN, IAM, IO, JDK, LLM, MAC, MHz, PID, RRF, SSO, VM, SES, SNS, SQS) to cmd/osgen's initialism table
NodesInfoNode.Os renders as Os instead of OS because the acronym
table cmd/osgen/naming.go derives Go field names from didn't list
it, unlike the existing API/HTTP/JSON entries. Auditing every
generated JSON tag segment for the same gap surfaced 14 more:
ARN, CFS, DN, IAM, IO, JDK, LLM, MAC, MHz, PID, RRF, SSO, TTF,
VM and SES, SNS, SQS.
Add all 15 to the table and regenerate; the diff is confined to the
fields that use these segments (e.g. VmName -> VMName, SsoLogoutURL ->
SSOLogoutURL, RoleArn -> RoleARN).
Signed-off-by: Ryan Yuan <ryan.yuan@crowdstrike.com>
Signed-off-by: Sean Chittenden <sean.chittenden@crowdstrike.com>
Co-authored-by: Sean Chittenden <sean.chittenden@crowdstrike.com>1 parent 62c2263 commit 8c768ac
19 files changed
Lines changed: 147 additions & 130 deletions
File tree
- cmd/osgen
- opensearchapi
- plugins
- ml
- notifications
- security
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| 203 | + | |
203 | 204 | | |
204 | 205 | | |
205 | 206 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| 160 | + | |
160 | 161 | | |
| 162 | + | |
161 | 163 | | |
162 | 164 | | |
163 | 165 | | |
164 | 166 | | |
165 | 167 | | |
166 | 168 | | |
| 169 | + | |
167 | 170 | | |
168 | 171 | | |
169 | 172 | | |
170 | 173 | | |
171 | 174 | | |
172 | 175 | | |
173 | 176 | | |
| 177 | + | |
174 | 178 | | |
175 | 179 | | |
176 | 180 | | |
177 | 181 | | |
| 182 | + | |
178 | 183 | | |
179 | 184 | | |
180 | 185 | | |
| 186 | + | |
181 | 187 | | |
182 | 188 | | |
183 | 189 | | |
| 190 | + | |
184 | 191 | | |
185 | 192 | | |
186 | 193 | | |
| 194 | + | |
| 195 | + | |
187 | 196 | | |
188 | 197 | | |
189 | 198 | | |
| 199 | + | |
| 200 | + | |
190 | 201 | | |
191 | 202 | | |
192 | 203 | | |
| 204 | + | |
| 205 | + | |
193 | 206 | | |
194 | 207 | | |
195 | 208 | | |
196 | 209 | | |
197 | 210 | | |
| 211 | + | |
198 | 212 | | |
199 | 213 | | |
200 | 214 | | |
| 215 | + | |
201 | 216 | | |
202 | 217 | | |
203 | 218 | | |
204 | 219 | | |
205 | 220 | | |
206 | 221 | | |
| 222 | + | |
207 | 223 | | |
208 | 224 | | |
209 | 225 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments