|
16 | 16 | tags=["Genes"], |
17 | 17 | summary="List all genes (paginated)", |
18 | 18 | description=( |
19 | | - "Return distinct (gene, species) pairs with PanKB URLs. " |
| 19 | + "Return distinct (gene, species) pairs with PanKB URLs.\n\n" |
20 | 20 | "Supports cursor-based pagination via after/limit query parameters." |
21 | 21 | ), |
22 | 22 | parameters=[ |
@@ -80,7 +80,7 @@ def genes(request): |
80 | 80 | tags=["Strains"], |
81 | 81 | summary="List all strains (paginated)", |
82 | 82 | description=( |
83 | | - "Return all strains (genome IDs) with PanKB URLs. " |
| 83 | + "Return all strains (genome IDs) with PanKB URLs.\n\n" |
84 | 84 | "Supports cursor-based pagination via after/limit query parameters." |
85 | 85 | ), |
86 | 86 | parameters=[ |
@@ -142,7 +142,7 @@ def strains(request): |
142 | 142 | tags=["Gene-Strain Pairs"], |
143 | 143 | summary="List gene-strain pairs (paginated)", |
144 | 144 | description=( |
145 | | - "Return distinct (gene, strain, locus_tag) pairs with PanKB URLs. " |
| 145 | + "Return distinct (gene, strain, locus_tag) pairs with PanKB URLs.\n\n" |
146 | 146 | "Supports cursor-based pagination via after/limit query parameters." |
147 | 147 | ), |
148 | 148 | parameters=[ |
@@ -206,10 +206,10 @@ def gene_strain_pairs(request): |
206 | 206 | tags=["Gene-Strain Pairs"], |
207 | 207 | summary="Query by gene-strain pairs", |
208 | 208 | description=( |
209 | | - "Look up detailed gene info for specific gene/strain pair combinations. " |
210 | | - "Accepts JSON body: {\"pairs\": [{\"gene\": \"...\", \"strain\": \"...\"}]}. " |
211 | | - "Both 'gene' and 'strain' must be strings (not arrays). Each pair represents one gene-strain combination. " |
212 | | - "Returns 400 if the pairs list is empty or entries are missing required fields. " |
| 209 | + "Look up detailed gene info for specific gene/strain pair combinations.\n\n" |
| 210 | + "Accepts JSON body: {\"pairs\": [{\"gene\": \"...\", \"strain\": \"...\"}]}.\n\n" |
| 211 | + "Both 'gene' and 'strain' must be strings (not arrays). Each pair represents one gene-strain combination.\n\n" |
| 212 | + "Returns 400 if the pairs list is empty or entries are missing required fields.\n\n" |
213 | 213 | "IDs not found in the database are silently omitted from the response." |
214 | 214 | ), |
215 | 215 | request={ |
@@ -326,9 +326,9 @@ def query_by_pair(request): |
326 | 326 | tags=["Genes"], |
327 | 327 | summary="Query by gene names", |
328 | 328 | description=( |
329 | | - "Look up detailed gene info by a list of gene names. " |
330 | | - "Accepts JSON body: {\"ids\": [\"geneA\", \"geneB\"]}. " |
331 | | - "Returns 400 if the ids list is empty or missing. " |
| 329 | + "Look up detailed gene info by a list of gene names.\n\n" |
| 330 | + "Accepts JSON body: {\"ids\": [\"geneA\", \"geneB\"]}.\n\n" |
| 331 | + "Returns 400 if the ids list is empty or missing.\n\n" |
332 | 332 | "IDs not found in the database are silently omitted from the response." |
333 | 333 | ), |
334 | 334 | request={ |
@@ -410,9 +410,9 @@ def query_by_gene(request): |
410 | 410 | tags=["Strains"], |
411 | 411 | summary="Query by strain IDs", |
412 | 412 | description=( |
413 | | - "Look up genome info by a list of genome IDs. " |
414 | | - "Accepts JSON body: {\"ids\": [\"GCF_...\", \"GCF_...\"]}. " |
415 | | - "Returns 400 if the ids list is empty or missing. " |
| 413 | + "Look up genome info by a list of genome IDs.\n\n" |
| 414 | + "Accepts JSON body: {\"ids\": [\"GCF_...\", \"GCF_...\"]}.\n\n" |
| 415 | + "Returns 400 if the ids list is empty or missing.\n\n" |
416 | 416 | "IDs not found in the database are silently omitted from the response." |
417 | 417 | ), |
418 | 418 | request={ |
|
0 commit comments