Document or refactor nullable-but-required pattern for timestamp fields across all destination types
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 30/100
- Tipo de issue
- Documentación
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- openapi
- Área
- api
Línea de trabajo
Start with docs/apis/openapi.yaml and compare the destination schemas, beginning with the GCP Pub/Sub implementation referenced in the issue. Decide whether to document the required-but-nullable semantics or make the fields optional, then apply the chosen approach consistently across all destination types. Done means the schemas follow one clear, consistent approach.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Context
Multiple destination types have disabled_at and other timestamp fields marked as required but nullable in the OpenAPI specification.
Problem
This pattern is semantically confusing - "required but can be null" means "must be present but value can be null". While this is technically valid in OpenAPI, it can be unclear to API consumers and SDK users.
Current Behavior
This pattern is consistent across all destination types, which is correct behavior. The fields are present in responses but may have null values.
Options to Consider
- Document the pattern clearly - Add comments in the OpenAPI spec explaining why these fields use the nullable-but-required pattern
- Make fields optional - Remove from required array and handle absence vs null differently in the implementation
- Keep current pattern with schema documentation - Maintain current approach but add clear documentation explaining the semantics
Acceptance Criteria
- Either document the nullable-but-required pattern clearly in the OpenAPI spec, OR
- Refactor to use optional fields consistently across all destination type schemas
- Ensure chosen approach is applied consistently across ALL destination types
Reference
Identified in code review of GCP Pub/Sub implementation. This is a systemic pattern that affects all destination types.
Related Files
docs/apis/openapi.yaml- All destination schemas
- Lenguaje dominante
- Go
- Estrellas
- 1.1k
- Forks
- 70
- Merge medio
- 1 d 18 h
- PR fusionados (30 d)
- 56
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 hookdeck/outpost
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
hookdeck/outpost#1117 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
Los mantenedores suelen responder en 1 día
Todos los issues de hookdeck/outpost
Issues similares
-
area: watch bug priority: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
mariadb-operator/mariadb-operator#1962 ·
Los mantenedores suelen responder en 1 día
-
bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
eugenioenko/ttt#919 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
QuantumNous/new-api#7839 ·
Los mantenedores suelen responder en 1 día
-
bug needs-triage service/costoptimizationhub
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
hashicorp/terraform-provider-aws#50507 · 1 comentario ·
Los mantenedores suelen responder en 1 día