[ 
https://issues.apache.org/jira/browse/IGNITE-23508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aleksandr updated IGNITE-23508:
-------------------------------
    Description: 
Introduce new module called rest-client. This module "implements" rest-api 
module and uses the generated code inside. The reason why we should use the 
generated code is validation of the generated code. Its not enough to publish 
the openapi specification, because it might be valid but at the same time the 
generator might produce broken code out of valid openapi spec. So, we want to 
use the generated code in order to validate the generated client. 

But at the same time we can not use the generated code directly, because it is 
not accurate and messy. "Wrap" this code with hand-written classes would be 
nice and rest-client module can be reused in many places (but it is the next 
ticket).

> Add rest-client module
> ----------------------
>
>                 Key: IGNITE-23508
>                 URL: https://issues.apache.org/jira/browse/IGNITE-23508
>             Project: Ignite
>          Issue Type: Improvement
>          Components: rest
>            Reporter: Aleksandr
>            Priority: Major
>              Labels: ignite-3
>
> Introduce new module called rest-client. This module "implements" rest-api 
> module and uses the generated code inside. The reason why we should use the 
> generated code is validation of the generated code. Its not enough to publish 
> the openapi specification, because it might be valid but at the same time the 
> generator might produce broken code out of valid openapi spec. So, we want to 
> use the generated code in order to validate the generated client. 
> But at the same time we can not use the generated code directly, because it 
> is not accurate and messy. "Wrap" this code with hand-written classes would 
> be nice and rest-client module can be reused in many places (but it is the 
> next ticket).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to