EasyDynamics / oscal-rest

An initial OpenAPI definition of an OSCAL REST API.
Creative Commons Attribution Share Alike 4.0 International
38 stars 13 forks source link

Remove Unused Schemas #89

Closed brian-comply0 closed 7 months ago

brian-comply0 commented 8 months ago

Description

To reduce the size of the YAML file, remove all unused schema definitions. Only include those definitions that are needed for the defined methods and endpoints.

Acceptance Criteria

Additional Information

There are about 2,000 lines of schema definitions at the end of the YAML file. On cursory review, 50-70% of them are reporting, "Definition was declared but never used in document" as reported when viewing the specification here: https://app.swaggerhub.com/apis/brian-easyd/oscal-rest/0.2.1

Reducing the size of the YAML file is cleaner and could result in better stability when reviewing the specification in Swagger.

Swagger_Warnings

brian-comply0 commented 7 months ago

Looks good!