Revision 2938a9d1
Added by koszko over 1 year ago
src/hydrilla/builder/build.py | ||
---|---|---|
290 | 290 |
new_item_obj.update([(p, item_def[p]) for p in copy_props]) |
291 | 291 |
|
292 | 292 |
new_item_obj['version'] = util.normalize_version(item_def['version']) |
293 |
new_item_obj['$schema'] = f'{schemas_root}/api_{item_def["type"]}_description-1.0.1.schema.json'
|
|
293 |
new_item_obj['$schema'] = f'{schemas_root}/api_{item_def["type"]}_description-1.schema.json' |
|
294 | 294 |
new_item_obj['source_copyright'] = self.copyright_file_refs |
295 | 295 |
new_item_obj['source_name'] = self.source_name |
296 | 296 |
new_item_obj['generated_by'] = generated_by |
... | ... | |
309 | 309 |
""" |
310 | 310 |
index_validator.validate(index_obj) |
311 | 311 |
|
312 |
schema = f'{schemas_root}/api_source_description-1.0.1.schema.json'
|
|
312 |
schema = f'{schemas_root}/api_source_description-1.schema.json' |
|
313 | 313 |
|
314 | 314 |
self.source_name = index_obj['source_name'] |
315 | 315 |
|
Also available in: Unified diff
don't include schema patch version number in generated instances