diff --git a/config/api/capif-mgmt.yaml b/config/api/capif-mgmt.yaml index 263264bc25b82e7e774a39f292cf48c83aae9f1d..36ff8a9cada8ea0c0a3347dcaed31481ab76a55a 100644 --- a/config/api/capif-mgmt.yaml +++ b/config/api/capif-mgmt.yaml @@ -627,22 +627,6 @@ paths: schema: $ref: '#/components/schemas/ServiceAPIDescription' example: - apiName: "mec030-1-new" - aefProfiles: - - aefId: "sandboxTransport" - versions: - - "3.1.1" - interfaceDescriptions: - uris: - - "http://my.callback.com/sbx2cmq8bn/mep1/vis/v2/" - fqdn: null - addresses: null - alternative: null - vendorSpecific-urn:etsi:mec:capifext:transport-info: - name: "REST" - type: "REST_HTTP" - protocol: "HTTP" - version: "2.0" vendorSpecific-urn:etsi:mec:capifext:service-info: serializer: "JSON" state: "ACTIVE" @@ -744,7 +728,16 @@ paths: application/json: schema: $ref: '#/components/schemas/EventSubscription' + example: + notificationDestination: "http://my.callback.com/mec_capif_mgmt_ser_availabilities/some-id" + events: + - "SERVICE_API_UNAVAILABLE" + eventFilters: + - apiIds: + - "0a0faac0-bcbb-4d45-b673-d37ac6d3dc13" + requestTestNotification: true required: true + responses: "201": description: | @@ -832,6 +825,14 @@ paths: application/json: schema: $ref: '#/components/schemas/EventSubscription' + example: + notificationDestination: "http://my.callback.com/mec_capif_mgmt_ser_availabilities/some-id" + events: + - "SERVICE_API_UNAVAILABLE" + eventFilters: + - apiIds: + - "0a0faac0-bcbb-4d45-b673-d37ac6d3dc13" + requestTestNotification: true required: true responses: "200": @@ -982,7 +983,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/EventSubscriptionPatch' + $ref: '#/components/schemas/EventSubscription' + example: + notificationDestination: "http://my.callback.com/mec_capif_mgmt_ser_availabilities/some-id" + events: + - "SERVICE_API_UNAVAILABLE" + eventFilters: + - apiIds: + - "0a0faac0-bcbb-4d45-b673-d37ac6d3dc13" required: true responses: "200":