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

Refactor oapi fetch task #846

Merged
merged 8 commits into from
Mar 11, 2022

Conversation

Vachman
Copy link
Contributor

@Vachman Vachman commented Jan 7, 2022

Fixes oapi rake task API secs generation tasks. At the moment it generates specs for only one swagger-doc path.

@Vachman
Copy link
Contributor Author

Vachman commented Jan 13, 2022

Rubocop is failing on files which i didn't touch. Any idea how can this be solved?

@LeFnord
Copy link
Member

LeFnord commented Jan 13, 2022

run bundle exec rubocop --auto-gen-config … will have a look on it afterwards

Copy link
Member

@LeFnord LeFnord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the README still up to date?

@Vachman
Copy link
Contributor Author

Vachman commented Jan 13, 2022

run bundle exec rubocop --auto-gen-config … will have a look on it afterwards

This helped to satisfy rubocop.

Also up dated README.md.

@LeFnord
Copy link
Member

LeFnord commented Jan 13, 2022

Rubocop is failing on files which i didn't touch.

it seems most comes from your changes

@Vachman
Copy link
Contributor Author

Vachman commented Jan 14, 2022

Rubocop is failing on files which i didn't touch.

it seems most comes from your changes

Refactor the oapi-tasks and rubocop-todo.

Copy link
Member

@LeFnord LeFnord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @Vachman

@Vachman
Copy link
Contributor Author

Vachman commented Mar 11, 2022

Hey @LeFnord,
could it be possible to merge this feature or it need more tuning?

@LeFnord
Copy link
Member

LeFnord commented Mar 11, 2022

sure and thanks again

@LeFnord LeFnord merged commit db76f42 into ruby-grape:master Mar 11, 2022
@ktopolski ktopolski mentioned this pull request Mar 21, 2022
aka-momo pushed a commit to aka-momo/grape-swagger that referenced this pull request Feb 8, 2023
* oapi rake task generate specs for different API versions

* Refactor oapi:fetch rake task generate specs per file

* Fixing specs

* CHANGELOG.md

* Rubocop auto gen config

* Update README.md

* Satisfy rubocop
Bhacaz pushed a commit to Bhacaz/grape-swagger that referenced this pull request Aug 31, 2023
* oapi rake task generate specs for different API versions

* Refactor oapi:fetch rake task generate specs per file

* Fixing specs

* CHANGELOG.md

* Rubocop auto gen config

* Update README.md

* Satisfy rubocop
"swagger_doc_#{api_version}.json"
else
ENV['store'].sub('.json', "_#{api_version}.json")
end
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like a breaking change to me, which made it into v1.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants