extract_openapi_endpoints
Extract and save specific endpoints from a large OpenAPI definition file to create a smaller, focused API specification.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
endpointsToKeep | Yes | List of exact endpoint paths to keep (e.g., ['/users', '/users/{id}']). | |
inputApiPath | Yes | Absolute path to the large input OpenAPI definition file. | |
outputApiPath | Yes | Absolute path where the final, smaller bundled OpenAPI file should be saved. |