Skip to content

Commit

Permalink
code refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
maheshc01 committed Jun 13, 2024
1 parent 75fc3cd commit 54edc86
Showing 1 changed file with 64 additions and 64 deletions.
128 changes: 64 additions & 64 deletions code/API_definitions/MEC exposure and experience management.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,11 @@ paths:
description: Application Profile
responses:
"200":
description: good
content:
application/json:
schema:
$ref: '#/components/schemas/ApplicationProfileId'
description: good
content:
application/json:
schema:
$ref: "#/components/schemas/ApplicationProfileId"
"401":
$ref: "#/components/responses/Unauthorized"
default:
Expand Down Expand Up @@ -267,22 +267,22 @@ paths:
summary: Delete a Application Profile
operationId: delete-application-profile
responses:
"200":
description: application profile has been deleted
"400":
$ref: "#/components/responses/Generic400"
"401":
$ref: "#/components/responses/Generic401"
"403":
$ref: "#/components/responses/Generic403"
"404":
$ref: "#/components/responses/Generic404"
"409":
$ref: "#/components/responses/Generic409"
"500":
$ref: "#/components/responses/Generic500"
"503":
$ref: "#/components/responses/Generic503"
"200":
description: application profile has been deleted
"400":
$ref: "#/components/responses/Generic400"
"401":
$ref: "#/components/responses/Generic401"
"403":
$ref: "#/components/responses/Generic403"
"404":
$ref: "#/components/responses/Generic404"
"409":
$ref: "#/components/responses/Generic409"
"500":
$ref: "#/components/responses/Generic500"
"503":
$ref: "#/components/responses/Generic503"
description: Delete Application Profile based on unique Application Profile ID
tags:
- Application Profiles
Expand Down Expand Up @@ -530,15 +530,15 @@ components:
type: object
properties:
packetDelayBudget:
$ref: '#/components/schemas/packetDelayBudget'
$ref: "#/components/schemas/packetDelayBudget"
targetMinDownstreamRate:
$ref: '#/components/schemas/targetMinDownstreamRate'
$ref: "#/components/schemas/targetMinDownstreamRate"
targetMinUpstreamRate:
$ref: '#/components/schemas/targetMinUpstreamRate'
$ref: "#/components/schemas/targetMinUpstreamRate"
packetlossErrorRate:
$ref: '#/components/schemas/packetErrorLossRate'
$ref: "#/components/schemas/packetErrorLossRate"
jitter:
$ref: '#/components/schemas/jitter'
$ref: "#/components/schemas/jitter"

applicationProfile:
type: object
Expand Down Expand Up @@ -602,48 +602,48 @@ components:
- $ref: "#/components/schemas/Rate"

Duration:
type: object
properties:
value:
type: integer
example: 12
format: int32
minimum: 1
unit:
allOf:
- $ref: "#/components/schemas/TimeUnitEnum"
- example: Minutes
type: object
properties:
value:
type: integer
example: 12
format: int32
minimum: 1
unit:
allOf:
- $ref: "#/components/schemas/TimeUnitEnum"
- example: Minutes
TimeUnitEnum:
type: string
enum:
- Days
- Hours
- Minutes
- Seconds
- Milliseconds
- Microseconds
- Nanoseconds
type: string
enum:
- Days
- Hours
- Minutes
- Seconds
- Milliseconds
- Microseconds
- Nanoseconds

Rate:
type: object
properties:
value:
type: integer
example: 10
format: int32
minimum: 0
maximum: 1024
unit:
$ref: "#/components/schemas/RateUnitEnum"
type: object
properties:
value:
type: integer
example: 10
format: int32
minimum: 0
maximum: 1024
unit:
$ref: "#/components/schemas/RateUnitEnum"

RateUnitEnum:
type: string
enum:
- bps
- kbps
- Mbps
- Gbps
- Tbps
type: string
enum:
- bps
- kbps
- Mbps
- Gbps
- Tbps

ResourcesEdgeHostedapplication:
description: Edge hosted application represented by application Endpoint definition
Expand Down Expand Up @@ -1004,4 +1004,4 @@ components:
example:
status: 503
code: UNAVAILABLE
message: "application unavailable"
message: "application unavailable"

0 comments on commit 54edc86

Please sign in to comment.