Skip to content

Commit

Permalink
fix: quick changes (#219)
Browse files Browse the repository at this point in the history
These are a couple of quick fixes that were breaking the new site generator.
  • Loading branch information
rambleraptor authored Sep 9, 2024
1 parent 3de32b6 commit f387eb2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 2 additions & 0 deletions aep/general/0134/aep.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,11 @@ using `PUT`.

To illustrate this, consider a `PUT` request to a `Book` resource:

```
PUT /v1/publishers/123/books/456

{"title": "Mary Poppins", "author": "P.L. Travers"}
```

Next consider that the resource is later augmented with a new field (here we
add `rating`, and use a protobuf example without loss of generality):
Expand Down
4 changes: 4 additions & 0 deletions aep/general/0159/aep.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ guidance in [unreachable resources].
specified with `*` and permit the collection to be specified; a URI pattern
**must not** hard-code the `-` character.

{% tab oas %}

Note: OAS guidance is yet to be written.

{% endtabs %}

### Unique resource lookup
Expand Down
8 changes: 4 additions & 4 deletions aep/general/0193/aep.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,6 @@ A JSON representation of an error response might look like the following:
}
```

{% tab oas -%}

The media-type for an error response should be "application/problem+json".

{% tab proto -%}

Services **must** return a [`google.rpc.Status`][Status] message when an API
Expand All @@ -81,6 +77,10 @@ The error response structure defined above **should** be returned in the
[`aep.api.ProblemDetails`](https://buf.build/aep/api/docs/main:aep.api#aep.api.ProblemDetails)
to define this field.

{% tab oas -%}

The media-type for an error response should be "application/problem+json".

{% endtabs %}

#### Dynamic variables
Expand Down

0 comments on commit f387eb2

Please sign in to comment.