문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
programming:documentation:swagger:codegen [2018/07/18 17:54] kwon37xi |
programming:documentation:swagger:codegen [2022/04/14 10:52] kwon37xi |
||
---|---|---|---|
줄 3: | 줄 3: | ||
* [[https:// | * [[https:// | ||
* [[http:// | * [[http:// | ||
+ | * [[https:// | ||
+ | |||
+ | ===== Install with brew ===== | ||
+ | <code sh> | ||
+ | brew install swagger-codegen | ||
+ | </ | ||
+ | |||
+ | ===== 명령행 예제 ===== | ||
+ | <code sh> | ||
+ | # Download current stable 2.x.x branch (Swagger and OpenAPI version 2) | ||
+ | wget https:// | ||
+ | |||
+ | java -jar swagger-codegen-cli.jar help | ||
+ | |||
+ | # Download current stable 3.x.x branch (OpenAPI version 3) | ||
+ | wget https:// | ||
+ | |||
+ | java -jar swagger-codegen-cli.jar --help | ||
+ | |||
+ | # 실제 실행 | ||
+ | java -jar swagger-codegen-cli.jar generate -i https:// | ||
+ | |||
+ | # 지원 언어 목록 (-l) | ||
+ | java -jar swagger-codegen-cli.jar langs | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Gradle Swagger Code Gen Plugin ===== | ||
+ | |||
+ | * [[https:// | ||
* [[https:// | * [[https:// |