- Add HTTPCookieBearer for cookie-based JWT authentication
- Add OAuth2AuthorizationCodeState for CSRF-safe third-party OAuth2 callbacks
- Short-circuit jsonable_encoder BaseModel branch via model_dump(mode="json"),
removing redundant recursive pass
- Update inline-snapshots for Pydantic v2 default: None schema output
Note: 42 pre-existing test failures on main unrelated to this PR.
All model-* parametrized OpenAPI parameter tests fail due to Pydantic
emitting example: None for model-extracted fields. Tracked upstream.
"description":'Create an invoice.\n\nThis will (let\'s imagine) let the API user (some external developer) create an\ninvoice.\n\nAnd this path operation will:\n\n* Send the invoice to the client.\n* Collect the money from the client.\n* Send a notification back to the API user (the external developer), as a callback.\n * At this point is that the API will somehow send a POST request to the\n external API with the notification of the invoice event\n (e.g. "payment successful").',
"description":"""\
Createaninvoice.
Thiswill(let's imagine) let the API user (some external developer) create an
"description":"\nChimichangApp API helps you do awesome stuff. 🚀\n\n## Items\n\nYou can **read items**.\n\n## Users\n\nYou will be able to:\n\n* **Create users** (_not implemented_).\n* **Read users** (_not implemented_).\n",
"description":"\nChimichangApp API helps you do awesome stuff. 🚀\n\n## Items\n\nYou can **read items**.\n\n## Users\n\nYou will be able to:\n\n* **Create users** (_not implemented_).\n* **Read users** (_not implemented_).\n",
"description":'Create an invoice.\n\nThis will (let\'s imagine) let the API user (some external developer) create an\ninvoice.\n\nAnd this path operation will:\n\n* Send the invoice to the client.\n* Collect the money from the client.\n* Send a notification back to the API user (the external developer), as a callback.\n * At this point is that the API will somehow send a POST request to the\n external API with the notification of the invoice event\n (e.g. "payment successful").',
"description":"""\
Createaninvoice.
Thiswill(let's imagine) let the API user (some external developer) create an
"description":"When a new user subscribes to your service we'll send you a POST request with this\ndata to the URL that you register for the event `new-subscription` in the dashboard.",
"description":"""\
Whenanewusersubscribestoyourservicewe'll send you a POST request with this
"description":"Create an item with all the information:\n\n- **name**: each item must have a name\n- **description**: a long description\n- **price**: required\n- **tax**: if the item doesn't have tax, you can omit this\n- **tags**: a set of unique tag strings for this item",
"description":"""\
Createanitemwithalltheinformation:
-**name**:eachitemmusthaveaname
-**description**:alongdescription
-**price**:required
-**tax**:iftheitemdoesn't have tax, you can omit this
"description":"Create an item with all the information:\n\n- **name**: each item must have a name\n- **description**: a long description\n- **price**: required\n- **tax**: if the item doesn't have tax, you can omit this\n- **tags**: a set of unique tag strings for this item",
"description":"""\
Createanitemwithalltheinformation:
-**name**:eachitemmusthaveaname
-**description**:alongdescription
-**price**:required
-**tax**:iftheitemdoesn't have tax, you can omit this
"description":"When a new user subscribes to your service we'll send you a POST request with this\ndata to the URL that you register for the event `new-subscription` in the dashboard.",
"description":"""\
Whenanewusersubscribestoyourservicewe'll send you a POST request with this