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

Minimum criteria for Namespace Registry #3598

Open
miqui opened this issue Feb 20, 2024 · 4 comments
Open

Minimum criteria for Namespace Registry #3598

miqui opened this issue Feb 20, 2024 · 4 comments
Assignees
Labels
Process registries Related to any or all spec.openapis.org-hosted registries

Comments

@miqui
Copy link
Contributor

miqui commented Feb 20, 2024

Background:

During the TDC Meeting on 2/15/2024, I raised the point of contributing to the namespace registry. In particular, I wanted to add the extension for AWS x-amazon-. This also raised the question of the minimum criteria for the extension to facilitate the proper PR contribution triage.

Proposal

To determine the minimum criteria that would assist the PR approver in determining if the extension belongs in the OpenAPI Initiative Registry. There is a process to create a PR or an issue to trigger a discussion.

Doing some research, this blog entry by the Postman Open Technologies team mentions the notion of extension profiles. This entry describes the potential problem whereby anyone can add an extension to their OAD. However, I believe we want to limit the extensions that SHOULD be in the OpenAPI namespace registry for the broader community understanding and/or use. An excerpt from the blog entry:

It addition to above, it might be desirable to:

  • Be able to differentiate between extensions from major organizations (industry vendors, government agencies, international >organizations, standard setting initiatives) vs more confined extensions (from projects, individuals, students, R&D).
  • Understand which disciplines or domains an extension is intended for
  • Have mechanisms for capturing usage / popularity and support user feedback

I think that for now, we should:

  • Focus on extensions from major organizations
  • The organization in question MUST have a URL documenting their extension

Please note that the format proposed by the OAI is x-{namespace}- where {namespace} is a unique string associated with the creator of the extension within the namespace and it MUST be registered lowercase. However, some organizations like GitHub while they do have x-github- they also have extensions that do not meet either of these criteria. In such a case, I would say we just stick to the x-github- extension and, in the description include a URL where someone can explore their other extensions.

Note:
Mike Ralphson has a rather comprehensive list of extensions found in the wild.

@miqui
Copy link
Contributor Author

miqui commented Feb 20, 2024

cc @darrelmiller

@lornajane
Copy link
Contributor

Do Amazon use a standard prefix for extensions? I've seen x-amzn-* in other places.

I was not present in the community when the conversations around "extensions" vs "vendor extensions" took place, but I think that would be relevant to have a brief recap from someone who might have that context (or can point to something we wrote down at the time).

@miqui
Copy link
Contributor Author

miqui commented Feb 21, 2024

@lornajane - it is on the agenda for this week, I can recap. I have not seen this one, x-amzn-*, but it should not be considered if it is not officially documented. The official AWS docs do not mention x-amzn-*. (at least I could not find it.)

Thanks for your feedback!

@earth2marsh
Copy link
Member

I was not present in the community when the conversations around "extensions" vs "vendor extensions" took place, but I think that would be relevant to have a brief recap from someone who might have that context (or can point to something we wrote down at the time).

For 2.0 we introduced "vendor extensions" as a way for tooling to represent implementation details in a spec. Only later did we realize that framing it specifically as being for vendors was too narrow, so we relaxed the name to just "extensions."

@OAI OAI deleted a comment from cobertvc Mar 1, 2024
@handrews handrews added the registries Related to any or all spec.openapis.org-hosted registries label Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Process registries Related to any or all spec.openapis.org-hosted registries
Projects
Status: In Progress
Development

No branches or pull requests

4 participants