Closed yanivm96 closed 3 months ago
@yanivm96 @williamdlees Is the plan to keep both the older V1 API and the new V2 openapi3 API available in OGRDB, or discontinue the V1 API? I'm not sure if you have users and/or integrations that are actively using the V1 API, then you might want to keep both actively while you actively encourage moving to V2.
It is also unclear to me what is the purpose of the static/swagger.yml
file? It looks to be the same as the openapi3 spec file, why two files?
yes we will need to keep v1 I think.will come back with some comments on v2 when we have experience using it to build this command line utility.Yaniv can you answer the question on the swagger file, thanks.On 9 Jun 2024, at 20:17, Scott Christley @.***> wrote: @yanivm96 @williamdlees Is the plan to keep both the older V1 API and the new V2 openapi3 API available in OGRDB, or discontinue the V1 API? I'm not sure if you have users and/or integrations that are actively using the V1 API, then you might want to keep both actively while you actively encourage moving to V2.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
Hey, you are right, I will change it to use the ogrdb-api-openapi3.yaml file.
בתאריך יום א׳, 9 ביוני 2024 ב-22:33 מאת William Lees < @.***>:
yes we will need to keep v1 I think.will come back with some comments on v2 when we have experience using it to build this command line utility.Yaniv can you answer the question on the swagger file, thanks.On 9 Jun 2024, at 20:17, Scott Christley @.***> wrote: @yanivm96 @williamdlees Is the plan to keep both the older V1 API and the new V2 openapi3 API available in OGRDB, or discontinue the V1 API? I'm not sure if you have users and/or integrations that are actively using the V1 API, then you might want to keep both actively while you actively encourage moving to V2.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/airr-community/ogrdb/pull/100#issuecomment-2156752156, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWIZD2ZMP45CXUP5WMKZCEDZGSUYPAVCNFSM6AAAAABI2POGNWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJWG42TEMJVGY . You are receiving this because you were mentioned.Message ID: @.***>
adding endpoint for request all avaiable versions, and endpoint for request format type
New api for ogrdb, implemented in api_v1 folder, placed along side with models.py that was created with pydantic’s code generator. The UI was implemented with swagger-ui