title: How to hide input param in FastApi?
body: <p>How to hide the request param in OpenApi? I would like to hide user_agent from OpenApi UI.</p>
  <p>I have a simple app:</p>
  <pre><code>from typing import Optional
  from fastapi import FastAPI, Header
  
  app = FastAPI()
     
  @app.get(&quot;/items/&quot;)
  async def read_items(
         user_agent: Optional[str] = Header(None), 
         size: Optional[int] = Body(None)):
      return {&quot;User-Agent&quot;: user_agent}
  </code></pre>