Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
- incorrect syntax in 132 create.
  • Loading branch information
toumorokoshi committed Nov 5, 2024
1 parent 2cb4247 commit b966fec
Show file tree
Hide file tree
Showing 2 changed files with 166 additions and 222 deletions.
8 changes: 5 additions & 3 deletions aep/general/0133/aep.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ rpc CreateBook(CreateBookRequest) returns (Book) {

{% tab oas %}

{% sample '../oas.yaml', '/publishers/{publisher_id}/books:' %}
{% sample '../oas.yaml', '$.paths./publishers/{publisher}/books.post' %}

{% endtabs %}

Expand Down Expand Up @@ -110,9 +110,9 @@ message CreateBookRequest {

{% tab oas %}

- The request body **must** be the resource being created.
{% sample '../oas.yaml', '$.paths./publishers/{publisher}/books.post.requestBody' %}

{% sample '../oas.yaml', 'book:' %}
- The request body **must** be the resource being created.

{% endtabs %}

Expand Down Expand Up @@ -164,6 +164,8 @@ publishers/012345678-abcd-cdef/books/12341234-5678-abcd

{% tab oas %}

{% sample '../oas.yaml', '$.paths./publishers/{publisher}/books.post.requestBody' %}

- The `id` is a query parameter on the request URI.

{% endtabs %}
Expand Down
Loading

0 comments on commit b966fec

Please sign in to comment.