This repository was archived by the owner on Apr 2, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
src/stapi_fastapi/routers Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ def __init__(
3939 name = f"{ self .root_router .name } :{ self .product .id } :get-product" ,
4040 methods = ["GET" ],
4141 summary = "Retrieve this product" ,
42+ tags = ["Products" ],
4243 )
4344
4445 self .add_api_route (
@@ -49,6 +50,7 @@ def __init__(
4950 response_class = GeoJSONResponse ,
5051 response_model = OpportunityCollection [Geometry , self .product .constraints ],
5152 summary = "Search Opportunities for the product" ,
53+ tags = ["Products" ],
5254 )
5355
5456 self .add_api_route (
@@ -57,6 +59,7 @@ def __init__(
5759 name = f"{ self .root_router .name } :{ self .product .id } :get-constraints" ,
5860 methods = ["GET" ],
5961 summary = "Get constraints for the product" ,
62+ tags = ["Products" ],
6063 )
6164
6265 self .add_api_route (
@@ -67,6 +70,7 @@ def __init__(
6770 response_class = GeoJSONResponse ,
6871 status_code = status .HTTP_201_CREATED ,
6972 summary = "Create an order for the product" ,
73+ tags = ["Products" ],
7074 )
7175
7276 def get_product (self , request : Request ) -> Product :
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ def __init__(
4848 self .get_products ,
4949 methods = ["GET" ],
5050 name = f"{ self .name } :list-products" ,
51- tags = ["Product " ],
51+ tags = ["Products " ],
5252 )
5353
5454 self .add_api_route (
You can’t perform that action at this time.
0 commit comments