Skip to content

Commit 54edc86

Browse files
committed
code refactoring
1 parent 75fc3cd commit 54edc86

File tree

1 file changed

+64
-64
lines changed

1 file changed

+64
-64
lines changed

code/API_definitions/MEC exposure and experience management.yaml

+64-64
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,11 @@ paths:
176176
description: Application Profile
177177
responses:
178178
"200":
179-
description: good
180-
content:
181-
application/json:
182-
schema:
183-
$ref: '#/components/schemas/ApplicationProfileId'
179+
description: good
180+
content:
181+
application/json:
182+
schema:
183+
$ref: "#/components/schemas/ApplicationProfileId"
184184
"401":
185185
$ref: "#/components/responses/Unauthorized"
186186
default:
@@ -267,22 +267,22 @@ paths:
267267
summary: Delete a Application Profile
268268
operationId: delete-application-profile
269269
responses:
270-
"200":
271-
description: application profile has been deleted
272-
"400":
273-
$ref: "#/components/responses/Generic400"
274-
"401":
275-
$ref: "#/components/responses/Generic401"
276-
"403":
277-
$ref: "#/components/responses/Generic403"
278-
"404":
279-
$ref: "#/components/responses/Generic404"
280-
"409":
281-
$ref: "#/components/responses/Generic409"
282-
"500":
283-
$ref: "#/components/responses/Generic500"
284-
"503":
285-
$ref: "#/components/responses/Generic503"
270+
"200":
271+
description: application profile has been deleted
272+
"400":
273+
$ref: "#/components/responses/Generic400"
274+
"401":
275+
$ref: "#/components/responses/Generic401"
276+
"403":
277+
$ref: "#/components/responses/Generic403"
278+
"404":
279+
$ref: "#/components/responses/Generic404"
280+
"409":
281+
$ref: "#/components/responses/Generic409"
282+
"500":
283+
$ref: "#/components/responses/Generic500"
284+
"503":
285+
$ref: "#/components/responses/Generic503"
286286
description: Delete Application Profile based on unique Application Profile ID
287287
tags:
288288
- Application Profiles
@@ -530,15 +530,15 @@ components:
530530
type: object
531531
properties:
532532
packetDelayBudget:
533-
$ref: '#/components/schemas/packetDelayBudget'
533+
$ref: "#/components/schemas/packetDelayBudget"
534534
targetMinDownstreamRate:
535-
$ref: '#/components/schemas/targetMinDownstreamRate'
535+
$ref: "#/components/schemas/targetMinDownstreamRate"
536536
targetMinUpstreamRate:
537-
$ref: '#/components/schemas/targetMinUpstreamRate'
537+
$ref: "#/components/schemas/targetMinUpstreamRate"
538538
packetlossErrorRate:
539-
$ref: '#/components/schemas/packetErrorLossRate'
539+
$ref: "#/components/schemas/packetErrorLossRate"
540540
jitter:
541-
$ref: '#/components/schemas/jitter'
541+
$ref: "#/components/schemas/jitter"
542542

543543
applicationProfile:
544544
type: object
@@ -602,48 +602,48 @@ components:
602602
- $ref: "#/components/schemas/Rate"
603603

604604
Duration:
605-
type: object
606-
properties:
607-
value:
608-
type: integer
609-
example: 12
610-
format: int32
611-
minimum: 1
612-
unit:
613-
allOf:
614-
- $ref: "#/components/schemas/TimeUnitEnum"
615-
- example: Minutes
605+
type: object
606+
properties:
607+
value:
608+
type: integer
609+
example: 12
610+
format: int32
611+
minimum: 1
612+
unit:
613+
allOf:
614+
- $ref: "#/components/schemas/TimeUnitEnum"
615+
- example: Minutes
616616
TimeUnitEnum:
617-
type: string
618-
enum:
619-
- Days
620-
- Hours
621-
- Minutes
622-
- Seconds
623-
- Milliseconds
624-
- Microseconds
625-
- Nanoseconds
617+
type: string
618+
enum:
619+
- Days
620+
- Hours
621+
- Minutes
622+
- Seconds
623+
- Milliseconds
624+
- Microseconds
625+
- Nanoseconds
626626

627627
Rate:
628-
type: object
629-
properties:
630-
value:
631-
type: integer
632-
example: 10
633-
format: int32
634-
minimum: 0
635-
maximum: 1024
636-
unit:
637-
$ref: "#/components/schemas/RateUnitEnum"
628+
type: object
629+
properties:
630+
value:
631+
type: integer
632+
example: 10
633+
format: int32
634+
minimum: 0
635+
maximum: 1024
636+
unit:
637+
$ref: "#/components/schemas/RateUnitEnum"
638638

639639
RateUnitEnum:
640-
type: string
641-
enum:
642-
- bps
643-
- kbps
644-
- Mbps
645-
- Gbps
646-
- Tbps
640+
type: string
641+
enum:
642+
- bps
643+
- kbps
644+
- Mbps
645+
- Gbps
646+
- Tbps
647647

648648
ResourcesEdgeHostedapplication:
649649
description: Edge hosted application represented by application Endpoint definition
@@ -1004,4 +1004,4 @@ components:
10041004
example:
10051005
status: 503
10061006
code: UNAVAILABLE
1007-
message: "application unavailable"
1007+
message: "application unavailable"

0 commit comments

Comments
 (0)