Skip to content

Commit

Permalink
add "restart" to valid POST paths to fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
blesswinsamuel committed Nov 5, 2024
1 parent bed6fbd commit 49afd08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spectral/functions/validateOpIDNaming.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const GET = ["get", "list"];
const PATCH = ["patch"];
const POST = ["create", "post", "add", "tag", "install", "reset", "upgrade",
"recycle", "run", "retry", "validate", "assign", "unassign", "cancel", "list",
"destroy", "delete", "update", "attach", "revert", "commit"];
"destroy", "delete", "update", "attach", "revert", "commit", "restart"];
const PUT = ["update", "promote", "install"];

const articles = ["_a_", "_an_", "_the_"]
Expand Down

0 comments on commit 49afd08

Please sign in to comment.