Skip to content

Commit 2e340a4

Browse files
committed
📝 minor fixes to docstrings
1 parent ec41abb commit 2e340a4

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/parsing/v2/errorItem.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
import { StringDict } from "../common";
22

3+
/**
4+
* Explicit details on a problem.
5+
*/
36
export class ErrorItem {
47
/**
5-
* The HTTP status code returned by the server.
8+
* A JSON Pointer to the location of the body property.
69
*/
710
public pointer?: string;
811
/**

src/parsing/v2/errorResponse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export interface ErrorDetails {
1919
*/
2020
code: string;
2121
/**
22-
* A machine-readable code specific to the occurrence of the problem.
22+
* A list of explicit error details.
2323
*/
2424
errors: ErrorItem[];
2525
}

0 commit comments

Comments
 (0)