무λ£λ‘ μ¬μ©ν μ μλ bruno api client μμ docs μ λ§ν¬λ€μ΄μ λ³Ό μ μλ νλ‘κ·Έλ¨μ λλ€.
- λΈλ£¨λ Έ Api Client μμ μ 곡νλ Docs λ§ λ³λλ‘ κ΄λ¦¬νκΈ° μν΄ λ§λ€μ΄μ§ νλ‘μ νΈμ λλ€.
- λ¬Έμλ§ λ³λλ‘ κ΄λ¦¬νλ©΄μ, Front-end μμ custom νκ² λμμΈνμ¬ λ³΄κΈ°μ’κ² κ³΅μ νκΈ° μν΄ λ§λ€μμ΅λλ€.
- .bru νμΌμ μ½μ΄μ docs {} λΆλΆμ markdown μ μ½μ΄μ 보μ¬μ€λλ€.
- Gradle 8.8
- SpringBoot 3.3.3
- Thymeleaf 3.3.3
- commonmark 0.22.0
- Java 17.0.10+11-LTS-240
Repository ν΄λ‘
git clone https://github.com/icemokacat/bruno-viewer.git
application-dev.yml μ μ°Έκ³ νμ¬ application-local.yml μ λ§λ€μ΄μ μ¬μ©νμΈμ.
- Active profiles local λ‘ μ€μ νμ¬ μ€ννμΈμ.
server:
port: 7001
bruno:
# .bru νμΌμ΄ μλ Collectionμ ν΄λ κ²½λ‘ νΉμ Collection μ΄ λͺ¨μ¬ μλ λ£¨νΈ path λ₯Ό μ€μ νμΈμ
root-path: C:\work\bruno-project\
Springboot μ€ν or jar build ν localhost:{port} μ€ν
bru νμΌμ κ²½λ‘κ° μλμ κ°μλ
{root-path}{μλκ²½λ‘}
http://localhost:{port}/page/bruno/{μλκ²½λ‘} λ₯Ό νΈμΆνμ¬ .bru λ΄ markdown μ λ³Ό μ μμ΅λλ€.
π‘ μμλ‘ μ¬μ©ν md λ¬Έμλ μλμ λ§ν¬μ λλ€.
http://localhost:{port}/api/bruno/{μλκ²½λ‘} λ₯Ό νΈμΆνλ©΄ .bru λ΄ markdown μ
html codeλ‘ parsing ν λ¬Έμμ΄ λ°μ΄ν°λ₯Ό λ°ν ν©λλ€.
π‘ μμλ‘ μ¬μ©ν md λ¬Έμλ μλμ λ§ν¬μ λλ€.
http://localhost:{port}/api/bruno-path
- Method : GET
- Parameter : dir (ν΄λλͺ )
- Response OK Data
{ "httpStatus": "OK", "message": "OK", "data": [ { "isBru": false, "directoryPath": "myapp/environments", "directoryName": "environments" }, { "isBru": true, "directoryPath": "myapp/login.bru", "directoryName": "login.bru" } ] }
- Markdown to html (commonmark)
- SpringμΌλ‘ markdown view λ§λ€κΈ°
- Github Markdown CSS by sindresorhus
Apache License 2.0
λΌμ΄μΌμ€μ λν μ 보λ LICENSE
μ μμ΅λλ€.