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

feat: merge the swagger files manually instead use nodetime swagger-combine #4077

Merged
merged 8 commits into from
Apr 18, 2024

Conversation

Pantani
Copy link
Collaborator

@Pantani Pantani commented Apr 9, 2024

Description

This PR changes the package swagger-combine to merge all swagger files into the code instead of using the NodeJs pkg swagger-combine inside the nodetime binary.

How to test

  • Scaffold and run a chain:
ignite s chain venus && cd venus && \
ignite s list --yes user email && \
ignite c serve

@Pantani Pantani self-assigned this Apr 9, 2024
@github-actions github-actions bot added component:ci CI/CD workflow and automated jobs. component:configs component:packages labels Apr 9, 2024
@Pantani Pantani requested review from salmad3 and toschdev as code owners April 9, 2024 23:20
@Pantani Pantani force-pushed the feat/remove-node-swagger-combine branch from 6d74214 to 7cfcd78 Compare April 10, 2024 00:44
Copy link
Member

@julienrbrt julienrbrt left a comment

Choose a reason for hiding this comment

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

Replacing nodejs by Go, love it.
Trying this locally in a bit.

@Pantani Pantani requested a review from julienrbrt April 12, 2024 12:38
@Pantani Pantani requested a review from julienrbrt April 17, 2024 13:26
@Pantani Pantani merged commit 6de2f33 into main Apr 18, 2024
46 checks passed
@Pantani Pantani deleted the feat/remove-node-swagger-combine branch April 18, 2024 13:40
julienrbrt pushed a commit that referenced this pull request May 29, 2024
…combine` (#4077)

* merge the Swagger files manually instead use nodejs swagger-combine

* add changelog

* remove unused function vars

* remove unused error handler

---------

Co-authored-by: Pantani <Pantani>
@Pantani Pantani added the backport/v28.x.y Backport to v28.x.y label Jul 2, 2024
mergify bot pushed a commit that referenced this pull request Jul 2, 2024
…combine` (#4077)

* merge the Swagger files manually instead use nodejs swagger-combine

* add changelog

* remove unused function vars

* remove unused error handler

---------

Co-authored-by: Pantani <Pantani>
(cherry picked from commit 6de2f33)

# Conflicts:
#	go.mod
#	go.sum
#	ignite/pkg/cosmosgen/generate_openapi.go
#	ignite/pkg/nodetime/programs/swagger-combine/swagger-combine.go
@Pantani Pantani removed the backport/v28.x.y Backport to v28.x.y label Jul 4, 2024
Pantani added a commit that referenced this pull request Jul 10, 2024
…combine` (backport #4077) (#4225)

* feat: merge the swagger files manually instead use nodetime `swagger-combine` (#4077)

* merge the Swagger files manually instead use nodejs swagger-combine

* add changelog

* remove unused function vars

* remove unused error handler

---------

Co-authored-by: Pantani <Pantani>
(cherry picked from commit 6de2f33)

# Conflicts:
#	go.mod
#	go.sum
#	ignite/pkg/cosmosgen/generate_openapi.go
#	ignite/pkg/nodetime/programs/swagger-combine/swagger-combine.go

* resolve conflicts

* fix doctor integration tests

* fix doctor tests

---------

Co-authored-by: Danilo Pantani <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants