add origin for aspect
This commit is contained in:
Родитель
841830220a
Коммит
57b527d1da
|
@ -105,6 +105,10 @@
|
|||
"$ref": "#/definitions/Deprecation",
|
||||
"description": "deprecation information -- ie, when this aspect doesn't apply and why"
|
||||
},
|
||||
"origin": {
|
||||
"description": "where did this aspec come from (jsonpath or 'm4:<soemthing>')",
|
||||
"type": "string"
|
||||
},
|
||||
"externalDocs": {
|
||||
"$ref": "#/definitions/ExternalDocumentation",
|
||||
"description": "External Documentation Links"
|
||||
|
@ -935,6 +939,10 @@
|
|||
"$ref": "#/definitions/Deprecation",
|
||||
"description": "deprecation information -- ie, when this aspect doesn't apply and why"
|
||||
},
|
||||
"origin": {
|
||||
"description": "where did this aspec come from (jsonpath or 'm4:<soemthing>')",
|
||||
"type": "string"
|
||||
},
|
||||
"externalDocs": {
|
||||
"$ref": "#/definitions/ExternalDocumentation",
|
||||
"description": "External Documentation Links"
|
||||
|
@ -2069,6 +2077,10 @@
|
|||
"$ref": "#/definitions/Deprecation",
|
||||
"description": "deprecation information -- ie, when this aspect doesn't apply and why"
|
||||
},
|
||||
"origin": {
|
||||
"description": "where did this aspec come from (jsonpath or 'm4:<soemthing>')",
|
||||
"type": "string"
|
||||
},
|
||||
"externalDocs": {
|
||||
"$ref": "#/definitions/ExternalDocumentation",
|
||||
"description": "External Documentation Links"
|
||||
|
@ -3052,6 +3064,10 @@
|
|||
"$ref": "#/definitions/Deprecation",
|
||||
"description": "deprecation information -- ie, when this aspect doesn't apply and why"
|
||||
},
|
||||
"origin": {
|
||||
"description": "where did this aspec come from (jsonpath or 'm4:<soemthing>')",
|
||||
"type": "string"
|
||||
},
|
||||
"externalDocs": {
|
||||
"$ref": "#/definitions/ExternalDocumentation",
|
||||
"description": "External Documentation Links"
|
||||
|
|
|
@ -399,6 +399,9 @@ definitions:
|
|||
externalDocs:
|
||||
description: External Documentation Links
|
||||
$ref: '#/definitions/ExternalDocumentation'
|
||||
origin:
|
||||
type: string
|
||||
description: 'where did this aspec come from (jsonpath or ''m4:<soemthing>'')'
|
||||
serialization:
|
||||
description: per-serialization information for this Schema
|
||||
$ref: '#/definitions/SerializationFormats'
|
||||
|
@ -1300,6 +1303,9 @@ definitions:
|
|||
externalDocs:
|
||||
description: External Documentation Links
|
||||
$ref: '#/definitions/ExternalDocumentation'
|
||||
origin:
|
||||
type: string
|
||||
description: 'where did this aspec come from (jsonpath or ''m4:<soemthing>'')'
|
||||
parameters:
|
||||
type: array
|
||||
description: common parameters when there are multiple requests
|
||||
|
@ -1575,6 +1581,9 @@ definitions:
|
|||
externalDocs:
|
||||
description: External Documentation Links
|
||||
$ref: '#/definitions/ExternalDocumentation'
|
||||
origin:
|
||||
type: string
|
||||
description: 'where did this aspec come from (jsonpath or ''m4:<soemthing>'')'
|
||||
serialization:
|
||||
description: per-serialization information for this Schema
|
||||
$ref: '#/definitions/SerializationFormats'
|
||||
|
@ -2083,6 +2092,9 @@ definitions:
|
|||
nullable:
|
||||
type: boolean
|
||||
description: can null be passed in instead
|
||||
origin:
|
||||
type: string
|
||||
description: 'where did this aspec come from (jsonpath or ''m4:<soemthing>'')'
|
||||
required:
|
||||
type: boolean
|
||||
description: if the value is marked 'required'.
|
||||
|
|
|
@ -320,6 +320,10 @@
|
|||
"$ref": "./master.json#/definitions/Deprecation",
|
||||
"description": "deprecation information -- ie, when this aspect doesn't apply and why"
|
||||
},
|
||||
"origin": {
|
||||
"description": "where did this aspec come from (jsonpath or 'm4:<soemthing>')",
|
||||
"type": "string"
|
||||
},
|
||||
"externalDocs": {
|
||||
"$ref": "./master.json#/definitions/ExternalDocumentation",
|
||||
"description": "External Documentation Links"
|
||||
|
@ -805,6 +809,10 @@
|
|||
"$ref": "./master.json#/definitions/Deprecation",
|
||||
"description": "deprecation information -- ie, when this aspect doesn't apply and why"
|
||||
},
|
||||
"origin": {
|
||||
"description": "where did this aspec come from (jsonpath or 'm4:<soemthing>')",
|
||||
"type": "string"
|
||||
},
|
||||
"externalDocs": {
|
||||
"$ref": "./master.json#/definitions/ExternalDocumentation",
|
||||
"description": "External Documentation Links"
|
||||
|
|
|
@ -37,6 +37,10 @@
|
|||
"$ref": "./master.json#/definitions/Deprecation",
|
||||
"description": "deprecation information -- ie, when this aspect doesn't apply and why"
|
||||
},
|
||||
"origin": {
|
||||
"description": "where did this aspec come from (jsonpath or 'm4:<soemthing>')",
|
||||
"type": "string"
|
||||
},
|
||||
"externalDocs": {
|
||||
"$ref": "./master.json#/definitions/ExternalDocumentation",
|
||||
"description": "External Documentation Links"
|
||||
|
@ -1071,6 +1075,10 @@
|
|||
"$ref": "./master.json#/definitions/Deprecation",
|
||||
"description": "deprecation information -- ie, when this aspect doesn't apply and why"
|
||||
},
|
||||
"origin": {
|
||||
"description": "where did this aspec come from (jsonpath or 'm4:<soemthing>')",
|
||||
"type": "string"
|
||||
},
|
||||
"externalDocs": {
|
||||
"$ref": "./master.json#/definitions/ExternalDocumentation",
|
||||
"description": "External Documentation Links"
|
||||
|
|
|
@ -339,6 +339,9 @@ definitions:
|
|||
externalDocs:
|
||||
description: External Documentation Links
|
||||
$ref: './master.yaml#/definitions/ExternalDocumentation'
|
||||
origin:
|
||||
type: string
|
||||
description: 'where did this aspec come from (jsonpath or ''m4:<soemthing>'')'
|
||||
parameters:
|
||||
type: array
|
||||
description: common parameters when there are multiple requests
|
||||
|
@ -580,6 +583,9 @@ definitions:
|
|||
nullable:
|
||||
type: boolean
|
||||
description: can null be passed in instead
|
||||
origin:
|
||||
type: string
|
||||
description: 'where did this aspec come from (jsonpath or ''m4:<soemthing>'')'
|
||||
required:
|
||||
type: boolean
|
||||
description: if the value is marked 'required'.
|
||||
|
|
|
@ -176,6 +176,9 @@ definitions:
|
|||
externalDocs:
|
||||
description: External Documentation Links
|
||||
$ref: './master.yaml#/definitions/ExternalDocumentation'
|
||||
origin:
|
||||
type: string
|
||||
description: 'where did this aspec come from (jsonpath or ''m4:<soemthing>'')'
|
||||
serialization:
|
||||
description: per-serialization information for this Schema
|
||||
$ref: './master.yaml#/definitions/SerializationFormats'
|
||||
|
@ -450,6 +453,9 @@ definitions:
|
|||
externalDocs:
|
||||
description: External Documentation Links
|
||||
$ref: './master.yaml#/definitions/ExternalDocumentation'
|
||||
origin:
|
||||
type: string
|
||||
description: 'where did this aspec come from (jsonpath or ''m4:<soemthing>'')'
|
||||
serialization:
|
||||
description: per-serialization information for this Schema
|
||||
$ref: './master.yaml#/definitions/SerializationFormats'
|
||||
|
|
|
@ -8,9 +8,6 @@ const count = 0;
|
|||
|
||||
/** the base interface that represents an aspect of the model. */
|
||||
export interface Aspect extends Metadata {
|
||||
// / * * a unique id for correlation between cloned objects */
|
||||
// /** @internal */ uid: string;
|
||||
|
||||
// ** common name of the aspect -- in OAI3 this was typically the key in the parent dictionary */
|
||||
// $key: string;
|
||||
|
||||
|
@ -29,6 +26,9 @@ export interface Aspect extends Metadata {
|
|||
/** deprecation information -- ie, when this aspect doesn't apply and why */
|
||||
deprecated?: Deprecation;
|
||||
|
||||
/** where did this aspec come from (jsonpath or 'm4:<soemthing>') */
|
||||
origin?: string;
|
||||
|
||||
/** External Documentation Links */
|
||||
externalDocs?: ExternalDocumentation;
|
||||
}
|
||||
|
|
|
@ -18,6 +18,9 @@ export enum StringFormat {
|
|||
/** @description A date as defined by full-date - RFC3339 */
|
||||
Date = 'date',
|
||||
|
||||
/** @description A time as defined by ISO 8661 */
|
||||
Time = 'time',
|
||||
|
||||
/** @description A Date-Time as defined by date-time - RFC3339 */
|
||||
DateTime = 'date-time',
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче