Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Автогенерация swagger (springfox) #8

Closed
malikin opened this issue Sep 6, 2019 · 8 comments
Closed

Автогенерация swagger (springfox) #8

malikin opened this issue Sep 6, 2019 · 8 comments
Labels
enhancement New feature or request

Comments

@malikin
Copy link
Contributor

malikin commented Sep 6, 2019

Надо для облегчения дальнейшей разработки фронта и работы с api настроить автогенерацию доки в формате swagger, https://github.com/springfox/springfox

@malikin malikin added the enhancement New feature or request label Sep 6, 2019
samokisha added a commit to samokisha/hexlet-correction that referenced this issue Sep 10, 2019
malikin pushed a commit that referenced this issue Sep 10, 2019
@malikin malikin closed this as completed Sep 10, 2019
@malikin malikin reopened this Sep 10, 2019
@malikin malikin closed this as completed Sep 10, 2019
@malikin
Copy link
Contributor Author

malikin commented Sep 10, 2019

@samokisha Надо добавить как попасть на страничку в README + я чтото не смог ее открыть, ошибка, проверь плиз и обнови README, после запуска проекта, через make, должна открываться, в этом же идея.

@malikin malikin reopened this Sep 10, 2019
@samokisha
Copy link
Contributor

@malikin Ок. С фронтом закончу, смерджу с мастером, потом займусь. Вот ссылка https://hexlet-correction.herokuapp.com/swagger-ui.html?urls.primaryName=full-api

@malikin
Copy link
Contributor Author

malikin commented Sep 11, 2019

Почему в доке только один контроллер?

@samokisha
Copy link
Contributor

Справа вверху вибираешь full-api или конкретный контроллер

@malikin
Copy link
Contributor Author

malikin commented Sep 11, 2019

Если можно сделать по уполчанию full-api, сделай плиз, должно быть можно.

@samokisha
Copy link
Contributor

Хорошо, займусь этим.

@samokisha
Copy link
Contributor

Нет возможности кастомной сортировки или установки дефолтного (приоритетного) API.
Добавлю контроллер, который будет редиректить на full-api.
Или можно убрать все API кроме full-api.

@malikin
Copy link
Contributor Author

malikin commented Sep 11, 2019

Не надо редирект, оставь просто full, у нас там мало что будет :)

samokisha added a commit to samokisha/hexlet-correction that referenced this issue Sep 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants