Skip to content

Commit

Permalink
remove patch that was adopted upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
ctreatma committed Sep 18, 2024
1 parent 62766c1 commit be166a9
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions script/patch_metal_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,17 +78,6 @@ def loadYaml(fn):

del fixedSpec['components']['schemas']['Address']['required']

# FIX 13. rename query attribute categories to "categories[]"

plans_get_params = fixedSpec['paths']['/plans']['get']['parameters']

for i, p in enumerate(plans_get_params):
if p['name'] == 'categories':
fixedSpec['paths']['/plans']['get']['parameters'][i]['name'] = "categories[]"
break



# Mark paginated operation with `x-equinix-metal-paginated-property`

refkey = "$ref"
Expand Down

0 comments on commit be166a9

Please sign in to comment.