-
Notifications
You must be signed in to change notification settings - Fork 52
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
Fix some REST APIs methods from get to post #742
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
swagger docs를 업데이트 하는 과정에서 이 package가 자동으로 import 되고 기존의
"github.com/alecthomas/template"
package가 빠졌습니다.동시에 아래 코드에서
"text/template"
package가 import 되면서 escape문이 추가 되었는데 이렇게 진행을 해도 괜찮을까요?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@atg0831 기여 감사합니다 😊
혹시 사용하고 계신swag
버전을 알 수 있을까요? 😊저는 확인해보니 v1.7.0 입니다.
현재 최신버전은 v1.7.1 이네요 😊
https://github.com/swaggo/swag/releases
v1.7.1 changelog 중에
"chore: alecthomas/template -> text/template" 가 있는 것으로 봐서
v1.7.1 을 사용중이신 것 같군요.. ㅎㅎ
저도 v1.7.1 로 업데이트하고
make swag
실행하니이 PR과 동일해졌습니다.
이 PR대로 진행하면 될 것 같습니다. 😊
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jihoon-seo
혹시,
wiki/API-Document-Update 나 Readme Swagger API 문서 업데이트 필요 시 항목에 swag version 에 대한 명시가 필요할까요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@seokho-son 훔..
기여자가 앞으로 v1.7.1 이 아닌 v1.7.0 등을 사용하면
code pingpong이 계속 일어날 수 있기는 합니다.
명시를 하는 것도 좋을 것 같은데,
그러면 앞으로 swag 이 업데이트 될 때마다 저희도 (필요 시) 업데이트를 해야 하겠네요 😊
비슷한 이슈로
protoc
버전이 있습니다.과거에 있었던
swag
/protoc
code pingpong 이슈를 생각하니, 버전 명시를 하는 것이 좋을 것 같다는 생각이 더 드네요 😊There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@seokho-son @jihoon-seo☺️
위에서 말씀하신
protoc
관련하여 어제 고생을 조금 한터라 😭 간단히 정리한 내용을 공유 드립니다buf
를 활용하는 방안을 검토할 예정입니다.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jihoon-seo @seokho-son
네 제가 swag 최신 버전을 사용했고 Makefile을 이용해서
make swag
을 했는데요,그런데 지금 보니가 cb-tumblbug의 go.mod 파일에는 swag v1.7.0 으로 되어 있네요.
go.mod의 swag의 버전과 $GOPATH의 bin 디렉토리 안의 swag의 버전이 다른데 일치시켜야 하지 않을까요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@atg0831 네
go.mod
의swag
버전도 업데이트 해야겠네요 😊There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jihoon-seo
이번 PR에서 말고 별도의 PR로 수정해서 올리도록 하겠습니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@atg0831 이슈로 미리 올리고 작업 시작하시면 좋을 것 같습니다! ^^
이슈 올리실 때,
를 활용하는 방법도 있어요 ㅎㅎ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@seokho-son
팁 알려주셔서 감사합니다 ㅎㅎ 이슈 올려서 진행해볼게요