Get startedGet started for free

Adding an API description header

You would like to add a description header to your penguin classification API.

This exercise is part of the course

Deploying AI into Production with FastAPI

View Course

Exercise instructions

  • Add a description to your API definition.

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

from fastapi import FastAPI

app = FastAPI(
    # Add a description
    ____="API for penguin classification"
)
Edit and Run Code