Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

fix task swag #710

Merged
merged 1 commit into from
Jan 17, 2024
Merged

fix task swag #710

merged 1 commit into from
Jan 17, 2024

Conversation

quoing
Copy link
Contributor

@quoing quoing commented Jan 15, 2024

Task swag is failing

$ go-task swag -f
task: [swag] swag fmt --dir=../
task: [swag] swag init --dir=../,../../../internal/core/services,../../../internal/data/repo --parseDependency
2024/01/15 12:50:47 Generate swagger docs....
2024/01/15 12:50:47 Generate general API Info, search dir:../
2024/01/15 12:50:47 Generate general API Info, search dir:../../../internal/core/services
2024/01/15 12:50:47 Generate general API Info, search dir:../../../internal/data/repo
2024/01/15 12:50:49 ParseComment error in file /home/quoing/src/homebox/backend/app/api/handlers/v1/controller.go :cannot find type definition: ApiSummary
task: Failed to run task "swag": exit status 1

Fixes error above.. seems to be caused by commit: e8449b3

@hay-kot hay-kot merged commit d2bde3f into hay-kot:main Jan 17, 2024
3 checks passed
hay-kot added a commit that referenced this pull request Jan 18, 2024
* fix: task swag (#710)

Co-authored-by: Quoing <[email protected]>

* [feat] Adding new currencies

---------

Co-authored-by: quoing <[email protected]>
Co-authored-by: Quoing <[email protected]>
Co-authored-by: Bradley <[email protected]>
hay-kot added a commit that referenced this pull request Jan 18, 2024
* basic currency service for loading at runtime

* api endpoint for currencies

* sort slice before return

* remove currency validation

* validate using currency service

* implement selecting dynamic currency options

* bump go version

* fix type definition

* specify explicit type

* change go versions

* proper types for assetId

* log/return currency error

* make case insensative

* use ToUpper instead

* feat: adding new currencies (#715)

* fix: task swag (#710)

Co-authored-by: Quoing <[email protected]>

* [feat] Adding new currencies

---------

Co-authored-by: quoing <[email protected]>
Co-authored-by: Quoing <[email protected]>
Co-authored-by: Bradley <[email protected]>

* remove ts file and consoldate new values into json

* move flag to options namespace

* add env config for currencies

* basic documentaion

* remove in sync test

---------

Co-authored-by: quoing <[email protected]>
Co-authored-by: Quoing <[email protected]>
Co-authored-by: Bradley <[email protected]>
hay-kot pushed a commit that referenced this pull request Jan 28, 2024
Co-authored-by: Quoing <[email protected]>
Former-commit-id: d2bde3f
hay-kot added a commit that referenced this pull request Jan 28, 2024
* basic currency service for loading at runtime

* api endpoint for currencies

* sort slice before return

* remove currency validation

* validate using currency service

* implement selecting dynamic currency options

* bump go version

* fix type definition

* specify explicit type

* change go versions

* proper types for assetId

* log/return currency error

* make case insensative

* use ToUpper instead

* feat: adding new currencies (#715)

* fix: task swag (#710)

Co-authored-by: Quoing <[email protected]>

* [feat] Adding new currencies

---------

Co-authored-by: quoing <[email protected]>
Co-authored-by: Quoing <[email protected]>
Co-authored-by: Bradley <[email protected]>

* remove ts file and consoldate new values into json

* move flag to options namespace

* add env config for currencies

* basic documentaion

* remove in sync test

---------

Co-authored-by: quoing <[email protected]>
Co-authored-by: Quoing <[email protected]>
Co-authored-by: Bradley <[email protected]>
Former-commit-id: c4b9238
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants