From 9d88386ba932a402494a8e0c04687a0a1f3aeb56 Mon Sep 17 00:00:00 2001 From: TharmiganK Date: Thu, 19 Sep 2024 09:29:57 +0530 Subject: [PATCH] Add suggestions from review --- docs/ballerina-to-oas/spec/spec.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ballerina-to-oas/spec/spec.md b/docs/ballerina-to-oas/spec/spec.md index e43465e0f..fca8d2f0b 100644 --- a/docs/ballerina-to-oas/spec/spec.md +++ b/docs/ballerina-to-oas/spec/spec.md @@ -725,7 +725,7 @@ parameters: nullable: true ``` -The query parameter name in the schema is defaulted to the Ballerina parameter name. But this can be overridden using the `@http:Query` annotation. +The query parameter name in the schema is defaulted to the Ballerina parameter name. But this can be overridden using the `name` attribute in the `@http:Query` annotation. ```ballerina service /api on new http:Listener(9090) { @@ -856,7 +856,7 @@ parameters: nullable: true ``` -The header parameter name in the schema is defaulted to the Ballerina parameter name. But this can be overridden using the `@http:Header` annotation. +The header parameter name in the schema is defaulted to the Ballerina parameter name. But this can be overridden using the `name` attribute in the `@http:Header` annotation. ```ballerina service /api on new http:Listener(9090) {