We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2825d5 commit 398d06eCopy full SHA for 398d06e
src/REST.ts
@@ -17,12 +17,13 @@ export const steps: StepRunner<Record<string, any>>[] = [
17
regExpMatchedStep(
18
{
19
regExp:
20
- /^I `(?<method>GET|POST|PUT|DELETE)`( to)? `(?<endpoint>https?:\/\/[^`]+)`(?<withPayload> with)?$/,
+ /^I `(?<method>GET|POST|PUT|PATCH|DELETE)`( to)? `(?<endpoint>https?:\/\/[^`]+)`(?<withPayload> with)?$/,
21
schema: Type.Object({
22
method: Type.Union([
23
Type.Literal('GET'),
24
Type.Literal('POST'),
25
Type.Literal('PUT'),
26
+ Type.Literal('PATCH'),
27
Type.Literal('DELETE'),
28
]),
29
endpoint: Type.String({ minLength: 1 }),
0 commit comments