Skip to main content

Questions tagged [api-versioning]

The tag has no usage guidance.

api-versioning
0 votes
0 answers
19 views

How to version web models and service layer in .net 6.0 API? [closed]

We recently started writing REST API in our API project and implemented API versioning using asp.versioning package. We are currently only versioning controllers and service layer. The problem is with ...
Aswin Francis's user avatar
0 votes
0 answers
23 views

Manual version update strategy for Kubernetes CustomResourceDefinition

We develop a Kubernetes Operator which manages Custom Resources and performs certain tasks in the cluster based on the spec. So resources manifests start like this: apiVersion: foo.example.com/...
sanbernas's user avatar
0 votes
0 answers
19 views

How to restrict the versions which are not required while deploying .net core web api to a client server

I have a .NET 8 web api solution. if we have 2 versions in it V1 and V2 and client wants only V1 version controller endpoint to be deployed then how to restrict other version V2 from deploying. I am ...
swara's user avatar
  • 1
0 votes
0 answers
17 views

API Versioning Graphql

Does anyone know how to implement API versioning in GraphQL with NestJS? I don't want to change the name of the resolver; I only want to change the GraphQL URL from http://localhost:3003/graphql/v1 to ...
Muhammad Ahsan's user avatar
0 votes
2 answers
102 views

Deprecate a specific action in ASP.NET Core Web API using Asp.Versioning.Mvc

In my ASP.NET Core Web API project, I implemented API versioning using the Asp.Versioning.Mvc package. When deprecating a controller, its response header returns api-deprecated-versions: 1.0. It's ...
Dilakshan AT's user avatar
0 votes
2 answers
311 views

I'm not able to call the azue document intelligence api using the latest api version "2024-02-29-preview"

Using the code below I'm not able to call the latest api version "2024-02-29-preview" of the Azure AI Document Intelligence using prebuilt-layout. I'm in the correct region west europe where ...
Felix T.'s user avatar
0 votes
0 answers
37 views

How to do API versioning with Quart-Schema, but not in URL

How to make good OpenAPI documentation for an API, which does not have version information in the URL but uses query string parameter? @app.route("/example-route/", methods=["GET"])...
Roman Susi's user avatar
  • 4,175
0 votes
0 answers
14 views

Spring Boot old versions of endpoint

I have 5 versions of some endpoint. Only V4 and V5 are used currently on the frontend side. What should I do with the V1, V2 and V3 versions? Should I remove them when are not used anywhere? @...
Matley's user avatar
  • 2,152
0 votes
1 answer
384 views

ASP.NET Core [FromBody] and Minimal API unexpected return value in Blazor

I have here my Minimal API setup with ASP.NET Core versioning and Carter. PutMethod,PostMethod, and PatchMethod works just fine, but my GetMethod and DeleteMethod does not return the string. This is ...
Selene Igiu's user avatar
0 votes
1 answer
182 views

how to generate default versions swagger collection?

I'm trying to create a versioned swagger using the Asp Versioning Mvc ApiExplorer library. I followed the basic guide documentation and applied the Operation Filter, but even though I specified the ...
Vorasoda's user avatar
0 votes
1 answer
485 views

API Versioning with .NET 7

I have migrated a .NET Core 2.1 application to .NET 7, I had API Versioning on that with Microsoft.AspNetCore.Mvc.Versioning 2.3.0. In the upgraded version the versioning does not work anymore, I get ...
Angelo's user avatar
  • 89
0 votes
2 answers
402 views

ASP.NET Web API versioning Migrate from QueryStringApiVersionReader to UrlSegmentApiVersionReader

I'm currently looking into migrate an API versioning mechanism from using query parameter to use url fragments. However, I need to maintain backwards compatibility, so if the caller specifies the ...
HoBa's user avatar
  • 3,544
1 vote
1 answer
83 views

How Karate contract testing handles API versioning?

I am new in Karatate contract testing. I have a spring boot application, and I wrote a Karate test for it like this: Background: * call read('docker-operations.feature') * url 'http://localhost:...
user22504890's user avatar
0 votes
0 answers
76 views

Api versioning through header having same header name

How to give multiple values to a controller for api versioning through header having same header name @PostMapping(value = URL.ADD, headers = {"X-API-VERSION=1.0", "X-API-VERSION=2.0&...
Pooja B's user avatar
0 votes
2 answers
428 views

What does UseApiBehavior property do in the ApiVersioning library?

I am trying to enable swagger in my application, but as I am retrofitting it to legacy applications I would like to know exactly what changes I am making. On the internet it suggests adding the ...
JKennedy's user avatar
  • 18.6k

15 30 50 per page
1
2 3 4 5
14