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

fix: define empty openAPI security to signal protocol has no preference #12

Merged
merged 1 commit into from
Nov 29, 2023

Conversation

zevisert
Copy link
Contributor

Previous CI jobs had been failing because of a default linting rule from redocly that required the openAPI document to declare a security model. Being a protocol reference, open-inference-protocol has no stance on how a given model server implements their security. I thought this was going to be more tricky to declare through the spec while still making the linter rule happy. Just adding an empty security scheme declaration seems to be the way to go. If downstream implementations want to extend this spec, they can do so with JSON Schema extensions: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#document-structure

Closes #7

@zevisert zevisert merged commit 97b1a3a into main Nov 29, 2023
2 checks passed
zevisert added a commit that referenced this pull request Dec 3, 2023
…t-required-security"

This reverts commit 97b1a3a, reversing
changes made to 3728946.
zevisert added a commit that referenced this pull request Dec 3, 2023
…-required-security

revert: #12 - use linter silencing instead
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.

Address failing OpenAPI linting gh-action
1 participant