From 546e567a64f7d79c149b6a857532c04d04a535e0 Mon Sep 17 00:00:00 2001 From: TharmiganK Date: Mon, 9 Sep 2024 09:27:47 +0530 Subject: [PATCH] Change resource/remote function to method --- docs/spec/spec.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/spec/spec.md b/docs/spec/spec.md index 8294d07f7b..81094bc2b4 100644 --- a/docs/spec/spec.md +++ b/docs/spec/spec.md @@ -351,7 +351,7 @@ service AlbumService on new http:Listener(9090) { The service implemented via the service contract type has the following restrictions: - None of the service level, resource level and parameter level HTTP annotation are allowed. - The base path is not allowed in the service declaration, and it is inferred from the service contract type. -- The service declaration cannot have additional resource functions which are not defined in the service contract type. +- The service declaration cannot have additional resource methods which are not defined in the service contract type. ### 2.3. Resource