Loading config/api/capif-mgmt.yaml +30 −73 Original line number Diff line number Diff line Loading @@ -442,11 +442,9 @@ paths: versions: - apiVersion: "3.1.1" interfaceDescriptions: uris: - "http://my.callback.com/sbx2cmq8bn/mep1/vis/v2/" fqdn: null addresses: null alternative: null - fqdn: "my.callback.com" port: 80 apiPrefix: "/sbx2cmq8bn/mep1/vis/v2" vendorSpecific-urn:etsi:mec:capifext:transport-info: name: "REST" type: "REST_HTTP" Loading Loading @@ -633,11 +631,9 @@ paths: versions: - apiVersion: "3.1.1" interfaceDescriptions: uris: - "http://my.callback.com/sbx2cmq8bn/mep1/vis/v2/" fqdn: null addresses: null alternative: null - fqdn: "my.callback.com" port: 80 apiPrefix: "/sbx2cmq8bn/mep1/vis/v2" vendorSpecific-urn:etsi:mec:capifext:transport-info: name: "REST" type: "REST_HTTP" Loading Loading @@ -1335,11 +1331,9 @@ components: - apiVersion interfaceDescriptions: description: This type represents information about a transport endpoint oneOf: - $ref: '#/components/schemas/EndPointInfo.Uris' - $ref: '#/components/schemas/EndPointInfo.Fqdn' - $ref: '#/components/schemas/EndPointInfo.Addresses' - $ref: '#/components/schemas/EndPointInfo.Alternative' type: array items: $ref: '#/components/schemas/InterfaceDescription' x-etsi-notes: "NOTE:\tExactly one of \"uris\", \"fqdn\", \"addresses\" or\ \ \"alternative\" shall be present." vendorSpecific-urn:etsi:mec:capifext:transport-info : Loading Loading @@ -1439,69 +1433,32 @@ components: - RPC - RPC_STREAMING - WEBSOCKET EndPointInfo.Alternative: title: EndPointInfo.Alternative required: - alternative type: object properties: alternative: type: object description: "Entry point information of the service in a format defined\ \ by an implementation, or in an external specification. See note." description: This type represents information about a transport endpoint. EndPointInfo.Address: title: EndPointInfo.Address required: - host - port InterfaceDescription: type: object description: 3GPP-compliant InterfaceDescription (TS 29.222 Table 8.2.4.2.3-1) properties: host: ipv4Addr: type: string description: Host portion of the address example: "[\"192.0.2.0\"]" port: type: integer description: Port portion of the address description: A IP address and port pair EndPointInfo.Addresses: title: EndPointInfo.Addresses required: - addresses type: object properties: addresses: type: array description: Entry point information of the service as one or more pairs of IP address and port. See note. items: $ref: '#/components/schemas/EndPointInfo.Address' EndPointInfo.Fqdn: title: EndPointInfo.Fqdn required: - fqdn type: object properties: format: ipv4 description: IPv4 address ipv6Addr: type: string format: ipv6 description: IPv6 address fqdn: type: array description: Fully Qualified Domain Name of the service. See note. items: type: string description: 'This type represents information about a transport endpoint. ' EndPointInfo.Uris: title: EndPointInfo.Uris required: - uris type: object properties: uris: type: array description: "Entry point information of the service as string, formatted\ \ according to URI syntax" items: description: Fully Qualified Domain Name port: type: integer description: TCP port number apiPrefix: type: string description: This type represents information about a transport endpoint. description: Optional API prefix path (starts with '/') oneOf: - required: [ipv4Addr] - required: [ipv6Addr] - required: [fqdn] additionalProperties: false responses: "400": description: Bad Request. It is used to indicate that incorrect parameters were Loading Loading
config/api/capif-mgmt.yaml +30 −73 Original line number Diff line number Diff line Loading @@ -442,11 +442,9 @@ paths: versions: - apiVersion: "3.1.1" interfaceDescriptions: uris: - "http://my.callback.com/sbx2cmq8bn/mep1/vis/v2/" fqdn: null addresses: null alternative: null - fqdn: "my.callback.com" port: 80 apiPrefix: "/sbx2cmq8bn/mep1/vis/v2" vendorSpecific-urn:etsi:mec:capifext:transport-info: name: "REST" type: "REST_HTTP" Loading Loading @@ -633,11 +631,9 @@ paths: versions: - apiVersion: "3.1.1" interfaceDescriptions: uris: - "http://my.callback.com/sbx2cmq8bn/mep1/vis/v2/" fqdn: null addresses: null alternative: null - fqdn: "my.callback.com" port: 80 apiPrefix: "/sbx2cmq8bn/mep1/vis/v2" vendorSpecific-urn:etsi:mec:capifext:transport-info: name: "REST" type: "REST_HTTP" Loading Loading @@ -1335,11 +1331,9 @@ components: - apiVersion interfaceDescriptions: description: This type represents information about a transport endpoint oneOf: - $ref: '#/components/schemas/EndPointInfo.Uris' - $ref: '#/components/schemas/EndPointInfo.Fqdn' - $ref: '#/components/schemas/EndPointInfo.Addresses' - $ref: '#/components/schemas/EndPointInfo.Alternative' type: array items: $ref: '#/components/schemas/InterfaceDescription' x-etsi-notes: "NOTE:\tExactly one of \"uris\", \"fqdn\", \"addresses\" or\ \ \"alternative\" shall be present." vendorSpecific-urn:etsi:mec:capifext:transport-info : Loading Loading @@ -1439,69 +1433,32 @@ components: - RPC - RPC_STREAMING - WEBSOCKET EndPointInfo.Alternative: title: EndPointInfo.Alternative required: - alternative type: object properties: alternative: type: object description: "Entry point information of the service in a format defined\ \ by an implementation, or in an external specification. See note." description: This type represents information about a transport endpoint. EndPointInfo.Address: title: EndPointInfo.Address required: - host - port InterfaceDescription: type: object description: 3GPP-compliant InterfaceDescription (TS 29.222 Table 8.2.4.2.3-1) properties: host: ipv4Addr: type: string description: Host portion of the address example: "[\"192.0.2.0\"]" port: type: integer description: Port portion of the address description: A IP address and port pair EndPointInfo.Addresses: title: EndPointInfo.Addresses required: - addresses type: object properties: addresses: type: array description: Entry point information of the service as one or more pairs of IP address and port. See note. items: $ref: '#/components/schemas/EndPointInfo.Address' EndPointInfo.Fqdn: title: EndPointInfo.Fqdn required: - fqdn type: object properties: format: ipv4 description: IPv4 address ipv6Addr: type: string format: ipv6 description: IPv6 address fqdn: type: array description: Fully Qualified Domain Name of the service. See note. items: type: string description: 'This type represents information about a transport endpoint. ' EndPointInfo.Uris: title: EndPointInfo.Uris required: - uris type: object properties: uris: type: array description: "Entry point information of the service as string, formatted\ \ according to URI syntax" items: description: Fully Qualified Domain Name port: type: integer description: TCP port number apiPrefix: type: string description: This type represents information about a transport endpoint. description: Optional API prefix path (starts with '/') oneOf: - required: [ipv4Addr] - required: [ipv6Addr] - required: [fqdn] additionalProperties: false responses: "400": description: Bad Request. It is used to indicate that incorrect parameters were Loading