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
121 stars 76 forks source link

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

Open suraj-mane-zellis opened 1 month ago

suraj-mane-zellis commented 1 month 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 1 month 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