Priority: P2
Context
PR #290 (Closes #289) reworked the English README.md to lead with the clean Pydantic path:
- Quick Start now uses
request_model= / response_model= with small BaseModel classes.
- Redundant
route= / method= and @app.function_name(...) were dropped (the @openapi decorator infers route/method from the adjacent @app.route).
- Spec/Swagger UI plumbing (
openapi.json / openapi.yaml / docs) moved into a collapsible <details> block.
- Raw JSON Schema path preserved in an "Advanced"
<details> section.
- A note was added that
@openapi documents the contract but does not validate (validation lives in azure-functions-validation).
The three translated READMEs still show the old pattern (@app.function_name, route=/method=, raw request_body dicts). As an interim measure, PR #290 added a "this translation may be outdated" banner to each. This issue tracks bringing them back in full parity.
Acceptance Checklist
Out of scope
References
Priority: P2
Context
PR #290 (Closes #289) reworked the English
README.mdto lead with the clean Pydantic path:request_model=/response_model=with smallBaseModelclasses.route=/method=and@app.function_name(...)were dropped (the@openapidecorator infers route/method from the adjacent@app.route).openapi.json/openapi.yaml/docs) moved into a collapsible<details>block.<details>section.@openapidocuments the contract but does not validate (validation lives inazure-functions-validation).The three translated READMEs still show the old pattern (
@app.function_name,route=/method=, rawrequest_bodydicts). As an interim measure, PR #290 added a "this translation may be outdated" banner to each. This issue tracks bringing them back in full parity.Acceptance Checklist
README.ko.mdQuick Start / Before-After updated to match the English structure (Pydantic-first, folded plumbing, Advanced raw-schema<details>).README.ja.mdupdated to match.README.zh-CN.mdupdated to match.ast.parse).Out of scope
README.mdchanges (handled in docs: lead README Quick Start with Pydantic models and drop redundant route/method #290 / docs: lead README Quick Start with Pydantic models and drop redundant route/method #289).References
src/azure_functions_openapi/decorator.py—_extract_binding_hints()route/method inference.