SAP / olingo-jpa-processor-v4

The JPA Processor fills the gap between Olingo V4 and the database, by providing a mapping between JPA metadata and OData metadata, generating queries and supporting the entity manipulations.
Apache License 2.0
128 stars 80 forks source link

Can We create Versioning on specific to GET API call ? #308

Open suraj-mane-zellis opened 6 months ago

suraj-mane-zellis commented 6 months ago

Can We do versioning on entity ? Suppose I have added new entity , I want to show this entity in different version . https://www.postman.com/api-platform/api-versioning/

suraj-mane-zellis commented 5 months ago

Hi @wog48 , Can we provide only certain fields and entity into response of getter API using any EDM annotation ? So We Can achieve API versioing in JPA processor . I dont want to use @edmIgnore because I want provide response of those fields or entity conditionally.

PLease refer versioning startergy https://www.xmatters.com/blog/blog-four-rest-api-versioning-strategies

suraj-mane-zellis commented 2 months ago

HI @wog48 ,

I am waiting for your valuable response from long time . Is there any implementation in jpa processor to achieve URL based versioning ?

wog48 commented 1 month ago

Sorry for the late response.

It turned out that the original idea for versioning does not work. New one is under development.