Skip to content

Commit

Permalink
Update connected-network-type.yaml
Browse files Browse the repository at this point in the history
changed api-name to connected-network-type
changed path to /retrieve only
added to description of /retrieve method
changed schema label from RequestConnectedNetworkType to ConnectedNetworkTypeRequest
  • Loading branch information
gmuratk authored Dec 2, 2024
1 parent 5d94fb0 commit 93e3c7d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions code/API_definitions/connected-network-type.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ info:
## Connected Network Type
The endpoint `POST /retrieve-network-type` allows to get connected Network Type.
The endpoint `POST /retrieve` allows to get connected Network Type.
## Further info and support
Expand All @@ -50,7 +50,7 @@ externalDocs:
url: https://github.com/camaraproject/

servers:
- url: "{apiRoot}/network-type-retrieval/vwip"
- url: "{apiRoot}/connected-network-type/vwip"
variables:
apiRoot:
default: http://localhost:9091
Expand All @@ -59,12 +59,12 @@ tags:
- name: Connected Network Type
description: Operations to get the network type device is connected to
paths:
/retrieve-network-type:
/retrieve:
post:
tags:
- Connected Network Type
summary: "Get the connected network type"
description: Get the connected network type
description: Get the connected network type to which the user device is connected
operationId: getConnectedNetworkType
parameters:
- $ref: '#/components/parameters/x-correlator'
Expand All @@ -75,7 +75,7 @@ paths:
content:
application/json:
schema:
$ref: "#/components/schemas/RequestConnectedNetworkType"
$ref: "#/components/schemas/ConnectedNetworkTypeRequest"
required: true
responses:
"200":
Expand Down Expand Up @@ -242,7 +242,7 @@ components:
format: ipv6
example: 2001:db8:85a3:8d3:1319:8a2e:370:7344

RequestConnectedNetworkType:
ConnectedNetworkTypeRequest:
type: object
properties:
device:
Expand Down

0 comments on commit 93e3c7d

Please sign in to comment.