[8.5.5.9 or later]

Validation for Swagger definition files

WebSphere Developer Tools provide some validation support for REST API definition files. This validation is based on the Swagger 2.0 specification.

Important: Applicable to Liberty, Liberty Core

WebSphere Developer Tools support validation for Swagger REST API definition files that are named swagger.json. This support is limited, and it does not include all aspects of the Swagger 2.0 validation support specification.

Note: Swagger definition files must be named swagger.json to be validated. The tools do not support Swagger-based validation for files with other names, including *.json files.

If the swagger.json file contains errors, then the Problems view can display some error messages specific to Swagger. The Markers view also displays error messages specific to Swagger. Click Window > Show View > Markers to see the Markers view.

Icon that indicates the type of topic Concept topic
Timestamp icon Last updated: July 17, 2017 21:58

File name: c_restapi_swag_valid.html