Skip to content

Commit

Permalink
fix: documentation bug in SetLevelRequest
Browse files Browse the repository at this point in the history
The description SetLevelRequest mention that logging notification
to be `notifications/logging/message` while in fact it is
`notifications/message`.

Github-Issue: #167
  • Loading branch information
dsp-ant committed Feb 21, 2025
1 parent bb1446f commit dfc8848
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion schema/2024-11-05/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1876,7 +1876,7 @@
"properties": {
"level": {
"$ref": "#/definitions/LoggingLevel",
"description": "The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/logging/message."
"description": "The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/message."
}
},
"required": [
Expand Down
2 changes: 1 addition & 1 deletion schema/2024-11-05/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ export interface SetLevelRequest extends Request {
method: "logging/setLevel";
params: {
/**
* The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/logging/message.
* The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/message.
*/
level: LoggingLevel;
};
Expand Down
2 changes: 1 addition & 1 deletion schema/draft/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1920,7 +1920,7 @@
"properties": {
"level": {
"$ref": "#/definitions/LoggingLevel",
"description": "The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/logging/message."
"description": "The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/message."
}
},
"required": [
Expand Down
2 changes: 1 addition & 1 deletion schema/draft/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ export interface SetLevelRequest extends Request {
method: "logging/setLevel";
params: {
/**
* The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/logging/message.
* The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/message.
*/
level: LoggingLevel;
};
Expand Down

0 comments on commit dfc8848

Please sign in to comment.