Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions aep/general/0156/aep.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ The `Config` singleton would have the following methods:
```yaml
paths:
users/{user}/config:
x-aep-resource-pattern: singleton
get:
operationId: getUserConfig
parameters:
Expand Down Expand Up @@ -70,6 +71,8 @@ paths:

{% endtabs %}

- Singleton resources **must** identify their path item with the
`x-aep-resource-pattern: singleton` OpenAPI extension.
- Singleton resources **must not** have a user-provided or system-generated ID;
their [resource path][aep-122] includes the name of their parent followed by
one static-segment.
Expand Down Expand Up @@ -143,6 +146,8 @@ collection, should a Singleton be found lacking.

## Changelog

- **2026-04-27**: Added requirement to identify singleton path items with
`x-aep-resource-pattern: singleton`.
- **2025-12-22**: Initial creation, adapted from [Google AIP-156][] and aep.dev
[AEP-156][].

Expand Down
2 changes: 1 addition & 1 deletion aep/general/0156/aep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ id: 156
state: approved
slug: singletons
created: 2025-12-22
updated: 2025-12-22
updated: 2026-04-27
placement:
category: resources
Loading