Support for anyOf/minProperties for required schema properties.
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 42/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- openapi, react, typescript
- Área
- documentation
Línea de trabajo
Start by reproducing the issue with the provided OpenAPI YAML and inspect the schema-rendering path that produces the Docusaurus Tabs error. Support the anyOf required-property case, including minProperties if relevant; done means the page renders and communicates the either/or requirement without the no-TabItem error.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe the bug
Given the following schema the generated page does not properly render and instead gives an error:
Docusaurus error: the <Tabs> component requires at least one <TabItem> children component
post:
tags:
- Suggested Entitlement Description
operationId: submitSedBatchRequest
summary: Submit Sed Batch Request
description: 'Submit Sed Batch Request.
Request body has one of the following:
- a list of entitlement Ids
- a list of SED Ids
that user wants to have description generated by LLM.
API responses with batchId that groups Ids together'
requestBody:
description: Sed Batch Request
content:
application/json:
schema:
description: Sed Batch Request
type: object
anyOf:
- required: [entitlements]
- required: [seds]
properties:
entitlements:
description: list of entitlement ids
type: array
items:
type: string
example: 016629d1-1d25-463f-97f3-c6686846650
seds:
description: list of sed ids
type: array
items:
type: string
example: 016629d1-1d25-463f-97f3-c6686846650
Expected behavior
Request body should display and show that you must specific either an array of entitlements or an array of sed ids.
Current behavior
I receive the error above, I believe this is because the plugin is not accounting for this use-case in open api specification.
Possible solution
Steps to reproduce
Create a schema with the use of anyOf property to denote that you must include either property.
Screenshots
Context
Your Environment
- Version used:
- Environment name and version (e.g. Chrome 59, node.js 5.4, python 3.7.3): Node v20.9.0
- Operating System and version (desktop or mobile): MacOS Sonoma 14.7
- Link to your project:
- Lenguaje dominante
- TypeScript
- Estrellas
- 1.1k
- Forks
- 317
- Merge medio
- 1 d 14 h
- PR fusionados (30 d)
- 17
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de PaloAltoNetworks/docusaurus-openapi-docs
-
Send API Request drops number and boolean default values of query parametersPosiblemente ocupada @sean0407 la tomó hace 4 días. Abiertobug
Dificultad 3/5 Medio día Aptitud para principiantes 66/100
PaloAltoNetworks/docusaurus-openapi-docs#1654 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
PaloAltoNetworks/docusaurus-openapi-docs#1653 ·
Los mantenedores suelen responder en 2 días
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
PaloAltoNetworks/docusaurus-openapi-docs#1473 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 2 días
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
PaloAltoNetworks/docusaurus-openapi-docs#1472 · 1 comentario · 2 reacciones ·
Los mantenedores suelen responder en 2 días
-
Only show one "Introduction" item with `groupPathsBy: "tagGroup"` and `categoryLinkSource: "tag"`Abiertoenhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
PaloAltoNetworks/docusaurus-openapi-docs#1297 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 2 días
Todos los issues de PaloAltoNetworks/docusaurus-openapi-docs
Issues similares
-
Endpoint links in the tag operations list are below the 24px target sizePosiblemente ocupada @AdzerKI la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
ai-driven-qa bug Minor
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
linagora/twake-tasks#435 ·
Los mantenedores suelen responder en 1 día
-
bug domain: database priority: p1 Stellar Wave
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
StellarState/SS-backend#632 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
A2A audit timestamps end in +00:00Z (invalid ISO 8601)Posiblemente ocupada @O1sumitkumar la tomó hoy. Abiertobug good first issue help wanted python
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
`cf complete zsh >> .zshrc` fails on vanilla zshQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
cloudflare/cf#340 ·
Los mantenedores suelen responder en 1 día