11# generated by datamodel-codegen:
22# filename: api.spec.yaml
3- # timestamp: 2025-05-06T08:33 :41+00:00
3+ # timestamp: 2026-01-23T15:08 :41+00:00
44
55from __future__ import annotations
66
@@ -27,44 +27,6 @@ class Role(Enum):
2727 owner = "owner"
2828
2929
30- class DataConnectorToProjectLink (BaseAPISpec ):
31- model_config = ConfigDict (
32- extra = "forbid" ,
33- )
34- id : str = Field (
35- ...,
36- description = "ULID identifier" ,
37- max_length = 26 ,
38- min_length = 26 ,
39- pattern = "^[0-7][0-9A-HJKMNP-TV-Z]{25}$" ,
40- )
41- data_connector_id : str = Field (
42- ...,
43- description = "ULID identifier" ,
44- max_length = 26 ,
45- min_length = 26 ,
46- pattern = "^[0-7][0-9A-HJKMNP-TV-Z]{25}$" ,
47- )
48- project_id : str = Field (
49- ...,
50- description = "ULID identifier" ,
51- max_length = 26 ,
52- min_length = 26 ,
53- pattern = "^[0-7][0-9A-HJKMNP-TV-Z]{25}$" ,
54- )
55- creation_date : datetime = Field (
56- ...,
57- description = "The date and time the resource was created (in UTC and ISO-8601 format)" ,
58- examples = ["2023-11-01T17:32:28Z" ],
59- )
60- created_by : str = Field (
61- ...,
62- description = "Keycloak user ID" ,
63- examples = ["f74a228b-1790-4276-af5f-25c2424e9b0c" ],
64- pattern = "^[A-Za-z0-9]{1}[A-Za-z0-9-]+$" ,
65- )
66-
67-
6830class ProjectMigrationInfo (BaseAPISpec ):
6931 project_id : str = Field (
7032 ...,
@@ -138,22 +100,22 @@ class ErrorResponse(BaseAPISpec):
138100 error : Error
139101
140102
141- class NamespacesNamespaceProjectsSlugGetParametersQuery (BaseAPISpec ):
103+ class ProjectsProjectIdGetParametersQuery (BaseAPISpec ):
142104 with_documentation : Optional [bool ] = Field (
143105 None , description = "Projects with or without possibly extensive documentation?"
144106 )
145107
146108
147- class ProjectsProjectIdCopiesGetParametersQuery (BaseAPISpec ):
148- writable : bool = False
149-
150-
151- class ProjectsProjectIdGetParametersQuery (BaseAPISpec ):
109+ class NamespacesNamespaceProjectsSlugGetParametersQuery (BaseAPISpec ):
152110 with_documentation : Optional [bool ] = Field (
153111 None , description = "Projects with or without possibly extensive documentation?"
154112 )
155113
156114
115+ class ProjectsProjectIdCopiesGetParametersQuery (BaseAPISpec ):
116+ writable : bool = False
117+
118+
157119class MigrationSessionLauncherPost (BaseAPISpec ):
158120 model_config = ConfigDict (
159121 extra = "forbid" ,
@@ -235,12 +197,6 @@ class ProjectMemberResponse(BaseAPISpec):
235197 role : Role
236198
237199
238- class DataConnectorToProjectLinksList (RootModel [List [DataConnectorToProjectLink ]]):
239- root : List [DataConnectorToProjectLink ] = Field (
240- ..., description = "A list of links from a data connector to a project"
241- )
242-
243-
244200class ProjectGetQuery (PaginationRequest ):
245201 namespace : str = Field ("" , description = "A namespace, used as a filter." )
246202 direct_member : bool = Field (
@@ -386,11 +342,6 @@ class ProjectsGetParametersQuery(BaseAPISpec):
386342 params : Optional [ProjectGetQuery ] = None
387343
388344
389- class RenkuV1ProjectsMigrationsGetParametersQuery (BaseAPISpec ):
390- """This class no longer includes any parameters."""
391- pass
392-
393-
394345class Project (BaseAPISpec ):
395346 id : str = Field (
396347 ...,
0 commit comments