Skip to content

Commit

Permalink
Schema generation, doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sei-aderr committed Dec 10, 2024
1 parent bb90883 commit 9cfb222
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,13 @@
"title": "Artifact Type",
"type": "string"
},
"properties": {
"type": "array",
"qa_categories": {
"default": [],
"items": {
"$ref": "#/$defs/QACategoryModel"
},
"default": [],
"title": "Properties"
"title": "Qa Categories",
"type": "array"
}
},
"title": "SpecModel",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,13 @@
"title": "Artifact Type",
"type": "string"
},
"properties": {
"type": "array",
"qa_categories": {
"default": [],
"items": {
"$ref": "#/$defs/QACategoryModel"
},
"default": [],
"title": "Properties"
"title": "Qa Categories",
"type": "array"
}
},
"title": "SpecModel",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
}
],
"default": null,
"title": "QA Category"
"title": "Qa Category"
},
"quality_attribute": {
"anyOf": [
Expand Down
8 changes: 4 additions & 4 deletions mlte/schema/artifact/spec/v0.0.1/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,13 @@
"title": "Artifact Type",
"type": "string"
},
"properties": {
"type": "array",
"qa_categories": {
"default": [],
"items": {
"$ref": "#/$defs/QACategoryModel"
},
"default": [],
"title": "Properties"
"title": "Qa Categories",
"type": "array"
}
},
"title": "SpecModel",
Expand Down
8 changes: 4 additions & 4 deletions mlte/schema/artifact/validated/v0.0.1/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,13 @@
"title": "Artifact Type",
"type": "string"
},
"properties": {
"type": "array",
"qa_categories": {
"default": [],
"items": {
"$ref": "#/$defs/QACategoryModel"
},
"default": [],
"title": "Properties"
"title": "Qa Categories",
"type": "array"
}
},
"title": "SpecModel",
Expand Down
4 changes: 2 additions & 2 deletions mlte/schema/catalog/catalog_entry/v0.0.1/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
}
],
"default": null,
"title": "QA Category"
"title": "Qa Category"
},
"quality_attribute": {
"anyOf": [
Expand All @@ -119,7 +119,7 @@
}
],
"default": null,
"title": "Quality attribute"
"title": "Quality Attribute"
},
"code_type": {
"$ref": "#/$defs/CatalogEntryType"
Expand Down
2 changes: 1 addition & 1 deletion mlte/spec/spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def get_qa_category(self, qa_category_id: str) -> QACategory:
"""
Returns a particular qa category with the given id.
:param qa_category: The qa category itself, or its identifier
:param qa_category_id: The qa category itself, or its identifier
:return: The qa category object.
"""
qa_categories = [
Expand Down

0 comments on commit 9cfb222

Please sign in to comment.