Skip to content

Commit

Permalink
Merge pull request #92 from aziontech/generated-sdk
Browse files Browse the repository at this point in the history
Auto-generated SDK
  • Loading branch information
PatrickMenoti authored May 17, 2024
2 parents 37015c3 + 0b1f0c1 commit 7cb8ca1
Show file tree
Hide file tree
Showing 14 changed files with 1,041 additions and 33 deletions.
6 changes: 6 additions & 0 deletions domains/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ api/openapi.yaml
appveyor.yml
docs/CreateDomainRequest.md
docs/DomainData.md
docs/DomainDataResponse.md
docs/DomainEntity.md
docs/DomainEntityResponse.md
docs/DomainLinks.md
docs/DomainResponseWithResult.md
docs/DomainResponseWithResults.md
Expand All @@ -13,6 +15,8 @@ docs/PutDomainRequest.md
docs/UpdateDomainRequest.md
domains.sln
git_push.sh
src/domains.Test/Model/DomainDataResponseTests.cs
src/domains.Test/Model/DomainEntityResponseTests.cs
src/domains.Test/domains.Test.csproj
src/domains/Api/DomainsApi.cs
src/domains/Client/ApiClient.cs
Expand All @@ -34,7 +38,9 @@ src/domains/Client/RetryConfiguration.cs
src/domains/Model/AbstractOpenAPISchema.cs
src/domains/Model/CreateDomainRequest.cs
src/domains/Model/DomainData.cs
src/domains/Model/DomainDataResponse.cs
src/domains/Model/DomainEntity.cs
src/domains/Model/DomainEntityResponse.cs
src/domains/Model/DomainLinks.cs
src/domains/Model/DomainResponseWithResult.cs
src/domains/Model/DomainResponseWithResults.cs
Expand Down
2 changes: 2 additions & 0 deletions domains/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,9 @@ Class | Method | HTTP request | Description

- [Model.CreateDomainRequest](docs/CreateDomainRequest.md)
- [Model.DomainData](docs/DomainData.md)
- [Model.DomainDataResponse](docs/DomainDataResponse.md)
- [Model.DomainEntity](docs/DomainEntity.md)
- [Model.DomainEntityResponse](docs/DomainEntityResponse.md)
- [Model.DomainLinks](docs/DomainLinks.md)
- [Model.DomainResponseWithResult](docs/DomainResponseWithResult.md)
- [Model.DomainResponseWithResults](docs/DomainResponseWithResults.md)
Expand Down
106 changes: 84 additions & 22 deletions domains/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,58 @@ components:
nullable: true
type: array
type: object
DomainDataResponse:
properties:
name:
maxLength: 100
minLength: 1
pattern: "[a-zA-Z0-9$%^&*()-+=\\[\\]{};:?><,|/]+"
type: string
cnames:
items:
type: string
type: array
cname_access_only:
type: boolean
is_active:
type: boolean
edge_application_id:
format: int64
maximum: 10000000000000000000
minimum: 1
type: integer
digital_certificate_id:
format: int64
maximum: 10000000000000000000
minimum: 1
type: integer
environment:
enum:
- production
- preview
type: string
is_mtls_enabled:
type: boolean
mtls_trusted_ca_certificate_id:
format: int64
nullable: true
type: integer
edge_firewall_id:
format: int64
nullable: true
type: integer
mtls_verification:
enum:
- enforce
- permissive
type: string
crl_list:
items:
format: int64
type: integer
nullable: true
type: array
type: object
DomainEntity:
allOf:
- properties:
Expand All @@ -374,21 +426,31 @@ components:
type: string
type: object
- $ref: '#/components/schemas/DomainData'
DomainEntityResponse:
allOf:
- properties:
id:
format: int64
type: integer
domain_name:
type: string
type: object
- $ref: '#/components/schemas/DomainDataResponse'
example:
edge_application_id: 5637376656633328640
edge_firewall_id: 7
edge_firewall_id: 9
is_active: true
cnames:
- cnames
- cnames
mtls_verification: enforce
domain_name: domain_name
environment: production
mtls_trusted_ca_certificate_id: 2
digital_certificate_id: digital_certificate_id
mtls_trusted_ca_certificate_id: 7
digital_certificate_id: 2302135886934765312
crl_list:
- 9
- 9
- 3
- 3
cname_access_only: true
name: name
is_mtls_enabled: true
Expand Down Expand Up @@ -490,37 +552,37 @@ components:
total_pages: 6
results:
- edge_application_id: 5637376656633328640
edge_firewall_id: 7
edge_firewall_id: 9
is_active: true
cnames:
- cnames
- cnames
mtls_verification: enforce
domain_name: domain_name
environment: production
mtls_trusted_ca_certificate_id: 2
digital_certificate_id: digital_certificate_id
mtls_trusted_ca_certificate_id: 7
digital_certificate_id: 2302135886934765312
crl_list:
- 9
- 9
- 3
- 3
cname_access_only: true
name: name
is_mtls_enabled: true
id: 5
- edge_application_id: 5637376656633328640
edge_firewall_id: 7
edge_firewall_id: 9
is_active: true
cnames:
- cnames
- cnames
mtls_verification: enforce
domain_name: domain_name
environment: production
mtls_trusted_ca_certificate_id: 2
digital_certificate_id: digital_certificate_id
mtls_trusted_ca_certificate_id: 7
digital_certificate_id: 2302135886934765312
crl_list:
- 9
- 9
- 3
- 3
cname_access_only: true
name: name
is_mtls_enabled: true
Expand All @@ -539,7 +601,7 @@ components:
$ref: '#/components/schemas/DomainLinks'
results:
items:
$ref: '#/components/schemas/DomainEntity'
$ref: '#/components/schemas/DomainEntityResponse'
type: array
required:
- count
Expand All @@ -559,19 +621,19 @@ components:
total_pages: 6
results:
edge_application_id: 5637376656633328640
edge_firewall_id: 7
edge_firewall_id: 9
is_active: true
cnames:
- cnames
- cnames
mtls_verification: enforce
domain_name: domain_name
environment: production
mtls_trusted_ca_certificate_id: 2
digital_certificate_id: digital_certificate_id
mtls_trusted_ca_certificate_id: 7
digital_certificate_id: 2302135886934765312
crl_list:
- 9
- 9
- 3
- 3
cname_access_only: true
name: name
is_mtls_enabled: true
Expand All @@ -583,7 +645,7 @@ components:
links:
$ref: '#/components/schemas/DomainLinks'
results:
$ref: '#/components/schemas/DomainEntity'
$ref: '#/components/schemas/DomainEntityResponse'
total_pages:
format: int64
type: integer
Expand Down
21 changes: 21 additions & 0 deletions domains/docs/DomainDataResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# domains.Model.DomainDataResponse

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Name** | **string** | | [optional]
**Cnames** | **List&lt;string&gt;** | | [optional]
**CnameAccessOnly** | **bool** | | [optional]
**IsActive** | **bool** | | [optional]
**EdgeApplicationId** | **long** | | [optional]
**DigitalCertificateId** | **long** | | [optional]
**VarEnvironment** | **string** | | [optional]
**IsMtlsEnabled** | **bool** | | [optional]
**MtlsTrustedCaCertificateId** | **long?** | | [optional]
**EdgeFirewallId** | **long?** | | [optional]
**MtlsVerification** | **string** | | [optional]
**CrlList** | **List&lt;long&gt;** | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

