Skip to content

Commit 67ff964

Browse files
docs: update OFREP API docs and fix script to generate ofrep/index.mdx (#1288)
Updates the OFREP documentation generation script to output `ofrep/index.mdx` instead of `ofrep.mdx`, and regenerates SDK documentation. ## Changes - Temporarily sets OFREP OpenAPI spec to changes in: open-feature/protocol#56 - Updated `process-sdk-readmes.ts` to support custom filenames for other technologies - Set OFREP to generate `ofrep/index.mdx` and switched protocol repo branch to `main` - Updated `_category_.json` to reference the correct doc ID - Regenerated all SDK documentation files --------- Signed-off-by: Jonathan Norris <[email protected]>
1 parent 9265b61 commit 67ff964

File tree

21 files changed

+105
-41
lines changed

21 files changed

+105
-41
lines changed

docs/reference/other-technologies/mcp.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ It acts as a bridge between your AI assistant and OpenFeature capabilities, enab
1313

1414
This server is published to the [MCP Registry](https://registry.modelcontextprotocol.io) under `dev.openfeature/mcp`.
1515

16+
> **⚠️ AI Agent Behavior**: AI agents are non-deterministic and may not complete tasks correctly. Always manually review their changes before committing. If you encounter issues, please [open an issue](https://github.com/open-feature/mcp/issues) with details about your AI agent (e.g., Claude Code + Sonnet 4.5, Cursor + gpt-5-codex) with the commands you used and the behavior you saw.
17+
1618
## Quick Start
1719

1820
### NPX Install

docs/reference/other-technologies/ofrep/_category_.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
"collapsed": false,
66
"link": {
77
"type": "doc",
8-
"id": "reference/other-technologies/ofrep/index"
8+
"id": "reference/other-technologies/ofrep/ofrep"
99
}
1010
}

docs/reference/other-technologies/ofrep/index.mdx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
---
22
title: OpenFeature Remote Evaluation Protocol (OFREP)
3-
sidebar_position: 1
3+
sidebar_label: OFREP
4+
sidebar_position: 2
5+
id: ofrep
46
---
57

6-
The **OpenFeature Remote Evaluation Protocol (OFREP)** is an [API specification](./openapi) for feature flagging that enables vendor-agnostic communication between applications and flag management systems. It defines a standard API layer between the provider and the flag management system, allowing any OpenSource or commercial system to implement the protocol and be compatible with community-maintained providers.
8+
The **OpenFeature Remote Evaluation Protocol (OFREP)** is an [API specification](/docs/reference/other-technologies/ofrep/openapi) for feature flagging that enables vendor-agnostic communication between applications and flag management systems. It defines a standard API layer between the provider and the flag management system, allowing any open source or commercial system to implement the protocol and be compatible with community-maintained providers.
79

810
### Key Benefits
911

1012
- **Vendor Agnostic**: Connect to any OFREP-compliant flag management system without vendor-specific implementations
11-
- **Standardized**: Built on a [common OpenAPI specification](./openapi) for consistent integration
13+
- **Standardized**: Built on a common [OpenAPI specification](/docs/reference/other-technologies/ofrep/openapi) for consistent integration
1214
- **Flexible**: Works on both client-side and server-side applications
1315
- **Community Maintained**: Generic OFREP providers maintained by the OpenFeature project
1416

@@ -27,7 +29,7 @@ graph LR
2729
1. Your application uses the OpenFeature SDK
2830
2. The OpenFeature SDK uses an OFREP provider
2931
3. The OFREP provider communicates with your flag management system via the standardized OFREP API
30-
4. Your flag management system implements the [OFREP specification](./openapi)
32+
4. Your flag management system implements the [OFREP specification](/docs/reference/other-technologies/ofrep/openapi)
3133

3234
### Server vs Client
3335

@@ -61,15 +63,15 @@ Several flag management systems support OFREP. View the complete list of [OFREP-
6163

6264
To create an OFREP provider for a new language:
6365

64-
1. Review the [server provider guideline](https://github.com/open-feature/protocol/blob/docs-update-readme-for-website/guideline/dynamic-context-provider.md) or [client provider guideline](https://github.com/open-feature/protocol/blob/docs-update-readme-for-website/guideline/static-context-provider.md)
66+
1. Review the [server provider guideline](https://github.com/open-feature/protocol/blob/main/guideline/dynamic-context-provider.md) or [client provider guideline](https://github.com/open-feature/protocol/blob/main/guideline/static-context-provider.md)
6567
2. Implement the provider for your SDK according to the guidelines
6668
3. Register your provider in the [OpenFeature ecosystem](https://github.com/open-feature/openfeature.dev/issues)
6769

6870
### For Flag Management System Developers
6971

7072
To make your flag management system OFREP-compliant:
7173

72-
1. Implement the [OFREP OpenAPI specification](./openapi)
74+
1. Implement the [OFREP OpenAPI specification](/docs/reference/other-technologies/ofrep/openapi)
7375
2. Test your implementation with existing OFREP providers
7476
3. Register your system in the [OpenFeature ecosystem](https://github.com/open-feature/openfeature.dev/issues)
7577

docs/reference/sdks/client/kotlin.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This content has been automatically generated from kotlin-sdk.
1010
Edits should be made here: https://github.com/open-feature/kotlin-sdk
1111
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1212

13-
Last updated at Tue Oct 28 2025 11:19:13 GMT-0400 (Eastern Daylight Time)
13+
Last updated at Tue Nov 11 2025 12:07:26 GMT-0500 (Eastern Standard Time)
1414
-->
1515
import MCPInstall from '@site/src/partials/mcp-install';
1616

docs/reference/sdks/client/swift.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This content has been automatically generated from swift-sdk.
1010
Edits should be made here: https://github.com/open-feature/swift-sdk
1111
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1212

13-
Last updated at Tue Oct 28 2025 11:19:13 GMT-0400 (Eastern Daylight Time)
13+
Last updated at Tue Nov 11 2025 12:07:26 GMT-0500 (Eastern Standard Time)
1414
-->
1515
import MCPInstall from '@site/src/partials/mcp-install';
1616

docs/reference/sdks/client/web/angular.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This content has been automatically generated from js-sdk.
1010
Edits should be made here: https://github.com/open-feature/js-sdk
1111
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1212

13-
Last updated at Tue Oct 28 2025 11:19:13 GMT-0400 (Eastern Daylight Time)
13+
Last updated at Tue Nov 11 2025 12:07:26 GMT-0500 (Eastern Standard Time)
1414
-->
1515

1616
<p align="center" class="github-badges">

docs/reference/sdks/client/web/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This content has been automatically generated from js-sdk.
1010
Edits should be made here: https://github.com/open-feature/js-sdk
1111
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1212

13-
Last updated at Tue Oct 28 2025 11:19:13 GMT-0400 (Eastern Daylight Time)
13+
Last updated at Tue Nov 11 2025 12:07:26 GMT-0500 (Eastern Standard Time)
1414
-->
1515
import MCPInstall from '@site/src/partials/mcp-install';
1616

@@ -20,8 +20,8 @@ import MCPInstall from '@site/src/partials/mcp-install';
2020
<img alt="Specification" src="https://img.shields.io/static/v1?label=specification&message=v0.8.0&color=yellow&style=for-the-badge" />
2121
</a>
2222

23-
<a href="https://github.com/open-feature/js-sdk/releases/tag/web-sdk-v1.7.0">
24-
<img alt="Release" src="https://img.shields.io/static/v1?label=release&message=v1.7.0&color=blue&style=for-the-badge" />
23+
<a href="https://github.com/open-feature/js-sdk/releases/tag/web-sdk-v1.7.1">
24+
<img alt="Release" src="https://img.shields.io/static/v1?label=release&message=v1.7.1&color=blue&style=for-the-badge" />
2525
</a>
2626

2727
<br/>

docs/reference/sdks/client/web/react.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This content has been automatically generated from js-sdk.
1010
Edits should be made here: https://github.com/open-feature/js-sdk
1111
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1212

13-
Last updated at Tue Oct 28 2025 11:19:13 GMT-0400 (Eastern Daylight Time)
13+
Last updated at Tue Nov 11 2025 12:07:26 GMT-0500 (Eastern Standard Time)
1414
-->
1515
import MCPInstall from '@site/src/partials/mcp-install';
1616

@@ -20,8 +20,8 @@ import MCPInstall from '@site/src/partials/mcp-install';
2020
<img alt="Specification" src="https://img.shields.io/static/v1?label=specification&message=v0.8.0&color=yellow&style=for-the-badge" />
2121
</a>
2222

23-
<a href="https://github.com/open-feature/js-sdk/releases/tag/react-sdk-v1.0.1">
24-
<img alt="Release" src="https://img.shields.io/static/v1?label=release&message=v1.0.1&color=blue&style=for-the-badge" />
23+
<a href="https://github.com/open-feature/js-sdk/releases/tag/react-sdk-v1.0.2">
24+
<img alt="Release" src="https://img.shields.io/static/v1?label=release&message=v1.0.2&color=blue&style=for-the-badge" />
2525
</a>
2626

2727
<br/>

docs/reference/sdks/server/dart.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This content has been automatically generated from dart-server-sdk.
99
Edits should be made here: https://github.com/open-feature/dart-server-sdk
1010
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1111

12-
Last updated at Tue Oct 28 2025 11:19:13 GMT-0400 (Eastern Daylight Time)
12+
Last updated at Tue Nov 11 2025 12:07:27 GMT-0500 (Eastern Standard Time)
1313
-->
1414

1515
<p align="center" class="github-badges">

docs/reference/sdks/server/dotnet.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This content has been automatically generated from dotnet-sdk.
1010
Edits should be made here: https://github.com/open-feature/dotnet-sdk
1111
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1212

13-
Last updated at Tue Oct 28 2025 11:19:13 GMT-0400 (Eastern Daylight Time)
13+
Last updated at Tue Nov 11 2025 12:07:25 GMT-0500 (Eastern Standard Time)
1414
-->
1515
import MCPInstall from '@site/src/partials/mcp-install';
1616

0 commit comments

Comments
 (0)