Skip to content

Commit

Permalink
fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
Aidan Cunniffe committed Oct 15, 2023
1 parent 896d171 commit 09d812c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ paths:
type: string
required:
- id
/author/{author_id}:
/authors/{author_id}:
patch:
parameters:
- $ref: "#/components/parameters/AuthorId"
Expand Down Expand Up @@ -169,6 +169,9 @@ components:
AuthorResponse:
type: object
properties:
id:
type: string
example: FrCmluBlTSwwxLLEbEDCP
name:
type: string
example: Jane Austen
Expand All @@ -181,6 +184,7 @@ components:
format: timestamp
example: 2023-03-18T14:29:26.384Z
required:
- id
- name
- created_at
- updated_at
Expand Down
2 changes: 1 addition & 1 deletion optic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ capture:
method: GET
- path: /books/WjE9O1d8ELCb8POiOw4pn
method: GET
- path: /author/tNpOpQZbxytxTxDT15GQy
- path: /authors/tNpOpQZbxytxTxDT15GQy
method: GET
# When you are ready, set up an actual integration that run your test suite
# Read reference docs here: https://www.useoptic.com/docs/capturing-traffic#configuration-reference
Expand Down

0 comments on commit 09d812c

Please sign in to comment.