Skip to content

Commit 419a092

Browse files
Merge branch 'main' into mw-article-tools-for-api-testing-2025
2 parents b410f4e + 60742eb commit 419a092

6 files changed

Lines changed: 196 additions & 0 deletions

File tree

docs/cli/@v2/changelog.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ toc:
77

88
<!-- do-not-remove -->
99

10+
## 2.0.6 (2025-08-19)
11+
12+
### Patch Changes
13+
14+
- Fixed an issue where files specified in decorators parameters were not always resolved correctly.
15+
The resolution logic now properly locates the specified files relative to the config file for `info-description-override`, `media-type-examples-override`, `operation-description-override`, and `tag-description-override` decorators.
16+
- Improved messaging to clarify when API alias configuration is implicitly applied during linting or bundling by filename.
17+
- Updated the `retryAfter` property in Respect to use seconds (instead of milliseconds) for consistency with the Arazzo specification.
18+
- Updated @redocly/openapi-core to v2.0.6.
19+
1020
## 2.0.5 (2025-08-13)
1121

1222
### Patch Changes

docs/realm/changelogs.yaml

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
'@redocly/realm':
2+
0.125.0-next.4:
3+
timestamp: 1755595996000
4+
changes:
5+
minor: []
6+
patch: []
7+
dependencies:
8+
'@redocly/asyncapi-docs': 1.2.0-next.4
9+
'@redocly/openapi-docs': 3.13.0-next.4
10+
'@redocly/theme': 0.57.0-next.3
11+
'@redocly/portal-plugin-mock-server': 0.10.0-next.4
12+
'@redocly/graphql-docs': 1.2.0-next.0
213
0.125.0-next.3:
314
timestamp: 1755247386000
415
changes:
@@ -4001,6 +4012,17 @@
40014012
'@redocly/openapi-docs': 3.0.0-alpha.67
40024013
'@redocly/portal-plugin-mock-server': 0.0.59
40034014
'@redocly/reef':
4015+
0.125.0-next.4:
4016+
timestamp: 1755595996000
4017+
changes:
4018+
minor: []
4019+
patch: []
4020+
dependencies:
4021+
'@redocly/asyncapi-docs': 1.2.0-next.4
4022+
'@redocly/openapi-docs': 3.13.0-next.4
4023+
'@redocly/theme': 0.57.0-next.3
4024+
'@redocly/portal-plugin-mock-server': 0.10.0-next.4
4025+
'@redocly/graphql-docs': 1.2.0-next.0
40044026
0.125.0-next.3:
40054027
timestamp: 1755247386000
40064028
changes:
@@ -7281,6 +7303,17 @@
72817303
dependencies:
72827304
'@redocly/portal-plugin-mock-server': 0.1.0
72837305
'@redocly/revel':
7306+
0.125.0-next.4:
7307+
timestamp: 1755595996000
7308+
changes:
7309+
minor: []
7310+
patch: []
7311+
dependencies:
7312+
'@redocly/asyncapi-docs': 1.2.0-next.4
7313+
'@redocly/openapi-docs': 3.13.0-next.4
7314+
'@redocly/theme': 0.57.0-next.3
7315+
'@redocly/portal-plugin-mock-server': 0.10.0-next.4
7316+
'@redocly/graphql-docs': 1.2.0-next.0
72847317
0.125.0-next.3:
72857318
timestamp: 1755247386000
72867319
changes:
@@ -10552,6 +10585,17 @@
1055210585
dependencies:
1055310586
'@redocly/portal-plugin-mock-server': 0.1.0
1055410587
'@redocly/redoc':
10588+
0.125.0-next.4:
10589+
timestamp: 1755595996000
10590+
changes:
10591+
minor: []
10592+
patch: []
10593+
dependencies:
10594+
'@redocly/asyncapi-docs': 1.2.0-next.4
10595+
'@redocly/openapi-docs': 3.13.0-next.4
10596+
'@redocly/theme': 0.57.0-next.3
10597+
'@redocly/portal-plugin-mock-server': 0.10.0-next.4
10598+
'@redocly/graphql-docs': 1.2.0-next.0
1055510599
0.125.0-next.3:
1055610600
timestamp: 1755247386000
1055710601
changes:
@@ -13824,6 +13868,13 @@
1382413868
dependencies:
1382513869
'@redocly/portal-plugin-mock-server': 0.1.0
1382613870
'@redocly/theme':
13871+
0.57.0-next.3:
13872+
timestamp: 1755595996000
13873+
changes:
13874+
minor: []
13875+
patch:
13876+
- Added Play and WorkflowHierarchy icons.
13877+
dependencies: {}
1382713878
0.57.0-next.2:
1382813879
timestamp: 1755247386000
1382913880
changes:
@@ -15952,6 +16003,14 @@
1595216003
- 'Improve "LastUpdated" component: support `format` and improve print styling'
1595316004
dependencies: {}
1595416005
'@redocly/openapi-docs':
16006+
3.13.0-next.4:
16007+
timestamp: 1755595996000
16008+
changes:
16009+
minor: []
16010+
patch:
16011+
- Added support for the `x-metadata` extension in AsyncAPI documentation.
16012+
dependencies:
16013+
'@redocly/replay': 0.16.0-next.3
1595516014
3.13.0-next.3:
1595616015
timestamp: 1755247386000
1595716016
changes:
@@ -19511,6 +19570,17 @@
1951119570
patch: []
1951219571
dependencies: {}
1951319572
'@redocly/portal-plugin-async-api':
19573+
1.8.0-next.4:
19574+
timestamp: 1755595996000
19575+
changes:
19576+
minor: []
19577+
patch: []
19578+
dependencies:
19579+
'@redocly/theme': 0.57.0-next.3
19580+
'@redocly/realm': 0.125.0-next.4
19581+
'@redocly/redoc': 0.125.0-next.4
19582+
'@redocly/redoc-reef': 0.125.0-next.4
19583+
'@redocly/redoc-revel': 0.125.0-next.4
1951419584
1.8.0-next.3:
1951519585
timestamp: 1755247386000
1951619586
changes:
@@ -23162,6 +23232,13 @@
2316223232
dependencies:
2316323233
'@redocly/portal': 0.26.0
2316423234
'@redocly/portal-plugin-mock-server':
23235+
0.10.0-next.4:
23236+
timestamp: 1755595996000
23237+
changes:
23238+
minor: []
23239+
patch: []
23240+
dependencies:
23241+
'@redocly/openapi-docs': 3.13.0-next.4
2316523242
0.10.0-next.3:
2316623243
timestamp: 1755247386000
2316723244
changes:
@@ -25197,6 +25274,16 @@
2519725274
dependencies:
2519825275
'@redocly/mock-server': 0.0.3
2519925276
'@redocly/replay':
25277+
0.16.0-next.3:
25278+
timestamp: 1755595996000
25279+
changes:
25280+
minor:
25281+
- >-
25282+
Added ability to run workflows, inputs schema for workflows, Arazzo expression highlighting and completion, support for x-security, updated
25283+
collection tree UI. Fixed binary, form-data file upload and digest auth flow.
25284+
patch: []
25285+
dependencies:
25286+
'@redocly/theme': 0.57.0-next.3
2520025287
0.16.0-next.2:
2520125288
timestamp: 1755247386000
2520225289
changes:
@@ -26342,6 +26429,13 @@
2634226429
dependencies:
2634326430
'@redocly/theme': 0.37.0
2634426431
'@redocly/theme-experimental':
26432+
0.8.0-next.3:
26433+
timestamp: 1755595996000
26434+
changes:
26435+
minor: []
26436+
patch: []
26437+
dependencies:
26438+
'@redocly/theme': 0.57.0-next.3
2634526439
0.8.0-next.2:
2634626440
timestamp: 1755247386000
2634726441
changes:
@@ -27468,6 +27562,15 @@
2746827562
dependencies:
2746927563
'@redocly/theme': 0.32.2
2747027564
'@redocly/asyncapi-docs':
27565+
1.2.0-next.4:
27566+
timestamp: 1755595996000
27567+
changes:
27568+
minor: []
27569+
patch:
27570+
- Added support for the `x-metadata` extension in AsyncAPI documentation.
27571+
dependencies:
27572+
'@redocly/openapi-docs': 3.13.0-next.4
27573+
'@redocly/theme': 0.57.0-next.3
2747127574
1.2.0-next.3:
2747227575
timestamp: 1755247386000
2747327576
changes:
@@ -29380,3 +29483,10 @@ reunite:
2938029483
Added a retention policy for project previews that deletes previews older than 90 days and removes previews on the same branch older than 5
2938129484
days, keeping only the latest.
2938229485
dependencies: {}
29486+
v2025-08-19.1:
29487+
timestamp: 1755563558000
29488+
changes:
29489+
minor:
29490+
- Posted pull request reviews to connected Git providers.
29491+
patch: []
29492+
dependencies: {}
19.1 KB
Loading

