We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b445f3 commit 6127e92Copy full SHA for 6127e92
readme.md
@@ -160,6 +160,7 @@ async def get_stories_with_detail(session: AsyncSession = Depends(db.get_session
160
161
## Run code
162
163
+OpenAPI, aka Swagger
164
```shell
165
python -m venv venv
166
source venv/bin/activate
@@ -170,6 +171,23 @@ uvicorn src.main:app --port=8000 --reload
170
171
172
You can execute it in swagger to view the return value of each API
173
174
+with UI
175
+```shell
176
+python -m venv venv
177
+source venv/bin/activate
178
+pip install -r requirement.txt
179
+uvicorn src.main:app --port=8001 --reload
180
+
181
+cd fe-demo
182
+npm install
183
+# generate sdk
184
+npm run generate-client
185
186
+npm run dev
187
+```
188
189
+or visit the interactive UI.
190
191
192
## Features & Scenarios
193
0 commit comments