title: TypeError: post() missing 1 required positional argument: 'path' in FastApi?
body: <p>Where is mistake in FastApi?
  Error is:</p>
  <p>@video_router.post('/info')</p>
  <p>TypeError: post() missing 1 required positional argument: 'path'</p>
  <p>api.py</p>
  <pre><code>from fastapi import APIRouter
  video_router = APIRouter
  @video_router.post('/info')
  async def info_set(info: UploadVideo):
      return info
  </code></pre>
  <p>main.py:</p>
  <pre><code>from fastapi import FastAPI
  from api import video_router
  app = FastAPI()
  app.include_router(video_router)
  </code></pre>