Remove Loaded Spec
swagger_remove_specRemove loaded OpenAPI/Swagger specifications from memory to free up resources or reload updated ones.
Instructions
Remove a loaded OpenAPI/Swagger specification from memory.
Use this tool to free up memory or reload a spec that has changed.
Args:
spec_name (string): Name of the spec to remove
Returns: Confirmation message.
Examples:
Use when: "Remove the Petstore API spec" -> params with spec_name="Petstore v1.0.0"
Use when: "Unload the internal API spec" -> params with spec_name="Internal API v2.0"
Error Handling:
Returns error if the spec name is not found
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec_name | Yes | Name of the spec to remove (use swagger_list_loaded to see available names) |