Swagger files: check syntax of generated files, jsonlint
Bug #1535432 reported by
Karen Bradshaw
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstackdocstheme |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
- Add jsonlint to the javascript test system,
- Write a test to check each generated file for syntax errors (could also use JSON.parse(..)).
description: | updated |
To post a comment you must log in.
A note, I don't know if this is helpful, but there is a set of JSON utilities in OpenStack- doc-tools. See https:/ /github. com/openstack/ openstack- doc-tools/ blob/013fcd3665 2fdce8d08e4f795 2c3f47b072c12e5 /os_doc_ tools/openstack /common/ jsonutils. py