@gtsc/api-models
Advanced tools
Comparing version 0.0.3-next.11 to 0.0.3-next.12
@@ -50,3 +50,3 @@ import type { HttpMethods } from "@gtsc/web"; | ||
description?: string; | ||
body: T; | ||
request: T; | ||
}[]; | ||
@@ -68,3 +68,3 @@ }; | ||
description?: string; | ||
body: U; | ||
response: U; | ||
}[]; | ||
@@ -71,0 +71,0 @@ }[]; |
@@ -94,3 +94,3 @@ # Interface: IRestRoute\<T, U\> | ||
| :------ | :------ | :------ | | ||
| `examples?` | \{ `body`: `T` ; `description?`: `string` ; `id`: `string` }[] | Example objects for the request. | | ||
| `examples?` | \{ `description?`: `string` ; `id`: `string` ; `request`: `T` }[] | Example objects for the request. | | ||
| `type` | `string` | The object type for the request. | | ||
@@ -110,3 +110,3 @@ | ||
• `Optional` **responseType**: \{ `examples?`: \{ `body`: `U` ; `description?`: `string` ; `id`: `string` }[] ; `type`: `string` }[] | ||
• `Optional` **responseType**: \{ `examples?`: \{ `description?`: `string` ; `id`: `string` ; `response`: `U` }[] ; `type`: `string` }[] | ||
@@ -113,0 +113,0 @@ The type of the response object. |
{ | ||
"name": "@gtsc/api-models", | ||
"version": "0.0.3-next.11", | ||
"version": "0.0.3-next.12", | ||
"description": "Contains models and classes for use with APIs", | ||
@@ -5,0 +5,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
67905