diff --git a/exporters/src/test/scala/amf/exporters/VocabularyPropertiesTest.scala b/exporters/src/test/scala/amf/exporters/VocabularyPropertiesTest.scala index ff8d658..ca122c9 100644 --- a/exporters/src/test/scala/amf/exporters/VocabularyPropertiesTest.scala +++ b/exporters/src/test/scala/amf/exporters/VocabularyPropertiesTest.scala @@ -26,7 +26,7 @@ class VocabularyPropertiesTest extends AsyncFunSuite with VocabularyTest { } test("Vocabularies parsing api_contract") { - testVocabulary(api_contract, 32, 49) + testVocabulary(api_contract, 32, 50) } test("Vocabularies parsing core") { diff --git a/transform/dependencies.properties b/transform/dependencies.properties index 33dad80..67c64a5 100644 --- a/transform/dependencies.properties +++ b/transform/dependencies.properties @@ -1,4 +1,4 @@ # Leave here for the publication process to detect if amf-transform has to be published! # Because we publish a version of amf-transform for each version of amf-client publish. -amf.apicontract=5.6.3 -amf.rdf=6.6.1 +amf.apicontract=5.6.4 +amf.rdf=6.6.2 diff --git a/versions.yaml b/versions.yaml index 9ddb87b..58be273 100644 --- a/versions.yaml +++ b/versions.yaml @@ -1,2 +1,2 @@ -amf.vocabulary: 55.0.0 -amf.transform: 2.39.0 +amf.vocabulary: 56.0.0 +amf.transform: 2.40.0 diff --git a/vocabulary/src/main/resources/dialects/canonical_webapi_spec.yaml b/vocabulary/src/main/resources/dialects/canonical_webapi_spec.yaml index e14ee97..dfa7156 100644 --- a/vocabulary/src/main/resources/dialects/canonical_webapi_spec.yaml +++ b/vocabulary/src/main/resources/dialects/canonical_webapi_spec.yaml @@ -279,6 +279,10 @@ nodeMappings: propertyTerm: apiContract.endpoint range: EndPoint allowMultiple: true + webhooks: + propertyTerm: apiContract.webhooks + range: EndPoint + allowMultiple: true security: propertyTerm: security.security range: SecurityRequirement diff --git a/vocabulary/src/main/resources/vocabularies/api_contract.yaml b/vocabulary/src/main/resources/vocabularies/api_contract.yaml index a8964a7..d0f56dd 100644 --- a/vocabulary/src/main/resources/vocabularies/api_contract.yaml +++ b/vocabulary/src/main/resources/vocabularies/api_contract.yaml @@ -347,3 +347,7 @@ propertyTerms: displayName: variable description: Variables in the URL for the server range: Parameter + webhooks: + displayName: webhooks + description: Webhooks defined in the API + range: EndPoint