docs/realm/content/api-docs/asyncapi-extensions/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ The list of extensions supported in AsyncAPI by Redoc is as follows:
99
- [x-enumDescriptions](./x-enum-descriptions.md) - Readable labels for enum values.
1010
- [x-rbac](x-rbac.md) - Control access to AsyncAPI objects.
1111
- [x-tagGroups](./x-tag-groups.md) - Higher-level grouping for tags, used in the sidebar.
12+
- [x-metadata](./x-metadata.md) - Add custom metadata at the top of the info section.
1213

1314
## Resources
1415

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# AsyncAPI extension: `x-metadata`
2+
3+
Use `x-metadata` to add a table of additional data to the top of your API reference documentation.
4+
You can add any keys or values that you want users to easily find at the top level of the documentation.
5+
6+
The data is formatted as a table and added as part of the description section at the top of the page.
7+
8+
## Location
9+
10+
The `x-metadata` extension can be added to Info Object.
11+
12+
## Options
13+
14+
{% table %}
15+
16+
- Option
17+
- Type
18+
- Description
19+
20+
---
21+
22+
- x-metadata
23+
- Object
24+
- Custom metadata in key-value format.
25+
26+
{% /table %}
27+
28+
## Examples
29+
30+
### `x-metadata` example
31+
32+
Metadata keys can be any string.
33+
The values can be any primitive type, or a list of strings.
34+
35+
The following is an example of an `x-metadata` section of an AsyncAPI description file:
36+
37+
```yaml
38+
info:
39+
x-metadata:
40+
department: Technical shared services (East)
41+
releaseDate: '12 Mar 2022'
42+
authors:
43+
- Sarah
44+
- Soumya
45+
- Susie
46+
```
47+
48+
The data is presented as shown in the following screenshot:
49+
50+
![title "Metadata" and a table showing the metadata](./images/asyncapi-x-metadata.png)
51+
52+
### `x-metadata` as filters in classic catalog
53+
54+
The following snippets are examples of `x-metadata` sections with configured `tags` you can use to [filter APIs in classic catalog](../../../config/catalog-classic.md#x-metadata-filters-in-classic-catalog).
55+
56+
```yaml {% title="books-api.yaml" %}
57+
info:
58+
x-metadata:
59+
tags:
60+
- Books
61+
```
62+
63+
```yaml {% title="magazines-api.yaml" %}
64+
info:
65+
x-metadata:
66+
tags: ["Magazines"]
67+
```
68+
69+
To use `tags` as filters, the values must be a list.
70+
71+
## Resources
72+
73+
- See a full [list of supported AsyncAPI extensions](./index.md).

docs/realm/sidebars.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,8 @@
274274
label: x-additionalPropertiesName
275275
- page: content/api-docs/asyncapi-extensions/x-rbac.md
276276
label: x-rbac
277+
- page: content/api-docs/asyncapi-extensions/x-metadata.md
278+
label: x-metadata
277279
- page: content/api-docs/add-graphql-docs.md
278280
label: GraphQL
279281
- page: content/api-docs/add-soap-docs.md

0 commit comments

Comments
 (0)