Swagger files: check syntax of generated files, jsonlint

Bug #1535432 reported by Karen Bradshaw
6
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
Revision history for this message
Anne Gentle (annegentle) wrote :

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/013fcd36652fdce8d08e4f7952c3f47b072c12e5/os_doc_tools/openstack/common/jsonutils.py

Changed in openstack-doc-tools:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Andreas Jaeger (jaegerandi) wrote :

we do not use swagger anymore

Changed in openstack-doc-tools:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.