Andy , 2024/04/28
對專案點擊右鍵,選擇"屬性"
選擇"建置"中的輸出,並把"產生包含API文件的檔案"打勾
到program.cs裡面找到"AddSwaggerGen",並在裡面加入這幾行程式碼
重新建置專案後打開,就會顯示說明了
back-end
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up