zowe / data-sets

Repo for the springboot based data set APIs
Eclipse Public License 2.0
6 stars 5 forks source link

Fix swagger doc #253

Closed CarsonCook closed 2 years ago

CarsonCook commented 2 years ago

Previously, the swagger document for the Unix Files and Datasets API services was one large doc, with APIs v1 and v2, as well as Unix Files and Datasets APIs all contained in the one doc. Now, that one doc is still available, but there are also 4 split up docs available for v1 and v2 versions of Unix Files and Datasets, separately. This makes the view in the API Catalog much more clear, as only the APIs for the correct version and API service are displayed. This also fixes an issue where the API Catalog only transforms the swagger routes to Gateway formatted routes for the selected API service, so while on the Unix Files tab, the Datasets API routes would be malformed, leading to users thinking the route is unavailable.

Screen Shot 2022-05-16 at 10 52 16 AM
sonarcloud[bot] commented 2 years ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

sonarcloud[bot] commented 2 years ago

Please retry analysis of this Pull-Request directly on SonarCloud.

CarsonCook commented 2 years ago

Coverage failing due to swagger config, not easy to unit test and doesn't need to be unit tested.