Skip to content

Commit c43b251

Browse files
Daniel A. WhiteEdVinyard
andauthored
feat(oas): adds unknown parameters to track as components (#140)
Co-authored-by: Ed Vinyard <ed.vinyard+github@gmail.com>
1 parent 98c0ab3 commit c43b251

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/http-spec.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ export interface IBundledHttpService extends Omit<IHttpService, 'securitySchemes
4444
query: (IComponentNode & (IHttpQueryParam<true> | Reference))[];
4545
header: (IComponentNode & (IHttpHeaderParam<true> | Reference))[];
4646
cookie: (IComponentNode & (IHttpCookieParam<true> | Reference))[];
47+
/**
48+
* component parameters that are only references to external/unavailable
49+
* parameter definitions; parameters whose definitions are available
50+
* will always be found in path, query, header, or cookie.
51+
*/
52+
unknownParameters: (IComponentNode & Reference)[];
4753
examples: (IComponentNode & (INodeExample | INodeExternalExample | Reference))[];
4854
requestBodies: (IComponentNode & (IHttpOperationRequestBody<true> | Reference))[];
4955
securitySchemes: (IComponentNode & (HttpSecurityScheme | Reference))[];

0 commit comments

Comments
 (0)