เอกสารในห้องสมุดของฉัน

แถบด้านข้างหลายราก

flex-layout

  • Getting Started

  • Guides

  • Reference

typed-rx-http

  • Getting Started

  • Guides

  • Reference

global-rx-state

  • Getting Started

  • Guides

  • Reference

webflux-fe-dev-assistant

reactive-mongo-dsl

Swagger / OpenAPI

เขียน OpenAPI JSON ใหม่เฉพาะเมื่อมีการเปลี่ยนแปลงในการวิเคราะห์ RouterFunction และแหล่งที่มาของ handler


โหมด endpoint ฟังก์ชัน
ApiAccountRouter.java
java

รวม nested path, HTTP method และ handler method reference เพื่อสร้าง endpoint handler parser จะอนุมาน request body และ response publisher type

SwaggerJsonFileWatcher.Config

watchDirectory

src/main/java พื้นฐาน

swaggerOutputFile

ค่าเริ่มต้น src/main/resources/static/swagger.json

projectMode

ค่าเริ่มต้น FUNCTIONAL_ENDPOINT, ตัวเลือก MVC

addDecompileJar / addDecompileJarClass

การวิเคราะห์ source ของประเภท jar ภายนอก

addSourceClasspath

source/classpath สำหรับการแก้ไขสัญลักษณ์

customTypeMapper

รับ Class และ schema Map เพื่อนำ schema ที่กำหนดเองไปใช้

annotation ที่ปรับปรุงการอนุมาน
java
เขียนเฉพาะเมื่อมีการเปลี่ยนแปลง

หากผลลัพธ์การสร้างเหมือนกับ JSON ที่มีอยู่ จะไม่เปลี่ยน timestamp ของไฟล์โดยไม่จำเป็น ซึ่งจะช่วยลดการวนรอบการสร้างในโครงสร้างที่ตัวตรวจสอบด้านหน้าตรวจจับการเปลี่ยนแปลงในไฟล์ swagger.