Skip to content

Commit

Permalink
Add suggestions from review
Browse files Browse the repository at this point in the history
  • Loading branch information
TharmiganK committed Sep 19, 2024
1 parent e57066b commit 9d88386
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/ballerina-to-oas/spec/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 9d88386

Please sign in to comment.