From 54915bea9961a7d0ab8aacc7787b8b81300edd5b Mon Sep 17 00:00:00 2001 From: Yusuke Tsutsumi Date: Tue, 14 Nov 2023 22:58:25 -0800 Subject: [PATCH] fix: adding slugs and categories (#72) As site-generator now supports slugs and categories, adding them retroactively to all AEPs. --- aep/general/0001/aep.yaml | 1 + aep/general/0002/aep.yaml | 1 + aep/general/0126/aep.yaml | 4 +++- aep/general/0131/aep.yaml | 3 ++- aep/general/0132/aep.yaml | 1 + aep/general/0136/aep.yaml | 3 ++- aep/general/0141/aep.md | 2 +- aep/general/0141/aep.yaml | 1 + aep/general/0142/aep.yaml | 1 + aep/general/0144/aep.yaml | 1 + aep/general/0145/aep.yaml | 1 + aep/general/0151/aep.yaml | 4 +++- aep/general/0151/lro.oas.yaml | 9 ++++++--- aep/general/0154/aep.yaml | 3 ++- aep/general/0158/aep.yaml | 3 ++- aep/general/0164/aep.yaml | 1 + aep/general/0210/aep.yaml | 1 + aep/general/0211/aep.yaml | 2 ++ aep/general/scope.yaml | 13 +++++++++++++ requirements.txt | 2 +- 20 files changed, 46 insertions(+), 11 deletions(-) diff --git a/aep/general/0001/aep.yaml b/aep/general/0001/aep.yaml index bdc71615..23bbc5c6 100644 --- a/aep/general/0001/aep.yaml +++ b/aep/general/0001/aep.yaml @@ -2,6 +2,7 @@ id: 1 state: reviewing created: 2020-10-05 +slug: purpose placement: category: meta order: 10 diff --git a/aep/general/0002/aep.yaml b/aep/general/0002/aep.yaml index 03d7edae..8f106d14 100644 --- a/aep/general/0002/aep.yaml +++ b/aep/general/0002/aep.yaml @@ -2,6 +2,7 @@ id: 2 state: approved created: 2023-10-25 +slug: numbering placement: category: meta order: 10 diff --git a/aep/general/0126/aep.yaml b/aep/general/0126/aep.yaml index 46f925fc..5ecc530c 100644 --- a/aep/general/0126/aep.yaml +++ b/aep/general/0126/aep.yaml @@ -1,7 +1,9 @@ --- id: 126 state: approved +slug: enumerations created: 2019-07-24 placement: - category: resource-design + category: resources order: 60 +redirect_from: "/enums" diff --git a/aep/general/0131/aep.yaml b/aep/general/0131/aep.yaml index bdba6acf..03ac02b9 100644 --- a/aep/general/0131/aep.yaml +++ b/aep/general/0131/aep.yaml @@ -1,7 +1,8 @@ --- id: 131 state: approved +slug: get created: 2019-01-22 placement: - category: operations + category: standard-methods order: 10 diff --git a/aep/general/0132/aep.yaml b/aep/general/0132/aep.yaml index de3ca673..c9db0f1d 100644 --- a/aep/general/0132/aep.yaml +++ b/aep/general/0132/aep.yaml @@ -2,6 +2,7 @@ id: 132 state: approved created: 2019-01-22 +slug: list placement: category: operations order: 20 diff --git a/aep/general/0136/aep.yaml b/aep/general/0136/aep.yaml index 6b29d539..7cdc6719 100644 --- a/aep/general/0136/aep.yaml +++ b/aep/general/0136/aep.yaml @@ -1,7 +1,8 @@ --- id: 136 state: approved +slug: custom-methods created: 2019-01-25 placement: - category: operations + category: standard-methods order: 100 diff --git a/aep/general/0141/aep.md b/aep/general/0141/aep.md index 9694a098..4dc0d3c9 100644 --- a/aep/general/0141/aep.md +++ b/aep/general/0141/aep.md @@ -1,4 +1,4 @@ -# Quantities +Quantities Many services need to represent a discrete quantity of items (number of bytes, number of miles, number of nodes, etc.). diff --git a/aep/general/0141/aep.yaml b/aep/general/0141/aep.yaml index 856d0fea..53805d0c 100644 --- a/aep/general/0141/aep.yaml +++ b/aep/general/0141/aep.yaml @@ -1,6 +1,7 @@ --- id: 141 state: approved +slug: quantities created: 2019-07-18 placement: category: fields diff --git a/aep/general/0142/aep.yaml b/aep/general/0142/aep.yaml index a3f041d2..048d2738 100644 --- a/aep/general/0142/aep.yaml +++ b/aep/general/0142/aep.yaml @@ -1,6 +1,7 @@ --- id: 142 state: approved +slug: time-and-duration created: 2019-07-16 placement: category: fields diff --git a/aep/general/0144/aep.yaml b/aep/general/0144/aep.yaml index cd2b839b..9f2bd15e 100644 --- a/aep/general/0144/aep.yaml +++ b/aep/general/0144/aep.yaml @@ -1,6 +1,7 @@ --- id: 144 state: approved +slug: arrays created: 2020-03-19 placement: category: fields diff --git a/aep/general/0145/aep.yaml b/aep/general/0145/aep.yaml index ce0e5093..e7f48ae6 100644 --- a/aep/general/0145/aep.yaml +++ b/aep/general/0145/aep.yaml @@ -1,6 +1,7 @@ --- id: 145 state: approved +slug: ranges created: 2020-05-28 placement: category: fields diff --git a/aep/general/0151/aep.yaml b/aep/general/0151/aep.yaml index 03ca076e..52cd2bed 100644 --- a/aep/general/0151/aep.yaml +++ b/aep/general/0151/aep.yaml @@ -1,7 +1,9 @@ --- id: 151 state: reviewing +slug: long-running-operations created: 2019-07-25 placement: - category: operations + category: standard-methods order: 70 +redirect_from: "/lro" diff --git a/aep/general/0151/lro.oas.yaml b/aep/general/0151/lro.oas.yaml index 18fc61d4..ed53e3b6 100644 --- a/aep/general/0151/lro.oas.yaml +++ b/aep/general/0151/lro.oas.yaml @@ -22,12 +22,15 @@ components: properties: name: type: string - description: The server-assigned name, which is only unique within the same service that originally returns it. + description: + The server-assigned name, which is only unique within the same + service that originally returns it. done: type: boolean description: >- - If the value is false, it means the operation is still in progress. If true, the operation is completed, - and either response or error is available. + If the value is false, it means the operation is still in progress. + If true, the operation is completed, and either response or error + is available. error: $ref: '#/components/schemas/Error' required: diff --git a/aep/general/0154/aep.yaml b/aep/general/0154/aep.yaml index b7858c7c..1772d32d 100644 --- a/aep/general/0154/aep.yaml +++ b/aep/general/0154/aep.yaml @@ -1,7 +1,8 @@ --- id: 154 state: approved +slug: etags created: 2019-07-24 placement: - category: design-patterns + category: operations order: 30 diff --git a/aep/general/0158/aep.yaml b/aep/general/0158/aep.yaml index 39077bc4..7e677206 100644 --- a/aep/general/0158/aep.yaml +++ b/aep/general/0158/aep.yaml @@ -1,7 +1,8 @@ --- id: 158 state: approved +slug: pagination created: 2019-02-18 placement: - category: design-patterns + category: operations order: 60 diff --git a/aep/general/0164/aep.yaml b/aep/general/0164/aep.yaml index fab1dfd5..800f446b 100644 --- a/aep/general/0164/aep.yaml +++ b/aep/general/0164/aep.yaml @@ -1,6 +1,7 @@ --- id: 164 state: approved +slug: soft-delete created: 2020-10-06 placement: category: design-patterns diff --git a/aep/general/0210/aep.yaml b/aep/general/0210/aep.yaml index b6bdf879..8d533fba 100644 --- a/aep/general/0210/aep.yaml +++ b/aep/general/0210/aep.yaml @@ -1,6 +1,7 @@ --- id: 210 state: approved +slug: unicode created: 2018-08-20 placement: category: design-patterns diff --git a/aep/general/0211/aep.yaml b/aep/general/0211/aep.yaml index f25a624e..1c072d20 100644 --- a/aep/general/0211/aep.yaml +++ b/aep/general/0211/aep.yaml @@ -1,7 +1,9 @@ --- id: 211 state: approved +slug: authorization created: 2021-02-24 placement: category: design-patterns order: 115 +redirect_from: "/authz" diff --git a/aep/general/scope.yaml b/aep/general/scope.yaml index 8ced1f3a..1ff1e069 100644 --- a/aep/general/scope.yaml +++ b/aep/general/scope.yaml @@ -1,3 +1,16 @@ --- title: General order: 0 +categories: + - code: meta + title: Meta + - code: resources + title: Resources + - code: standard-methods + title: Standard Methods + - code: fields + title: Fields + - code: operations + title: Fields + - code: design-patterns + title: Design Patterns diff --git a/requirements.txt b/requirements.txt index af2d8b13..c4f4bcba 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -aep-site-generator==0.6.7 +aep-site-generator==0.7.0