Consider additional guidance on Server Objects
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Documentação
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- openapi
- Domínio
- documentation
Direção de pesquisa
Comece pela página Server Object do Learn Site e revise as preocupações levantadas na PR #4389, especialmente as observações sobre URLs de servidor relativas, URIs de recuperação e variáveis de servidor. Considera-se concluído quando for decidido onde esta orientação deve ficar e as ressalvas relevantes forem documentadas claramente, seja no Learn Site ou na documentação da especificação.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
@karenetheridge and @notEthan raised various points about confusion and usage of the Server Object and its url field in PR #4389.
From @karenetheridge
We can also offer caution that if server urls are not absolute, then the retrieval URI will be used to resolve them, which might not be desirable because if the scheme+host of the retrieval URI may not actually be the same scheme+host as where the APIs are being hosted, the result will be that any matching of API HTTP requests against path-items in the OpenAPI document will fail.
This caveat is not new with these changes, but a user might think that an absolute $self is sufficient to ward off this problem, which it isn't.
From @notEthan (the part about server variables vs relative server URLs being the most relevant to this issue, see #4541 for other concerns raised in this quote):
I certainly agree/understand that the URIs of the API description and objects within are quite different than (or unrelated to) API server/endpoint URLs. My hesitation is on the idea that the retrieval URI for the OAD is likely to be more closely related to the server URL than $self (I've generally seen the OAD served from one place accompanying documentation, not with each deployment, and aren't server variables the better mechanism for deployment-specific URLs?).
Or rather, my hesitation as an implementer of tooling is on whether that difference is worth implementing - I have one base URI for objects in the OAD (including servers), which will be changing to inherit from $self, and no place to put another base URI. It's not difficult to implement but it adds some complexity in a place I have doubts on the real utility of it.
Note that some of this guidance could go on the Learn Site, which already has a substantial page on the Server Object.
- Linguagem predominante
- Markdown
- Estrelas
- 31.3k
- Forks
- 9.2k
- Merge médio
- 2d 9h
- PRs com merge (30d)
- 17
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de OAI/OpenAPI-Specification
-
Housekeeping
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 45/100
OAI/OpenAPI-Specification#5566 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
Housekeeping
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 35/100
OAI/OpenAPI-Specification#5562 · 4 comentários ·
Mantenedores costumam responder em até 1 dia
-
Housekeeping
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 10/100
OAI/OpenAPI-Specification#5556 · 3 comentários ·
Mantenedores costumam responder em até 1 dia
-
v3.2.1 releaseTalvez livre de novo @lornajane assumiu há 34 dias e não há nenhum pull request aberto. Aberta
OAI/OpenAPI-Specification#5460 · 11 comentários · 1 reação · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
param serialization
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 25/100
OAI/OpenAPI-Specification#5366 · 12 comentários ·
Mantenedores costumam responder em até 1 dia
Todas as issues de OAI/OpenAPI-Specification
Issues semelhantes
-
bug needs-triage
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 78/100
mattpocock/skills#1281 ·
Mantenedores costumam responder em até 1 dia
-
sync-en
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 68/100
Mantenedores costumam responder em até 4 dias
-
[oblt-aw][autodoc] Update PR Actions Detective E2E prerequisites and fix dashboard-format table typoAbertadocumentation
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
elastic/oblt-aw#2382 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
docs(stream-protocol): document messageMetatadata on start/finish and the message-metadata chunkTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Abertafactory-active task-identify-harness-labels-done task-identify-issue-type-done
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
vercel/ai#23375 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
documentation v0.9.2
Dificuldade 2/5 Meio dia Facilidade para iniciantes 72/100
khuisman/mcp-gee-sweet#1033 ·
Mantenedores costumam responder em até 1 dia