Skip to content

lazyapi remove request ​

Removes an operation from an OpenAPI spec.

Usage ​

bash
lazyapi remove request <file> <method> <path>

Arguments ​

ArgumentDescription
filePath to an OpenAPI YAML file
methodHTTP method: GET, POST, PUT, PATCH, DELETE, OPTIONS, HEAD
pathURI path to remove

Examples ​

bash
lazyapi remove request my-api.yml GET /users
lazyapi remove request my-api.yml POST /sales

If no other methods remain on that path, the entire path entry is removed from the spec.

Released under the GPLv3 License.

/ search•[ ] prev/next•j/k scroll•h home•t theme•cli/remove