Improve swagger docs around `skipSnapshot:true`

Abierto
#54 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
42/100
Tipo de issue
Documentación
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
openapi

Línea de trabajo

Start with the Swagger UI documentation for Challenge/rebuildChallenge and the rebuilding-challenge-tasks documentation page. Determine what a snapshot is and the effects of skipSnapshot being true or false, then clarify the Swagger description so the flag's behavior and trade-offs are explicit.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

The API allows to add two flags when triggering a rebuild of a the tasks of a challenge:

The swagger docs describe them like this:

Image

The first flag (remove) is exposed in the UI as a checkbox, the second is not. The docs also only mention the remove-flag (which is fine, IMO).

My question is: What is a snapshot? What happens when set to false? Is there a disadvantage to setting it to false?

For context, I am debugging https://github.com/maproulette/maproulette-backend/issues/1180 and assume that the snapshot take more time to process because it looks like things are done synchronously so skipping the snapshot should be a good idea.

Suggestion: Clarify the swagger docs


Reference https://osmus.slack.com/archives/C1QN12RS7/p1740545612317079

Lenguaje dominante
SCSS
Estrellas
5
Forks
8
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de maproulette/docs

Todos los issues de maproulette/docs

Issues similares

Más issues de Backend & API Design

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.