Version does not get set correctly
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Estancado
- Stack tecnológico
- ruby
- Área
- documentation
Línea de trabajo
Start in lib/grape-swagger.rb at lines 58–60 and reproduce the documented add_swagger_documentation version: '1.2.3' call. Inspect the JSON returned by /swagger_doc and verify that the configured version appears there when the fix is complete.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
According to the documentation I should be able to call the add_swagger_documentation method with a version like so:
add_swagger_documentation version: '1.2.3'
However, when I do this, my version is not set in the JSON response for /swagger_doc. I believe the offending line is here: https://github.com/ruby-grape/grape-swagger/blob/master/lib/grape-swagger.rb#L58-L60
Basically, it's check if version is set but that is wrong because it will never set the options key for it. Sort of odd I think.
- Lenguaje dominante
- Ruby
- Estrellas
- 1.1k
- Forks
- 478
- Merge medio
- 7 h 25 min
- PR fusionados (30 d)
- 1
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 ruby-grape/grape-swagger
-
Support default_response and default in 2.3; stop reading route.descPosiblemente ocupada @numbata la tomó hace 49 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ruby-grape/grape-swagger#989 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
ruby-grape/grape-swagger#987 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Bug report: omitted array parameters with `array_use_braces: true`Posiblemente ocupada @olivier-thatch la tomó hace 522 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
ruby-grape/grape-swagger#952 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Bug Report: `default` for array params (`type: [String]`) is incorrectly placed inside `items`Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
ruby-grape/grape-swagger#950 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Setting add_base_path without base_path explicitly specified, returned an errorPosiblemente ocupada @bekicot la tomó hace 832 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 45/100
ruby-grape/grape-swagger#935 ·
Los mantenedores suelen responder en 1 día
Todos los issues de ruby-grape/grape-swagger
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
up-for-grabs/up-for-grabs.net#6330 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 72/100
TheOdinProject/curriculum#31490 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
hotwired/turbo-rails#791 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
FinanceFlash/unvibecode#273 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día