@twin.org/tools-models 0.0.3-next.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +21 -0
- package/dist/es/index.js +36 -0
- package/dist/es/index.js.map +1 -0
- package/dist/es/models/jsonSchema/IJsonSchema.js +4 -0
- package/dist/es/models/jsonSchema/IJsonSchema.js.map +1 -0
- package/dist/es/models/jsonSchema/jsonSchemaTagNames.js +58 -0
- package/dist/es/models/jsonSchema/jsonSchemaTagNames.js.map +1 -0
- package/dist/es/models/jsonSchema/jsonSchemaTypeNames.js +4 -0
- package/dist/es/models/jsonSchema/jsonSchemaTypeNames.js.map +1 -0
- package/dist/es/models/openApi/IOpenApi.js +2 -0
- package/dist/es/models/openApi/IOpenApi.js.map +1 -0
- package/dist/es/models/openApi/IOpenApiComponents.js +2 -0
- package/dist/es/models/openApi/IOpenApiComponents.js.map +1 -0
- package/dist/es/models/openApi/IOpenApiContact.js +4 -0
- package/dist/es/models/openApi/IOpenApiContact.js.map +1 -0
- package/dist/es/models/openApi/IOpenApiExample.js +4 -0
- package/dist/es/models/openApi/IOpenApiExample.js.map +1 -0
- package/dist/es/models/openApi/IOpenApiExternalDocumentation.js +4 -0
- package/dist/es/models/openApi/IOpenApiExternalDocumentation.js.map +1 -0
- package/dist/es/models/openApi/IOpenApiHeader.js +2 -0
- package/dist/es/models/openApi/IOpenApiHeader.js.map +1 -0
- package/dist/es/models/openApi/IOpenApiInfo.js +2 -0
- package/dist/es/models/openApi/IOpenApiInfo.js.map +1 -0
- package/dist/es/models/openApi/IOpenApiLicense.js +4 -0
- package/dist/es/models/openApi/IOpenApiLicense.js.map +1 -0
- package/dist/es/models/openApi/IOpenApiMediaType.js +2 -0
- package/dist/es/models/openApi/IOpenApiMediaType.js.map +1 -0
- package/dist/es/models/openApi/IOpenApiOAuthFlow.js +4 -0
- package/dist/es/models/openApi/IOpenApiOAuthFlow.js.map +1 -0
- package/dist/es/models/openApi/IOpenApiOAuthFlows.js +2 -0
- package/dist/es/models/openApi/IOpenApiOAuthFlows.js.map +1 -0
- package/dist/es/models/openApi/IOpenApiParameter.js +2 -0
- package/dist/es/models/openApi/IOpenApiParameter.js.map +1 -0
- package/dist/es/models/openApi/IOpenApiPathItem.js +2 -0
- package/dist/es/models/openApi/IOpenApiPathItem.js.map +1 -0
- package/dist/es/models/openApi/IOpenApiPathMethod.js +2 -0
- package/dist/es/models/openApi/IOpenApiPathMethod.js.map +1 -0
- package/dist/es/models/openApi/IOpenApiReference.js +4 -0
- package/dist/es/models/openApi/IOpenApiReference.js.map +1 -0
- package/dist/es/models/openApi/IOpenApiRequestBody.js +2 -0
- package/dist/es/models/openApi/IOpenApiRequestBody.js.map +1 -0
- package/dist/es/models/openApi/IOpenApiResponse.js +2 -0
- package/dist/es/models/openApi/IOpenApiResponse.js.map +1 -0
- package/dist/es/models/openApi/IOpenApiResponses.js +2 -0
- package/dist/es/models/openApi/IOpenApiResponses.js.map +1 -0
- package/dist/es/models/openApi/IOpenApiSecurityRequirement.js +4 -0
- package/dist/es/models/openApi/IOpenApiSecurityRequirement.js.map +1 -0
- package/dist/es/models/openApi/IOpenApiSecurityScheme.js +2 -0
- package/dist/es/models/openApi/IOpenApiSecurityScheme.js.map +1 -0
- package/dist/es/models/openApi/IOpenApiServer.js +2 -0
- package/dist/es/models/openApi/IOpenApiServer.js.map +1 -0
- package/dist/es/models/openApi/IOpenApiServerVariable.js +4 -0
- package/dist/es/models/openApi/IOpenApiServerVariable.js.map +1 -0
- package/dist/es/models/openApi/IOpenApiTag.js +2 -0
- package/dist/es/models/openApi/IOpenApiTag.js.map +1 -0
- package/dist/es/models/openApi/openApiConstants.js +12 -0
- package/dist/es/models/openApi/openApiConstants.js.map +1 -0
- package/dist/es/models/packageJson/IPackageJson.js +4 -0
- package/dist/es/models/packageJson/IPackageJson.js.map +1 -0
- package/dist/es/models/packageJson/IPackageJsonBugs.js +4 -0
- package/dist/es/models/packageJson/IPackageJsonBugs.js.map +1 -0
- package/dist/es/models/packageJson/IPackageJsonPerson.js +4 -0
- package/dist/es/models/packageJson/IPackageJsonPerson.js.map +1 -0
- package/dist/es/models/packageJson/IPackageJsonPublishConfig.js +4 -0
- package/dist/es/models/packageJson/IPackageJsonPublishConfig.js.map +1 -0
- package/dist/es/models/packageJson/IPackageJsonRepository.js +4 -0
- package/dist/es/models/packageJson/IPackageJsonRepository.js.map +1 -0
- package/dist/es/models/packageJson/IPackageJsonStringMap.js +4 -0
- package/dist/es/models/packageJson/IPackageJsonStringMap.js.map +1 -0
- package/dist/types/index.d.ts +33 -0
- package/dist/types/models/jsonSchema/IJsonSchema.d.ts +372 -0
- package/dist/types/models/jsonSchema/jsonSchemaTagNames.d.ts +4 -0
- package/dist/types/models/jsonSchema/jsonSchemaTypeNames.d.ts +4 -0
- package/dist/types/models/openApi/IOpenApi.d.ts +72 -0
- package/dist/types/models/openApi/IOpenApiComponents.d.ts +70 -0
- package/dist/types/models/openApi/IOpenApiContact.d.ts +21 -0
- package/dist/types/models/openApi/IOpenApiExample.d.ts +30 -0
- package/dist/types/models/openApi/IOpenApiExternalDocumentation.d.ts +14 -0
- package/dist/types/models/openApi/IOpenApiHeader.d.ts +50 -0
- package/dist/types/models/openApi/IOpenApiInfo.d.ts +43 -0
- package/dist/types/models/openApi/IOpenApiLicense.d.ts +21 -0
- package/dist/types/models/openApi/IOpenApiMediaType.d.ts +41 -0
- package/dist/types/models/openApi/IOpenApiOAuthFlow.d.ts +28 -0
- package/dist/types/models/openApi/IOpenApiOAuthFlows.d.ts +27 -0
- package/dist/types/models/openApi/IOpenApiParameter.d.ts +74 -0
- package/dist/types/models/openApi/IOpenApiPathItem.d.ts +72 -0
- package/dist/types/models/openApi/IOpenApiPathMethod.d.ts +75 -0
- package/dist/types/models/openApi/IOpenApiReference.d.ts +18 -0
- package/dist/types/models/openApi/IOpenApiRequestBody.d.ts +22 -0
- package/dist/types/models/openApi/IOpenApiResponse.d.ts +35 -0
- package/dist/types/models/openApi/IOpenApiResponses.d.ts +18 -0
- package/dist/types/models/openApi/IOpenApiSecurityRequirement.d.ts +7 -0
- package/dist/types/models/openApi/IOpenApiSecurityScheme.d.ts +33 -0
- package/dist/types/models/openApi/IOpenApiServer.d.ts +29 -0
- package/dist/types/models/openApi/IOpenApiServerVariable.d.ts +21 -0
- package/dist/types/models/openApi/IOpenApiTag.d.ts +31 -0
- package/dist/types/models/openApi/openApiConstants.d.ts +9 -0
- package/dist/types/models/packageJson/IPackageJson.d.ts +134 -0
- package/dist/types/models/packageJson/IPackageJsonBugs.d.ts +7 -0
- package/dist/types/models/packageJson/IPackageJsonPerson.d.ts +8 -0
- package/dist/types/models/packageJson/IPackageJsonPublishConfig.d.ts +6 -0
- package/dist/types/models/packageJson/IPackageJsonRepository.d.ts +8 -0
- package/dist/types/models/packageJson/IPackageJsonStringMap.d.ts +6 -0
- package/docs/changelog.md +10 -0
- package/docs/examples.md +85 -0
- package/docs/reference/classes/OpenApiConstants.md +21 -0
- package/docs/reference/index.md +48 -0
- package/docs/reference/interfaces/IJsonSchema.md +795 -0
- package/docs/reference/interfaces/IOpenApi.md +147 -0
- package/docs/reference/interfaces/IOpenApiComponents.md +115 -0
- package/docs/reference/interfaces/IOpenApiContact.md +43 -0
- package/docs/reference/interfaces/IOpenApiExample.md +55 -0
- package/docs/reference/interfaces/IOpenApiExternalDocumentation.md +23 -0
- package/docs/reference/interfaces/IOpenApiHeader.md +87 -0
- package/docs/reference/interfaces/IOpenApiInfo.md +91 -0
- package/docs/reference/interfaces/IOpenApiLicense.md +43 -0
- package/docs/reference/interfaces/IOpenApiMediaType.md +71 -0
- package/docs/reference/interfaces/IOpenApiOAuthFlow.md +51 -0
- package/docs/reference/interfaces/IOpenApiOAuthFlows.md +47 -0
- package/docs/reference/interfaces/IOpenApiParameter.md +119 -0
- package/docs/reference/interfaces/IOpenApiPathItem.md +131 -0
- package/docs/reference/interfaces/IOpenApiPathMethod.md +155 -0
- package/docs/reference/interfaces/IOpenApiReference.md +31 -0
- package/docs/reference/interfaces/IOpenApiRequestBody.md +35 -0
- package/docs/reference/interfaces/IOpenApiResponse.md +59 -0
- package/docs/reference/interfaces/IOpenApiResponses.md +29 -0
- package/docs/reference/interfaces/IOpenApiSecurityRequirement.md +11 -0
- package/docs/reference/interfaces/IOpenApiServer.md +59 -0
- package/docs/reference/interfaces/IOpenApiServerVariable.md +43 -0
- package/docs/reference/interfaces/IOpenApiTag.md +55 -0
- package/docs/reference/interfaces/IPackageJson.md +295 -0
- package/docs/reference/interfaces/IPackageJsonPublishConfig.md +7 -0
- package/docs/reference/interfaces/IPackageJsonStringMap.md +7 -0
- package/docs/reference/type-aliases/IOpenApiSecurityScheme.md +9 -0
- package/docs/reference/type-aliases/IPackageJsonBugs.md +5 -0
- package/docs/reference/type-aliases/IPackageJsonPerson.md +5 -0
- package/docs/reference/type-aliases/IPackageJsonRepository.md +5 -0
- package/docs/reference/type-aliases/JsonSchemaTypeNames.md +5 -0
- package/docs/reference/type-aliases/OpenApiParameterLocation.md +5 -0
- package/docs/reference/type-aliases/OpenApiParameterStyle.md +5 -0
- package/docs/reference/variables/JsonSchemaTagNames.md +5 -0
- package/locales/en.json +1 -0
- package/package.json +51 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Interface: IOpenApiOAuthFlow
|
|
2
|
+
|
|
3
|
+
An OpenAPI OAuth Flow Object.
|
|
4
|
+
|
|
5
|
+
## See
|
|
6
|
+
|
|
7
|
+
https://spec.openapis.org/oas/latest.html#oauth-flow-object
|
|
8
|
+
|
|
9
|
+
## Properties
|
|
10
|
+
|
|
11
|
+
### authorizationUrl? {#authorizationurl}
|
|
12
|
+
|
|
13
|
+
> `optional` **authorizationUrl?**: `string`
|
|
14
|
+
|
|
15
|
+
The authorization URL for this flow.
|
|
16
|
+
|
|
17
|
+
***
|
|
18
|
+
|
|
19
|
+
### deviceAuthorizationUrl? {#deviceauthorizationurl}
|
|
20
|
+
|
|
21
|
+
> `optional` **deviceAuthorizationUrl?**: `string`
|
|
22
|
+
|
|
23
|
+
The device authorization URL for this flow.
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### tokenUrl? {#tokenurl}
|
|
28
|
+
|
|
29
|
+
> `optional` **tokenUrl?**: `string`
|
|
30
|
+
|
|
31
|
+
The token URL for this flow.
|
|
32
|
+
|
|
33
|
+
***
|
|
34
|
+
|
|
35
|
+
### refreshUrl? {#refreshurl}
|
|
36
|
+
|
|
37
|
+
> `optional` **refreshUrl?**: `string`
|
|
38
|
+
|
|
39
|
+
The refresh URL for this flow.
|
|
40
|
+
|
|
41
|
+
***
|
|
42
|
+
|
|
43
|
+
### scopes {#scopes}
|
|
44
|
+
|
|
45
|
+
> **scopes**: `object`
|
|
46
|
+
|
|
47
|
+
Available scopes for this flow.
|
|
48
|
+
|
|
49
|
+
#### Index Signature
|
|
50
|
+
|
|
51
|
+
\[`name`: `string`\]: `string`
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Interface: IOpenApiOAuthFlows
|
|
2
|
+
|
|
3
|
+
An OpenAPI OAuth Flows Object.
|
|
4
|
+
|
|
5
|
+
## See
|
|
6
|
+
|
|
7
|
+
https://spec.openapis.org/oas/latest.html#oauth-flows-object
|
|
8
|
+
|
|
9
|
+
## Properties
|
|
10
|
+
|
|
11
|
+
### implicit? {#implicit}
|
|
12
|
+
|
|
13
|
+
> `optional` **implicit?**: [`IOpenApiOAuthFlow`](IOpenApiOAuthFlow.md)
|
|
14
|
+
|
|
15
|
+
Configuration for the implicit flow.
|
|
16
|
+
|
|
17
|
+
***
|
|
18
|
+
|
|
19
|
+
### password? {#password}
|
|
20
|
+
|
|
21
|
+
> `optional` **password?**: [`IOpenApiOAuthFlow`](IOpenApiOAuthFlow.md)
|
|
22
|
+
|
|
23
|
+
Configuration for the resource owner password flow.
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### clientCredentials? {#clientcredentials}
|
|
28
|
+
|
|
29
|
+
> `optional` **clientCredentials?**: [`IOpenApiOAuthFlow`](IOpenApiOAuthFlow.md)
|
|
30
|
+
|
|
31
|
+
Configuration for the client credentials flow.
|
|
32
|
+
|
|
33
|
+
***
|
|
34
|
+
|
|
35
|
+
### authorizationCode? {#authorizationcode}
|
|
36
|
+
|
|
37
|
+
> `optional` **authorizationCode?**: [`IOpenApiOAuthFlow`](IOpenApiOAuthFlow.md)
|
|
38
|
+
|
|
39
|
+
Configuration for the authorization code flow.
|
|
40
|
+
|
|
41
|
+
***
|
|
42
|
+
|
|
43
|
+
### deviceAuthorization? {#deviceauthorization}
|
|
44
|
+
|
|
45
|
+
> `optional` **deviceAuthorization?**: [`IOpenApiOAuthFlow`](IOpenApiOAuthFlow.md)
|
|
46
|
+
|
|
47
|
+
Configuration for the device authorization flow.
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
# Interface: IOpenApiParameter
|
|
2
|
+
|
|
3
|
+
An OpenAPI Parameter Object.
|
|
4
|
+
|
|
5
|
+
## See
|
|
6
|
+
|
|
7
|
+
https://spec.openapis.org/oas/latest.html#parameter-object
|
|
8
|
+
|
|
9
|
+
## Properties
|
|
10
|
+
|
|
11
|
+
### name {#name}
|
|
12
|
+
|
|
13
|
+
> **name**: `string`
|
|
14
|
+
|
|
15
|
+
The name of the parameter.
|
|
16
|
+
|
|
17
|
+
***
|
|
18
|
+
|
|
19
|
+
### in {#in}
|
|
20
|
+
|
|
21
|
+
> **in**: [`OpenApiParameterLocation`](../type-aliases/OpenApiParameterLocation.md)
|
|
22
|
+
|
|
23
|
+
The location of the parameter.
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### description? {#description}
|
|
28
|
+
|
|
29
|
+
> `optional` **description?**: `string`
|
|
30
|
+
|
|
31
|
+
A brief description of the parameter.
|
|
32
|
+
|
|
33
|
+
***
|
|
34
|
+
|
|
35
|
+
### required? {#required}
|
|
36
|
+
|
|
37
|
+
> `optional` **required?**: `boolean`
|
|
38
|
+
|
|
39
|
+
Whether the parameter is required.
|
|
40
|
+
|
|
41
|
+
***
|
|
42
|
+
|
|
43
|
+
### deprecated? {#deprecated}
|
|
44
|
+
|
|
45
|
+
> `optional` **deprecated?**: `boolean`
|
|
46
|
+
|
|
47
|
+
Whether the parameter is deprecated.
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### allowEmptyValue? {#allowemptyvalue}
|
|
52
|
+
|
|
53
|
+
> `optional` **allowEmptyValue?**: `boolean`
|
|
54
|
+
|
|
55
|
+
Whether empty values are allowed for query parameters.
|
|
56
|
+
|
|
57
|
+
***
|
|
58
|
+
|
|
59
|
+
### example? {#example}
|
|
60
|
+
|
|
61
|
+
> `optional` **example?**: `unknown`
|
|
62
|
+
|
|
63
|
+
A shorthand example for the parameter.
|
|
64
|
+
|
|
65
|
+
***
|
|
66
|
+
|
|
67
|
+
### examples? {#examples}
|
|
68
|
+
|
|
69
|
+
> `optional` **examples?**: `object`
|
|
70
|
+
|
|
71
|
+
Named examples for the parameter.
|
|
72
|
+
|
|
73
|
+
#### Index Signature
|
|
74
|
+
|
|
75
|
+
\[`id`: `string`\]: [`IOpenApiExample`](IOpenApiExample.md) \| [`IOpenApiReference`](IOpenApiReference.md)
|
|
76
|
+
|
|
77
|
+
***
|
|
78
|
+
|
|
79
|
+
### style? {#style}
|
|
80
|
+
|
|
81
|
+
> `optional` **style?**: [`OpenApiParameterStyle`](../type-aliases/OpenApiParameterStyle.md)
|
|
82
|
+
|
|
83
|
+
The serialization style for the parameter.
|
|
84
|
+
|
|
85
|
+
***
|
|
86
|
+
|
|
87
|
+
### explode? {#explode}
|
|
88
|
+
|
|
89
|
+
> `optional` **explode?**: `boolean`
|
|
90
|
+
|
|
91
|
+
Whether exploded serialization is used.
|
|
92
|
+
|
|
93
|
+
***
|
|
94
|
+
|
|
95
|
+
### allowReserved? {#allowreserved}
|
|
96
|
+
|
|
97
|
+
> `optional` **allowReserved?**: `boolean`
|
|
98
|
+
|
|
99
|
+
Whether reserved characters may pass through unchanged.
|
|
100
|
+
|
|
101
|
+
***
|
|
102
|
+
|
|
103
|
+
### schema? {#schema}
|
|
104
|
+
|
|
105
|
+
> `optional` **schema?**: [`IJsonSchema`](IJsonSchema.md)
|
|
106
|
+
|
|
107
|
+
The schema describing the parameter.
|
|
108
|
+
|
|
109
|
+
***
|
|
110
|
+
|
|
111
|
+
### content? {#content}
|
|
112
|
+
|
|
113
|
+
> `optional` **content?**: `object`
|
|
114
|
+
|
|
115
|
+
Content-based parameter serialization.
|
|
116
|
+
|
|
117
|
+
#### Index Signature
|
|
118
|
+
|
|
119
|
+
\[`contentType`: `string`\]: [`IOpenApiReference`](IOpenApiReference.md) \| [`IOpenApiMediaType`](IOpenApiMediaType.md)
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
# Interface: IOpenApiPathItem
|
|
2
|
+
|
|
3
|
+
An OpenAPI Path Item Object.
|
|
4
|
+
|
|
5
|
+
## See
|
|
6
|
+
|
|
7
|
+
https://spec.openapis.org/oas/latest.html#path-item-object
|
|
8
|
+
|
|
9
|
+
## Properties
|
|
10
|
+
|
|
11
|
+
### $ref? {#ref}
|
|
12
|
+
|
|
13
|
+
> `optional` **$ref?**: `string`
|
|
14
|
+
|
|
15
|
+
A referenced definition of this path item.
|
|
16
|
+
|
|
17
|
+
***
|
|
18
|
+
|
|
19
|
+
### summary? {#summary}
|
|
20
|
+
|
|
21
|
+
> `optional` **summary?**: `string`
|
|
22
|
+
|
|
23
|
+
A summary applying to all operations in the path.
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### description? {#description}
|
|
28
|
+
|
|
29
|
+
> `optional` **description?**: `string`
|
|
30
|
+
|
|
31
|
+
A description applying to all operations in the path.
|
|
32
|
+
|
|
33
|
+
***
|
|
34
|
+
|
|
35
|
+
### get? {#get}
|
|
36
|
+
|
|
37
|
+
> `optional` **get?**: [`IOpenApiPathMethod`](IOpenApiPathMethod.md)
|
|
38
|
+
|
|
39
|
+
A GET operation on the path.
|
|
40
|
+
|
|
41
|
+
***
|
|
42
|
+
|
|
43
|
+
### put? {#put}
|
|
44
|
+
|
|
45
|
+
> `optional` **put?**: [`IOpenApiPathMethod`](IOpenApiPathMethod.md)
|
|
46
|
+
|
|
47
|
+
A PUT operation on the path.
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### post? {#post}
|
|
52
|
+
|
|
53
|
+
> `optional` **post?**: [`IOpenApiPathMethod`](IOpenApiPathMethod.md)
|
|
54
|
+
|
|
55
|
+
A POST operation on the path.
|
|
56
|
+
|
|
57
|
+
***
|
|
58
|
+
|
|
59
|
+
### delete? {#delete}
|
|
60
|
+
|
|
61
|
+
> `optional` **delete?**: [`IOpenApiPathMethod`](IOpenApiPathMethod.md)
|
|
62
|
+
|
|
63
|
+
A DELETE operation on the path.
|
|
64
|
+
|
|
65
|
+
***
|
|
66
|
+
|
|
67
|
+
### options? {#options}
|
|
68
|
+
|
|
69
|
+
> `optional` **options?**: [`IOpenApiPathMethod`](IOpenApiPathMethod.md)
|
|
70
|
+
|
|
71
|
+
An OPTIONS operation on the path.
|
|
72
|
+
|
|
73
|
+
***
|
|
74
|
+
|
|
75
|
+
### head? {#head}
|
|
76
|
+
|
|
77
|
+
> `optional` **head?**: [`IOpenApiPathMethod`](IOpenApiPathMethod.md)
|
|
78
|
+
|
|
79
|
+
A HEAD operation on the path.
|
|
80
|
+
|
|
81
|
+
***
|
|
82
|
+
|
|
83
|
+
### patch? {#patch}
|
|
84
|
+
|
|
85
|
+
> `optional` **patch?**: [`IOpenApiPathMethod`](IOpenApiPathMethod.md)
|
|
86
|
+
|
|
87
|
+
A PATCH operation on the path.
|
|
88
|
+
|
|
89
|
+
***
|
|
90
|
+
|
|
91
|
+
### trace? {#trace}
|
|
92
|
+
|
|
93
|
+
> `optional` **trace?**: [`IOpenApiPathMethod`](IOpenApiPathMethod.md)
|
|
94
|
+
|
|
95
|
+
A TRACE operation on the path.
|
|
96
|
+
|
|
97
|
+
***
|
|
98
|
+
|
|
99
|
+
### query? {#query}
|
|
100
|
+
|
|
101
|
+
> `optional` **query?**: [`IOpenApiPathMethod`](IOpenApiPathMethod.md)
|
|
102
|
+
|
|
103
|
+
A QUERY operation on the path.
|
|
104
|
+
|
|
105
|
+
***
|
|
106
|
+
|
|
107
|
+
### additionalOperations? {#additionaloperations}
|
|
108
|
+
|
|
109
|
+
> `optional` **additionalOperations?**: `object`
|
|
110
|
+
|
|
111
|
+
Additional non-standard HTTP operations keyed by method name.
|
|
112
|
+
|
|
113
|
+
#### Index Signature
|
|
114
|
+
|
|
115
|
+
\[`method`: `string`\]: [`IOpenApiPathMethod`](IOpenApiPathMethod.md)
|
|
116
|
+
|
|
117
|
+
***
|
|
118
|
+
|
|
119
|
+
### servers? {#servers}
|
|
120
|
+
|
|
121
|
+
> `optional` **servers?**: [`IOpenApiServer`](IOpenApiServer.md)[]
|
|
122
|
+
|
|
123
|
+
Alternative servers for this path.
|
|
124
|
+
|
|
125
|
+
***
|
|
126
|
+
|
|
127
|
+
### parameters? {#parameters}
|
|
128
|
+
|
|
129
|
+
> `optional` **parameters?**: ([`IOpenApiReference`](IOpenApiReference.md) \| [`IOpenApiParameter`](IOpenApiParameter.md))[]
|
|
130
|
+
|
|
131
|
+
Shared parameters for all operations on this path.
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
# Interface: IOpenApiPathMethod
|
|
2
|
+
|
|
3
|
+
An OpenAPI Operation Object.
|
|
4
|
+
|
|
5
|
+
## See
|
|
6
|
+
|
|
7
|
+
https://spec.openapis.org/oas/latest.html#operation-object
|
|
8
|
+
|
|
9
|
+
## Properties
|
|
10
|
+
|
|
11
|
+
### tags? {#tags}
|
|
12
|
+
|
|
13
|
+
> `optional` **tags?**: `string`[]
|
|
14
|
+
|
|
15
|
+
Tags for the operation.
|
|
16
|
+
|
|
17
|
+
#### See
|
|
18
|
+
|
|
19
|
+
https://spec.openapis.org/oas/latest.html#fixed-fields-7
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### summary? {#summary}
|
|
24
|
+
|
|
25
|
+
> `optional` **summary?**: `string`
|
|
26
|
+
|
|
27
|
+
A short summary of the operation.
|
|
28
|
+
|
|
29
|
+
#### See
|
|
30
|
+
|
|
31
|
+
https://spec.openapis.org/oas/latest.html#fixed-fields-7
|
|
32
|
+
|
|
33
|
+
***
|
|
34
|
+
|
|
35
|
+
### description? {#description}
|
|
36
|
+
|
|
37
|
+
> `optional` **description?**: `string`
|
|
38
|
+
|
|
39
|
+
A verbose description of the operation.
|
|
40
|
+
|
|
41
|
+
#### See
|
|
42
|
+
|
|
43
|
+
https://spec.openapis.org/oas/latest.html#fixed-fields-7
|
|
44
|
+
|
|
45
|
+
***
|
|
46
|
+
|
|
47
|
+
### externalDocs? {#externaldocs}
|
|
48
|
+
|
|
49
|
+
> `optional` **externalDocs?**: [`IOpenApiExternalDocumentation`](IOpenApiExternalDocumentation.md)
|
|
50
|
+
|
|
51
|
+
Additional external documentation for the operation.
|
|
52
|
+
|
|
53
|
+
#### See
|
|
54
|
+
|
|
55
|
+
https://spec.openapis.org/oas/latest.html#fixed-fields-7
|
|
56
|
+
|
|
57
|
+
***
|
|
58
|
+
|
|
59
|
+
### operationId? {#operationid}
|
|
60
|
+
|
|
61
|
+
> `optional` **operationId?**: `string`
|
|
62
|
+
|
|
63
|
+
A unique identifier for the operation.
|
|
64
|
+
|
|
65
|
+
#### See
|
|
66
|
+
|
|
67
|
+
https://spec.openapis.org/oas/latest.html#fixed-fields-7
|
|
68
|
+
|
|
69
|
+
***
|
|
70
|
+
|
|
71
|
+
### parameters? {#parameters}
|
|
72
|
+
|
|
73
|
+
> `optional` **parameters?**: ([`IOpenApiReference`](IOpenApiReference.md) \| [`IOpenApiParameter`](IOpenApiParameter.md))[]
|
|
74
|
+
|
|
75
|
+
Parameters for the operation.
|
|
76
|
+
|
|
77
|
+
#### See
|
|
78
|
+
|
|
79
|
+
https://spec.openapis.org/oas/latest.html#fixed-fields-7
|
|
80
|
+
|
|
81
|
+
***
|
|
82
|
+
|
|
83
|
+
### requestBody? {#requestbody}
|
|
84
|
+
|
|
85
|
+
> `optional` **requestBody?**: [`IOpenApiReference`](IOpenApiReference.md) \| [`IOpenApiRequestBody`](IOpenApiRequestBody.md)
|
|
86
|
+
|
|
87
|
+
The request body for the operation.
|
|
88
|
+
|
|
89
|
+
#### See
|
|
90
|
+
|
|
91
|
+
https://spec.openapis.org/oas/latest.html#fixed-fields-7
|
|
92
|
+
|
|
93
|
+
***
|
|
94
|
+
|
|
95
|
+
### responses {#responses}
|
|
96
|
+
|
|
97
|
+
> **responses**: [`IOpenApiResponses`](IOpenApiResponses.md)
|
|
98
|
+
|
|
99
|
+
The responses for the operation.
|
|
100
|
+
|
|
101
|
+
#### See
|
|
102
|
+
|
|
103
|
+
https://spec.openapis.org/oas/latest.html#fixed-fields-7
|
|
104
|
+
|
|
105
|
+
***
|
|
106
|
+
|
|
107
|
+
### callbacks? {#callbacks}
|
|
108
|
+
|
|
109
|
+
> `optional` **callbacks?**: `object`
|
|
110
|
+
|
|
111
|
+
Callbacks related to the operation.
|
|
112
|
+
|
|
113
|
+
#### Index Signature
|
|
114
|
+
|
|
115
|
+
\[`id`: `string`\]: `unknown`
|
|
116
|
+
|
|
117
|
+
#### See
|
|
118
|
+
|
|
119
|
+
https://spec.openapis.org/oas/latest.html#fixed-fields-7
|
|
120
|
+
|
|
121
|
+
***
|
|
122
|
+
|
|
123
|
+
### deprecated? {#deprecated}
|
|
124
|
+
|
|
125
|
+
> `optional` **deprecated?**: `boolean`
|
|
126
|
+
|
|
127
|
+
Whether the operation is deprecated.
|
|
128
|
+
|
|
129
|
+
#### See
|
|
130
|
+
|
|
131
|
+
https://spec.openapis.org/oas/latest.html#fixed-fields-7
|
|
132
|
+
|
|
133
|
+
***
|
|
134
|
+
|
|
135
|
+
### security? {#security}
|
|
136
|
+
|
|
137
|
+
> `optional` **security?**: [`IOpenApiSecurityRequirement`](IOpenApiSecurityRequirement.md)[]
|
|
138
|
+
|
|
139
|
+
Security requirements for the operation.
|
|
140
|
+
|
|
141
|
+
#### See
|
|
142
|
+
|
|
143
|
+
https://spec.openapis.org/oas/latest.html#fixed-fields-7
|
|
144
|
+
|
|
145
|
+
***
|
|
146
|
+
|
|
147
|
+
### servers? {#servers}
|
|
148
|
+
|
|
149
|
+
> `optional` **servers?**: [`IOpenApiServer`](IOpenApiServer.md)[]
|
|
150
|
+
|
|
151
|
+
Alternative servers for the operation.
|
|
152
|
+
|
|
153
|
+
#### See
|
|
154
|
+
|
|
155
|
+
https://spec.openapis.org/oas/latest.html#fixed-fields-7
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Interface: IOpenApiReference
|
|
2
|
+
|
|
3
|
+
An OpenAPI Reference Object.
|
|
4
|
+
|
|
5
|
+
## See
|
|
6
|
+
|
|
7
|
+
https://spec.openapis.org/oas/latest.html#reference-object
|
|
8
|
+
|
|
9
|
+
## Properties
|
|
10
|
+
|
|
11
|
+
### $ref {#ref}
|
|
12
|
+
|
|
13
|
+
> **$ref**: `string`
|
|
14
|
+
|
|
15
|
+
The reference identifier.
|
|
16
|
+
|
|
17
|
+
***
|
|
18
|
+
|
|
19
|
+
### summary? {#summary}
|
|
20
|
+
|
|
21
|
+
> `optional` **summary?**: `string`
|
|
22
|
+
|
|
23
|
+
A summary override for the referenced object.
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### description? {#description}
|
|
28
|
+
|
|
29
|
+
> `optional` **description?**: `string`
|
|
30
|
+
|
|
31
|
+
A description override for the referenced object.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Interface: IOpenApiRequestBody
|
|
2
|
+
|
|
3
|
+
An OpenAPI Request Body Object.
|
|
4
|
+
|
|
5
|
+
## See
|
|
6
|
+
|
|
7
|
+
https://spec.openapis.org/oas/latest.html#request-body-object
|
|
8
|
+
|
|
9
|
+
## Properties
|
|
10
|
+
|
|
11
|
+
### description? {#description}
|
|
12
|
+
|
|
13
|
+
> `optional` **description?**: `string`
|
|
14
|
+
|
|
15
|
+
A brief description of the request body.
|
|
16
|
+
|
|
17
|
+
***
|
|
18
|
+
|
|
19
|
+
### content {#content}
|
|
20
|
+
|
|
21
|
+
> **content**: `object`
|
|
22
|
+
|
|
23
|
+
The content of the request body.
|
|
24
|
+
|
|
25
|
+
#### Index Signature
|
|
26
|
+
|
|
27
|
+
\[`contentType`: `string`\]: [`IOpenApiReference`](IOpenApiReference.md) \| [`IOpenApiMediaType`](IOpenApiMediaType.md)
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### required? {#required}
|
|
32
|
+
|
|
33
|
+
> `optional` **required?**: `boolean`
|
|
34
|
+
|
|
35
|
+
Whether the request body is required.
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Interface: IOpenApiResponse
|
|
2
|
+
|
|
3
|
+
An OpenAPI Response Object.
|
|
4
|
+
|
|
5
|
+
## See
|
|
6
|
+
|
|
7
|
+
https://spec.openapis.org/oas/latest.html#response-object
|
|
8
|
+
|
|
9
|
+
## Properties
|
|
10
|
+
|
|
11
|
+
### summary? {#summary}
|
|
12
|
+
|
|
13
|
+
> `optional` **summary?**: `string`
|
|
14
|
+
|
|
15
|
+
A short summary of the meaning of the response.
|
|
16
|
+
|
|
17
|
+
***
|
|
18
|
+
|
|
19
|
+
### description {#description}
|
|
20
|
+
|
|
21
|
+
> **description**: `string`
|
|
22
|
+
|
|
23
|
+
A description of the response.
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### headers? {#headers}
|
|
28
|
+
|
|
29
|
+
> `optional` **headers?**: `object`
|
|
30
|
+
|
|
31
|
+
The headers for the response.
|
|
32
|
+
|
|
33
|
+
#### Index Signature
|
|
34
|
+
|
|
35
|
+
\[`id`: `string`\]: [`IOpenApiReference`](IOpenApiReference.md) \| [`IOpenApiHeader`](IOpenApiHeader.md)
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### content? {#content}
|
|
40
|
+
|
|
41
|
+
> `optional` **content?**: `object`
|
|
42
|
+
|
|
43
|
+
The content for the response.
|
|
44
|
+
|
|
45
|
+
#### Index Signature
|
|
46
|
+
|
|
47
|
+
\[`contentType`: `string`\]: [`IOpenApiReference`](IOpenApiReference.md) \| [`IOpenApiMediaType`](IOpenApiMediaType.md)
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### links? {#links}
|
|
52
|
+
|
|
53
|
+
> `optional` **links?**: `object`
|
|
54
|
+
|
|
55
|
+
Design-time links from this response.
|
|
56
|
+
|
|
57
|
+
#### Index Signature
|
|
58
|
+
|
|
59
|
+
\[`id`: `string`\]: `unknown`
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Interface: IOpenApiResponses
|
|
2
|
+
|
|
3
|
+
An OpenAPI Responses Object.
|
|
4
|
+
|
|
5
|
+
## See
|
|
6
|
+
|
|
7
|
+
https://spec.openapis.org/oas/latest.html#responses-object
|
|
8
|
+
|
|
9
|
+
## Indexable
|
|
10
|
+
|
|
11
|
+
> \[`code`: `string`\]: [`IOpenApiReference`](IOpenApiReference.md) \| [`IOpenApiResponse`](IOpenApiResponse.md) \| `undefined`
|
|
12
|
+
|
|
13
|
+
Named HTTP status code or status code range responses.
|
|
14
|
+
|
|
15
|
+
### See
|
|
16
|
+
|
|
17
|
+
https://spec.openapis.org/oas/latest.html#patterned-fields-0
|
|
18
|
+
|
|
19
|
+
## Properties
|
|
20
|
+
|
|
21
|
+
### default? {#default}
|
|
22
|
+
|
|
23
|
+
> `optional` **default?**: [`IOpenApiReference`](IOpenApiReference.md) \| [`IOpenApiResponse`](IOpenApiResponse.md)
|
|
24
|
+
|
|
25
|
+
The default response for otherwise undeclared status codes.
|
|
26
|
+
|
|
27
|
+
#### See
|
|
28
|
+
|
|
29
|
+
https://spec.openapis.org/oas/latest.html#fixed-fields-13
|