Commit 7e21cc6e authored by Walter Featherstone's avatar Walter Featherstone
Browse files

Moving from Swagger 2.0 to OpenAPI 3.0

parents 7daaee41 ec6d7b0b
description: A port
type: string
example: '8080'
\ No newline at end of file
description: Protocol of the traffic filter
type: string
example: '?'
\ No newline at end of file
description: Used to match all packets that have the same Quality Class Indicator (QCI).
type: integer
format: uint32
example: 1
\ No newline at end of file
description: Used to match all IPv6 packets that have the same Traffic Class.
type: integer
format: uint32
example: 1
\ No newline at end of file
description: Used for token based traffic rule
type: string
example: '?'
\ No newline at end of file
description: Used for GTP tunnel based traffic rule
type: string
example: '?'
\ No newline at end of file
description: Used for GTP tunnel based traffic rule
type: string
example: '?'
\ No newline at end of file
description: This type represents the traffic filter.
type: object
properties:
srcAddress:
description: An IP address or a range of IP address. For IPv4, the IP address could be an IP address plus mask, or an individual IP address, or a range of IP addresses. For IPv6, the IP address could be an IP prefix, or a range of IP prefixes.
type: array
items:
$ref: '#/definitions/TrafficFilter.Address'
dstAddress:
description: An IP address or a range of IP address. For IPv4, the IP address could be an IP address plus mask, or an individual IP address, or a range of IP addresses. For IPv6, the IP address could be an IP prefix, or a range of IP prefixes.
type: array
items:
$ref: '#/definitions/TrafficFilter.Address'
srcPort:
description: A port or a range of ports
type: array
items:
$ref: '#/definitions/TrafficFilter.Port'
dstPort:
description: A port or a range of ports
type: array
items:
$ref: '#/definitions/TrafficFilter.Port'
protocol:
description: Specify the protocol of the traffic filter
type: array
items:
$ref: '#/definitions/TrafficFilter.Protocol'
token:
description: Used for token based traffic rule
type: array
items:
$ref: '#/definitions/TrafficFilter.Token'
srcTunnelAddress:
description: Used for GTP tunnel based traffic rule
type: array
items:
$ref: '#/definitions/TrafficFilter.TunnelAddress'
tgtTunnelAddress:
description: Used for GTP tunnel based traffic rule
type: array
items:
$ref: '#/definitions/TrafficFilter.TunnelAddress'
srcTunnelPort:
description: Used for GTP tunnel based traffic rule
type: array
items:
$ref: '#/definitions/TrafficFilter.TunnelPort'
dstTunnelPort:
description: Used for GTP tunnel based traffic rule
type: array
items:
$ref: '#/definitions/TrafficFilter.TunnelPort'
qCI:
$ref: '#/definitions/TrafficFilter.QCI'
dSCP:
$ref: '#/definitions/TrafficFilter.DSCP'
tC:
$ref: '#/definitions/TrafficFilter.TC'
\ No newline at end of file
description: The action of the ME host data plane when a packet matches the trafficFilter
type: string
enum:
- DROP
- FORWARD_DECAPSULATED
- FORWARD_AS_IS
- PASSTHROUGH
- DUPLICATE_DECAPSULATED
- DUPLICATE_AS_IS
example: 'DROP'
\ No newline at end of file
description: Definition of filter per FLOW or PACKET. If flow the filter match UE->EPC packet and the reverse packet is handled in the same context
type: string
enum:
- FLOW
- PACKET
example: 'FLOW'
\ No newline at end of file
description: Identify the traffic rule.
type: string
example: 'TrafficRule1'
\ No newline at end of file
description: Priority of this traffic rule. If traffic rule conflicts, the one with higher priority take precedence
type: integer
format: uint32
example: 1
\ No newline at end of file
description: Contains the traffic rule state
type: string
enum:
- ACTIVE
- INACTIVE
example: 'ACTIVE'
\ No newline at end of file
description: This type represents the general information of a traffic rule.
type: object
required:
- trafficRuleId
- filterType
- priority
- trafficFilter
- action
- state
properties:
trafficRuleId:
$ref: '#/definitions/TrafficRule.Id'
filterType:
$ref: '#/definitions/TrafficRule.FilterType'
priority:
$ref: '#/definitions/TrafficRule.Priority'
trafficFilter:
type: array
items:
$ref: '#/definitions/TrafficFilter'
action:
$ref: '#/definitions/TrafficRule.Action'
dstInterface:
$ref: '#/definitions/DestinationInterface'
state:
$ref: '#/definitions/TrafficRule.State'
\ No newline at end of file
description: Human-readable description of this transport
type: string
example: 'REST API'
\ No newline at end of file
description: The identifier of this transport
type: string
example: 'TransId12345'
\ No newline at end of file
description: Additional implementation specific details of the transport
type: object
\ No newline at end of file
description: The name of this transport
type: string
example: 'REST'
\ No newline at end of file
description: The name of the protocol used. Shall be set to HTTP for a REST API.
type: string
example: 'HTTP'
\ No newline at end of file
description: The version of the protocol used
type: string
example: '2.0'
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment