Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify OFREP OpenAPI Definition #7

Closed
wants to merge 1 commit into from

Conversation

beeme1mr
Copy link
Member

This PR

Notes

This is a simplified version of the current proposal. I believe, in this case, less is more. It tends to be much easier to add new functionality than to change something. In my opinion, we should defer ETag and caching behavior until after we have the basics in place. I believe this proposal will work well when using both static and dynamic paradigms.

Signed-off-by: Michael Beemer <[email protected]>
@beeme1mr beeme1mr requested a review from a team as a code owner February 21, 2024 20:59
@@ -11,9 +11,11 @@ security:
- ApiKeyAuth: []
- BearerAuth: []
paths:
/ofrep/v1/evaluate/{key}:
/ofrep/v1/flags/{key}:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The proposal in the comment was to use /ofrep/v1/evaluate/flags.
I've already edited the other branch with the proposal.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fine with that too 👍

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How necessary do we think /ofrep/ is?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have a discussion about that in the other PR.
We added /ofrep/ to avoid any collision with existing v1 that can exist in other systems

@beeme1mr
Copy link
Member Author

Closing this PR to avoid potential confusion. We'll still be able to use it as a reference.

@beeme1mr beeme1mr closed this Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants