-
Notifications
You must be signed in to change notification settings - Fork 1
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
Ignore: π§ Swagger μλ¬ μ μ μ΄λ Έν μ΄μ #150
Merged
Conversation
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
pennyway-app-external-api/src/main/java/kr/co/pennyway/api/apis/ledger/api/SpendingApi.java
Show resolved
Hide resolved
...external-api/src/main/java/kr/co/pennyway/api/common/annotation/ApiExceptionExplanation.java
Show resolved
Hide resolved
...external-api/src/main/java/kr/co/pennyway/api/common/annotation/ApiResponseExplanations.java
Show resolved
Hide resolved
...-external-api/src/main/java/kr/co/pennyway/api/common/swagger/ApiExceptionExplainParser.java
Show resolved
Hide resolved
pennyway-app-external-api/src/main/java/kr/co/pennyway/api/config/SwaggerConfig.java
Show resolved
Hide resolved
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
μμ μ΄μ
κΈ°μ‘΄ μλ¬ μλ΅μ μ μνκΈ° μν΄, μμ μλ΅μ μ§μ λ¬Έμμ΄λ‘ μμ±ν΄μΌλ§ νλ λ¬Έμ κ° μμ.
μμΈ μ λ³΄κ° μμ λ λλ§λ€ κ°λ°μκ° ν΄λΉ μμΈκ° λ¬Έμμ λͺ μλμ΄ μλ λΆλΆμ λͺ¨λ μ°Ύμμ μμ ν΄μΌ νλ€λ λ²κ±°λ‘μκ³Ό ν΄λ¨Ό μλ¬λ‘ μΈν λ¬Έμ μ μ‘΄μ¬.
μμ μ¬ν
@ApiExceptionExplanation
: μλ¬ μμΈ μ€νμ μ μν¨.@ApiResponseExplanations
: 볡μκ°μ μλ¬ μ€νμ νλλ‘ λ¬ΆκΈ° μν μ΄λ Έν μ΄μ μμ κ°μ΄ μ μνλ©΄ λκ°μ΄ λ¬Έμμ μ μλλλ‘ κ°μ ν¨.
리뷰μ΄κ° μ€μ μ μΌλ‘ νμΈν΄μΌ νλ λΆλΆ
ν κ°μ§ λ¨μ μ
@interface
μ νΉμ± μ, νλλ‘Enum
νΉμ μΈν°νμ΄μ€ νμ μ κ°μ§ λͺ»ν¨. (μλ°μ μ΄λ Έν μ΄μ μ μ»΄νμΌ μμ μ νμ μ΄ κ²°μ λμ΄μΌ νκΈ° λλ¬Έ)λ°λΌμ, νΉμ μμκ°μ λ겨주기 μν΄μ μ΄μ© μ μμ΄ BaseErrorCodeλ₯Ό ꡬνν enum ν΄λμ€ μ 보μ μ¬μ©νλ €λ νλλͺ μ λ¬Έμμ΄λ‘ λ겨주μ΄μΌλ§ ν¨.
λ¬Έμμ΄μ μμ ν μ’ μλλ λ¬Έμ λ₯Ό ννΌνμ§ λͺ» ν 건 λ§€μ° μμ½μ§λ§, μ μ΄λ μ λ°©μμ μ¬μ©νλ©΄ κ°μ λ‘ μ»΄νμΌ νμ μ μ€ν¨νκ² λ§λ€ μλ μμΌλ―λ‘ λ¬Έμμ μμΈ μ λ³΄κ° μλͺ» κΈ°μ λλ κ²½μ°λ ννΌν μ μμ.
λ°κ²¬ν μ΄μ