Skip to content

Commit

Permalink
Merge pull request #2142 from ballerina-platform/fix-method-name
Browse files Browse the repository at this point in the history
Change resource/remote `function` to `method` in the Spec
  • Loading branch information
TharmiganK authored Sep 9, 2024
2 parents 2fac09c + 546e567 commit 6efc5e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/spec/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6efc5e7

Please sign in to comment.