23 changes: 23 additions & 0 deletions domains/docs/DomainEntityResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# domains.Model.DomainEntityResponse

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Name** | **string** | | [optional]
**Cnames** | **List&lt;string&gt;** | | [optional]
**CnameAccessOnly** | **bool** | | [optional]
**IsActive** | **bool** | | [optional]
**EdgeApplicationId** | **long** | | [optional]
**DigitalCertificateId** | **long** | | [optional]
**VarEnvironment** | **string** | | [optional]
**IsMtlsEnabled** | **bool** | | [optional]
**MtlsTrustedCaCertificateId** | **long?** | | [optional]
**EdgeFirewallId** | **long?** | | [optional]
**MtlsVerification** | **string** | | [optional]
**CrlList** | **List&lt;long&gt;** | | [optional]
**Id** | **long** | | [optional]
**DomainName** | **string** | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

2 changes: 1 addition & 1 deletion domains/docs/DomainResponseWithResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Count** | **long** | | [optional]
**Links** | [**DomainLinks**](DomainLinks.md) | | [optional]
**Results** | [**DomainEntity**](DomainEntity.md) | |
**Results** | [**DomainEntityResponse**](DomainEntityResponse.md) | |
**TotalPages** | **long** | | [optional]
**SchemaVersion** | **long** | |

Expand Down
2 changes: 1 addition & 1 deletion domains/docs/DomainResponseWithResults.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**TotalPages** | **long** | |
**SchemaVersion** | **long** | |
**Links** | [**DomainLinks**](DomainLinks.md) | |
**Results** | [**List&lt;DomainEntity&gt;**](DomainEntity.md) | |
**Results** | [**List&lt;DomainEntityResponse&gt;**](DomainEntityResponse.md) | |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

10 changes: 5 additions & 5 deletions domains/domains.sln
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
VisualStudioVersion = 12.0.0.0
MinimumVisualStudioVersion = 10.0.0.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "domains", "src\domains\domains.csproj", "{EDF00410-A6AA-415B-B047-034050F18551}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "domains", "src\domains\domains.csproj", "{45D1ECF8-DE73-451D-9E23-D65F20942298}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "domains.Test", "src\domains.Test\domains.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
EndProject
Expand All @@ -12,10 +12,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{EDF00410-A6AA-415B-B047-034050F18551}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EDF00410-A6AA-415B-B047-034050F18551}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EDF00410-A6AA-415B-B047-034050F18551}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EDF00410-A6AA-415B-B047-034050F18551}.Release|Any CPU.Build.0 = Release|Any CPU
{45D1ECF8-DE73-451D-9E23-D65F20942298}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{45D1ECF8-DE73-451D-9E23-D65F20942298}.Debug|Any CPU.Build.0 = Debug|Any CPU
{45D1ECF8-DE73-451D-9E23-D65F20942298}.Release|Any CPU.ActiveCfg = Release|Any CPU
{45D1ECF8-DE73-451D-9E23-D65F20942298}.Release|Any CPU.Build.0 = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down
Loading

0 comments on commit 7cb8ca1

Please sign in to comment.