Skip to content

Commit 68ad3d3

Browse files
docs: update openapi.yaml with descriptions and examples (#56)
Signed-off-by: Jonathan Norris <[email protected]>
1 parent be53b7f commit 68ad3d3

File tree

3 files changed

+281
-122
lines changed

3 files changed

+281
-122
lines changed

.spectral.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
extends:
22
- spectral:oas
3+
rules:
4+
oas3-valid-media-example: off

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
## What is OFREP?
1515
<!-- x-hide-in-docs-end -->
1616

17-
The **OpenFeature Remote Evaluation Protocol (OFREP)** is an API specification 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.
17+
The **OpenFeature Remote Evaluation Protocol (OFREP)** is an [API specification](./service/openapi.yaml) 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.
1818

1919
### Key Benefits
2020

2121
- **Vendor Agnostic**: Connect to any OFREP-compliant flag management system without vendor-specific implementations
22-
- **Standardized**: Built on a common OpenAPI specification for consistent integration
22+
- **Standardized**: Built on a common [OpenAPI specification](./service/openapi.yaml) for consistent integration
2323
- **Flexible**: Works on both client-side and server-side applications
2424
- **Community Maintained**: Generic OFREP providers maintained by the OpenFeature project
2525

@@ -38,7 +38,7 @@ graph LR
3838
1. Your application uses the OpenFeature SDK
3939
2. The OpenFeature SDK uses an OFREP provider
4040
3. The OFREP provider communicates with your flag management system via the standardized OFREP API
41-
4. Your flag management system implements the OFREP specification
41+
4. Your flag management system implements the [OFREP specification](./service/openapi.yaml)
4242

4343
### Server vs Client
4444

0 commit comments

Comments
 (0)