Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Propagate references from base schema to derived
Change-Id: I19f444187c04f6db441f4cc1825a5d87423230dd Closes-Bug: 1798784
- Loading branch information
Showing
16 changed files
with
169 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
api_style: contrail | ||
extends: | ||
- base | ||
id: tag | ||
plural: tags | ||
prefix: / | ||
schema: | ||
properties: | ||
tag_value: | ||
description: Tag value string representation | ||
operations: CR | ||
presence: optional | ||
type: string | ||
type: object |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
plural: "base" | ||
prefix: "/" | ||
references: | ||
tag: | ||
operations: "CRUD" | ||
description: "Tag attached to an object - has a type and value" | ||
presence: "optional" | ||
parents: {} | ||
type: "abstract" | ||
id: "base" | ||
schema: | ||
required: [] | ||
type: "object" | ||
properties: | ||
uuid: | ||
presence: "true" | ||
description: "UUID of the object, system automatically allocates one if not provided" | ||
type: "string" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
api_style: contrail | ||
extends: | ||
- base | ||
id: derived_object | ||
parents: {} | ||
plural: derived_objects | ||
prefix: "/" | ||
schema: | ||
properties: {} | ||
required: [] | ||
type: object | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
api_style: contrail | ||
extends: | ||
- base | ||
id: derived_own_refs_object | ||
parents: {} | ||
plural: derived_own_refs_objects | ||
prefix: "/" | ||
references: | ||
own_tag: | ||
operations: "CRUD" | ||
description: "Tag attached to an object - has a type and value" | ||
presence: "optional" | ||
schema: | ||
properties: {} | ||
required: [] | ||
type: object | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
api_style: contrail | ||
extends: | ||
- base | ||
id: own_tag | ||
parents: {} | ||
plural: own_tags | ||
prefix: / | ||
schema: | ||
properties: | ||
tag_value: | ||
description: Tag value string representation | ||
operations: CR | ||
presence: required | ||
type: string | ||
type: object | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
api_style: contrail | ||
extends: | ||
- base | ||
id: tag | ||
parents: {} | ||
plural: tags | ||
prefix: / | ||
schema: | ||
properties: | ||
tag_value: | ||
description: Tag value string representation | ||
operations: CR | ||
presence: required | ||
type: string | ||
type: object | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
definitions: | ||
HogeHoge: | ||
minimum: 1 | ||
maximum: 101 | ||
type: "integer" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.