Commit 7a11b50
docs(openapi): improve docs for session model
Merge google#5031
### Description
This PR improves the generated OpenAPI/Swagger documentation for session
management by adding clearer metadata and richer schema docs for the Session model
(descriptions + examples).
### What changed
- Session model docs: add field descriptions/examples for so the API
schema is self-explanatory.
### Why
The OpenAPI output was correct but lacked enough context (field meanings
and examples) for users reading Swagger UI or generating clients.
### Testing
Documentation-only change (OpenAPI metadata / schema docs).
- Unit tests: Not run.
Co-authored-by: Shangjie Chen <deanchen@google.com>
COPYBARA_INTEGRATE_REVIEW=google#5031 from akshay-kumar-bm:docs/openapi-session-endpoint-docs-update 04ea27e
PiperOrigin-RevId: 9327880421 parent 24a1b26 commit 7a11b50
1 file changed
Lines changed: 33 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
52 | 71 | | |
53 | 72 | | |
54 | 73 | | |
0 commit comments