-"""Fast API framework, high performance, fast to learn, fast to code, fast to production"""
+"""FastAPI framework, high performance, easy to learn, fast to code, ready for production"""
-__version__ = "0.1.0"
+__version__ = "0.1.2"
+
+from .applications import FastAPI
+from .routing import APIRouter
+from .params import Body, Path, Query, Header, Cookie, Form, File, Security, Depends
def generate_operation_summary(*, route: routing.APIRoute, method: str) -> str:
if route.summary:
return route.summary
- return method.title() + " " + route.name.replace("_", " ").title()
+ return route.name.replace("_", " ").title() + " " + method.title()
def get_openapi_operation_metadata(*, route: routing.APIRoute, method: str) -> Dict:
+from .api_key import APIKeyQuery, APIKeyHeader, APIKeyCookie
+from .http import HTTPBasic, HTTPBearer, HTTPDigest
+from .oauth2 import OAuth2PasswordRequestForm, OAuth2
+from .open_id_connect_url import OpenIdConnect