Skip to content

Commit

Permalink
Merge branch 'main' into fix-data-streaming-headers
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwelbm authored Sep 15, 2023
2 parents 1be7cf7 + 1a83d78 commit 6b1686b
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
image: ubuntu:22.04
strategy:
matrix:
types: [ "go", "php", "csharp-netcore", "typescript-node", "java", "rust", "python", "javascript" ]
types: [ "go", "php", "csharp", "typescript-node", "java", "rust", "python", "javascript" ]
steps:
- name: Setup Env
run: apt-get update && apt-get install -y npm curl git
Expand Down
19 changes: 8 additions & 11 deletions data_streaming.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,7 @@ paths:
tags:
- Data Streaming
summary: Create a new data streaming
description: |
description: Create a new data streaming.
operationId: CreateNewDataStreaming
requestBody:
required: true
Expand Down Expand Up @@ -480,7 +477,8 @@ components:
Note:
* `Range` - From 0 to 100.
* `To use:` [Contact the sales team](https://www.azion.com/en/contact-sales/) to activate this feature in your account.
additionalProperties: false

StandardDataStreamingPostBody:
type: object
properties:
Expand Down Expand Up @@ -537,7 +535,8 @@ components:
description: >
Note:
* Field not used with the rtm_activity data source.
additionalProperties: false

CustomDataStreamingPostBody:
type: object
properties:
Expand Down Expand Up @@ -566,9 +565,8 @@ components:
type: boolean
nullable: true
default: true



additionalProperties: false

CreateDataStreamingResponse:
type: object
properties:
Expand Down Expand Up @@ -1087,5 +1085,4 @@ components:
in: header
description: |
You must inform a token to auth.
Usage format: `Token <TOKEN>`
Usage format: `Token <TOKEN>`
9 changes: 9 additions & 0 deletions edgeapplications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2413,6 +2413,7 @@ components:
cdn_cache_settings: cdn_cache_settings
origin_protocol_policy: origin_protocol_policy
name: name
minimum_tls_version: minimum_tls_version
delivery_protocol: delivery_protocol
browser_cache_settings_maximum_ttl: 0
origin_type: origin_type
Expand All @@ -2429,6 +2430,8 @@ components:
type: string
address:
type: string
minimum_tls_version:
type: string
origin_protocol_policy:
type: string
host_header:
Expand All @@ -2453,6 +2456,8 @@ components:
type: boolean
http3:
type: boolean
websocket:
type: boolean
required:
- name
type: object
Expand Down Expand Up @@ -2632,6 +2637,8 @@ components:
type: boolean
web_application_firewall:
type: boolean
websocket:
type: boolean
type: object
ApplicationUpdateResponse:
additionalProperties: false
Expand Down Expand Up @@ -2813,6 +2820,8 @@ components:
type: boolean
http3:
type: boolean
websocket:
type: boolean
supported_ciphers:
type: string
required:
Expand Down
30 changes: 27 additions & 3 deletions edgefirewall.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,15 @@ paths:
explode: true
schema:
type: integer
format: int64
- name: page_size
in: query
required: false
style: form
explode: true
schema:
type: integer
format: int64
- name: sort
in: query
required: false
Expand Down Expand Up @@ -63,6 +65,10 @@ paths:
responses:
"201":
description: Edge firewall created
content:
application/json:
schema:
$ref: '#/components/schemas/EdgeFirewallResponse'
"400":
description: Bad Request
"500":
Expand Down Expand Up @@ -111,7 +117,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/ListEdgeFirewallResponse'
$ref: '#/components/schemas/EdgeFirewallResponse'
"400":
description: Bad Request
"404":
Expand Down Expand Up @@ -157,7 +163,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/ListEdgeFirewallResponse'
$ref: '#/components/schemas/EdgeFirewallResponse'
"400":
description: Bad Request
"404":
Expand Down Expand Up @@ -204,6 +210,7 @@ components:
type: array
items:
type: integer
format: int64
example:
is_active: true
last_editor: last_editor
Expand Down Expand Up @@ -276,6 +283,7 @@ components:
type: array
items:
type: integer
format: int64
is_active:
type: boolean
edge_functions_enabled:
Expand Down Expand Up @@ -307,7 +315,23 @@ components:
last_modified: last_modified
debug_rules: true
UpdateEdgeFirewallRequest:
$ref: '#/components/schemas/ListEdgeFirewallResponse'
type: object
properties:
name:
type: string
domains:
type: array
items:
type: integer
format: int64
is_active:
type: boolean
edge_functions_enabled:
type: boolean
network_protection_enabled:
type: boolean
waf_enabled:
type: boolean
securitySchemes:
tokenAuth:
type: apiKey
Expand Down
4 changes: 2 additions & 2 deletions variables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ info:
name: MIT
url: https://github.com/aziontech/azionapi-openapi/blob/main/LICENSE.md
servers:
- description: Stage
url: https://stage-api.azion.net/variables
- description: Production
url: https://api.azionapi.net/variables
security:
- tokenAuth: []
paths:
Expand Down

0 comments on commit 6b1686b

Please sign in to comment.