Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions openapi-3-1/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ type Components = {
headers?: Record<string, Header | Reference>;
securitySchemes?: Record<string, SecurityScheme | Reference>;
links?: Record<string, Link | Reference>;
callbacks?: Record<string, Callbacks | Reference>;
callbacks?: Record<string, Callback | Reference>;
pathItems?: Record<string, PathItem | Reference>;
};

Expand Down Expand Up @@ -169,7 +169,7 @@ type Operation = {
parameters?: (Parameter | Reference)[];
requestBody?: RequestBody | Reference;
responses?: Record<string, Response | Reference>;
callbacks?: Record<string, Callbacks | Reference>;
callbacks?: Record<string, Callback | Reference>;
deprecated?: boolean;
security?: SecurityRequirement[];
servers?: Server[];
Expand Down Expand Up @@ -259,7 +259,7 @@ type Response = {
links?: Record<string, Link | Reference>;
};

type Callbacks = Record<string, PathItem | Reference>;
type Callback = Record<string, PathItem>;

type Example = {
summary?: string;
Expand Down
6 changes: 3 additions & 3 deletions openapi-3-2/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ type Components = {
headers?: Record<string, Header | Reference>;
securitySchemes?: Record<string, SecurityScheme | Reference>;
links?: Record<string, Link | Reference>;
callbacks?: Record<string, Callbacks | Reference>;
callbacks?: Record<string, Callback | Reference>;
pathItems?: Record<string, PathItem>;
mediaTypes?: Record<string, MediaType | Reference>;
};
Expand Down Expand Up @@ -177,7 +177,7 @@ type Operation = {
parameters?: (Parameter | Reference)[];
requestBody?: RequestBody | Reference;
responses?: Responses;
callbacks?: Record<string, Callbacks | Reference>;
callbacks?: Record<string, Callback | Reference>;
deprecated?: boolean;
security?: SecurityRequirement[];
servers?: Server[];
Expand Down Expand Up @@ -283,7 +283,7 @@ type Response = {
links?: Record<string, Link | Reference>;
};

type Callbacks = Record<string, PathItem | Reference>;
type Callback = Record<string, PathItem>;

type Examples = {
example?: Json;
Expand Down