Skip to content

Commit

Permalink
support default tags - FW and Anycast API (#39)
Browse files Browse the repository at this point in the history
Also adds support for default tags in update call for HA Group and Kerberos key
  • Loading branch information
MinJiang00 authored May 2, 2024
1 parent b0791ce commit e6e39a5
Show file tree
Hide file tree
Showing 12 changed files with 170 additions and 1 deletion.
2 changes: 2 additions & 0 deletions anycast/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ paths:
- OnPremAnycastManager
x-tf-resource: anycast_ac_config
x-tf-datasource: anycast_ac_configs
x-sdk-default-tags: true
x-codegen-request-body-name: body
/accm/ac_configs/{id}:
delete:
Expand Down Expand Up @@ -165,6 +166,7 @@ paths:
summary: Create or Update Anycast Configuration
tags:
- OnPremAnycastManager
x-sdk-default-tags: true
x-codegen-request-body-name: body
/accm/ac_runtime_statuses:
get:
Expand Down
20 changes: 20 additions & 0 deletions anycast/api_on_prem_anycast_manager.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions fw/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,7 @@ paths:
summary: Create Application Filter.
tags:
- application_filters
x-sdk-default-tags: true
x-codegen-request-body-name: body
/application_filters/{id}:
delete:
Expand Down Expand Up @@ -750,6 +751,7 @@ paths:
summary: Update Application Filter.
tags:
- application_filters
x-sdk-default-tags: true
x-codegen-request-body-name: body
/category_filters:
delete:
Expand Down Expand Up @@ -948,6 +950,7 @@ paths:
summary: Create Category Filter.
tags:
- category_filters
x-sdk-default-tags: true
x-codegen-request-body-name: body
/category_filters/{id}:
delete:
Expand Down Expand Up @@ -1117,6 +1120,7 @@ paths:
summary: Update Category Filter.
tags:
- category_filters
x-sdk-default-tags: true
x-codegen-request-body-name: body
/content_categories:
get:
Expand Down Expand Up @@ -1374,6 +1378,7 @@ paths:
summary: Create Internal Domains.
tags:
- internal_domain_lists
x-sdk-default-tags: true
x-codegen-request-body-name: body
/internal_domain_lists/{id}:
delete:
Expand Down Expand Up @@ -1582,6 +1587,7 @@ paths:
summary: Update Internal Domains.
tags:
- internal_domain_lists
x-sdk-default-tags: true
x-codegen-request-body-name: body
/internal_domain_lists/{id}/items:
patch:
Expand Down Expand Up @@ -1888,6 +1894,7 @@ paths:
summary: Create Named List.
tags:
- named_lists
x-sdk-default-tags: true
x-codegen-request-body-name: body
/named_lists/{id}:
delete:
Expand Down Expand Up @@ -2094,6 +2101,7 @@ paths:
summary: Patch TI List.
tags:
- named_lists
x-sdk-default-tags: true
x-codegen-request-body-name: body
put:
description: |
Expand Down Expand Up @@ -2168,6 +2176,7 @@ paths:
summary: Update Named List.
tags:
- named_lists
x-sdk-default-tags: true
x-codegen-request-body-name: body
/named_lists/{id}/items:
delete:
Expand Down Expand Up @@ -3137,6 +3146,7 @@ paths:
summary: Create Security Policy.
tags:
- security_policies
x-sdk-default-tags: true
x-codegen-request-body-name: body
/security_policies/{id}:
delete:
Expand Down Expand Up @@ -3320,6 +3330,7 @@ paths:
summary: Update Security Policy.
tags:
- security_policies
x-sdk-default-tags: true
x-codegen-request-body-name: body
/security_policy_rules:
get:
Expand Down
20 changes: 20 additions & 0 deletions fw/api_application_filters.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions fw/api_category_filters.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions fw/api_internal_domain_lists.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions fw/api_named_lists.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions fw/api_security_policies.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion ipam/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,6 @@ paths:
summary: Retrieve the HA group.
tags:
- ha_group
x-sdk-default-tags: true
patch:
description: |-
Use this method to update an __HAGroup__ object.
Expand Down Expand Up @@ -692,6 +691,7 @@ paths:
summary: Update the HA group.
tags:
- ha_group
x-sdk-default-tags: true
x-codegen-request-body-name: body
/dhcp/hardware_filter:
get:
Expand Down Expand Up @@ -2732,6 +2732,7 @@ paths:
summary: Create the Next Available Address Block object.
tags:
- address_block
x-sdk-default-tags: true
/ipam/address_block/{id}/nextavailableip:
get:
description: |-
Expand Down Expand Up @@ -2815,6 +2816,7 @@ paths:
summary: Allocate the next available IP address.
tags:
- address_block
x-sdk-default-tags: true
/ipam/address_block/{id}/nextavailablesubnet:
get:
description: |-
Expand Down Expand Up @@ -2918,6 +2920,7 @@ paths:
summary: Create the Next Available Subnet object.
tags:
- address_block
x-sdk-default-tags: true
/ipam/asm:
get:
description: |-
Expand Down Expand Up @@ -3991,6 +3994,7 @@ paths:
summary: Allocate the next available IP address.
tags:
- range
x-sdk-default-tags: true
/ipam/subnet:
get:
description: |-
Expand Down Expand Up @@ -4359,6 +4363,7 @@ paths:
summary: Allocate the next available IP address.
tags:
- subnet
x-sdk-default-tags: true
components:
schemas:
InheritedDHCPConfigFilterList:
Expand Down
10 changes: 10 additions & 0 deletions ipam/api_ha_group.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e6e39a5

Please sign in to comment.