Questions tagged [api-versioning]
189 questions
0
votes
2 answers
How to do API versioning in ASP.NET ZERO Web API?
I am using ASP.NET ZERO (Angular and ASP.Net Core template).
How to create different API versions, I want to support different version for backward compatibility.
For example
/api/services/app/Customer/GetAll - this is current…

devson
- 990
- 8
- 22
0
votes
1 answer
How to make same routing name with same parameter with different versions in asp.net core 2.2 web api
I want to call service with the same routing name(same parameter ) with different versions ...
bellow is the my code
[Route("api/v{version:apiVersion}/[controller]/")]
[ApiController]
[ApiVersion("1.0")]
[ApiVersion("1.1")]
public…

user2564537
- 1,041
- 1
- 12
- 16
0
votes
2 answers
For software versioning is 1.2.3 newer or older than 1.2.17?
I was stumped when I was trying to upgrade the jar files in my pom.xml
For software versioning is 1.2.3 newer or older than 1.2.17?
I understand that in Maths, 0.3 is greater than 0.17 and is more recent
but if the '.' has nothing to do with…

likejudo
- 3,396
- 6
- 52
- 107
0
votes
0 answers
How to version APIs which deviated from standard that requires specific version numbers to be used in URLs?
Here is my problem and first question I struggle to find an answer to:
I have an API based on a specific standard
One of the endpoints looks like this: POST/ petstore.swagger.io/v2/pet
Clients expect this URL to be in this exact format and use…

Rytis D
- 1
- 2
0
votes
0 answers
How to version my Java Services like REST API versioning
I need a way to version my java service to be versioned like REST. I want to use the Semantic Versioning and manage my java api lifecycle same as REST.
Example:-
String runService(String serviceVersion, String inputToService...)
and based on the…
0
votes
1 answer
Best approach for api versioning while adding new business validation
I have a project to maintain the user and his/her project allocation records. The project exposes REST APIs to support user/project CRUD operations.
The REST endpoints are designed to support backward compatibility using REST API versioning so that…

Harpreet
- 1,527
- 13
- 25
0
votes
1 answer
ASP.net Core web API Swagger UI version field - Is it possible to set this value in code?
I have a ASP.Net Core Web API with Swagger configured that shows the API End Points.Also API Versioning is enabled. However, the swagger UI is not populating the mandatory field Version when checking the End Point.See image below:
Is it possible to…

user1829319
- 691
- 1
- 8
- 22
0
votes
2 answers
How to implement versioning for Token endpoint in Web API 2
I have a Asp.Net Web API 2 using Token based authentication (OAuth2).
I have implemented Web API versioning using aspnet-api-versioning.
So now I have three different versions of my API. It's really great, I can now change V3 without affecting the…

Kishan Vaishnav
- 2,273
- 1
- 17
- 45
0
votes
1 answer
Custom Header Approach for Spring Boot REST API versioning
I am looking to implement Versioning a REST API With Spring Boot and Swagger using Custom Headers. I went through many links like below.
https://dzone.com/articles/versioning-rest-api-with-spring-boot-and-swagger
Spring + Springfox + Header…

PAA
- 1
- 46
- 174
- 282
0
votes
1 answer
When i call stopForeground in api level 19 then service will destroy
When i call stopForeground in api level 19 then service will destroy but when i call stopForeground in api level 24 then service will not destroy
can anyone help me to find out this scenario in api level 20 ,21 , 22 and 23?

hio
- 915
- 8
- 26
0
votes
1 answer
How can i set the api version on a generic controller when loading a plugin?
I have some plugin's which are basically input and output type definitions. I have a generic controller which i can add to the mvc pipeline. All works fine.
but I'm having trouble setting the api version on this generic controller. I know you can…

Frans
- 131
- 1
- 10
0
votes
0 answers
Why getting error when using swashbuckle?
I have installed "swashbuckle" in my API project but when I try to open swagger UI page then I get the following error
An error has occurred.
Unable to read the entity body. The request stream has already…

AMAR MATHUR
- 46
- 10
0
votes
2 answers
Why is my HTTP Post no longer passing the body content after adding Microsoft.AspNetCore.OData.Versioning
I am working on an ASP.NET Core 2.2 API that is implementing OData via Microsoft.AspNetCore.Odata v7.1.0 NuGet. I had everything working fine so I decided to add API Versioning via the Microsoft.AspNetCore.OData.Versioning v3.1.0.
Now, my GET and…

whiskytangofoxtrot
- 927
- 1
- 13
- 41
0
votes
1 answer
clean solution for header API versioning using Spring WebFlux?
trying to do API versioning with a HTTP header in Spring WebFlux using RouterFunction.
With Spring WebFlux RouterFunction it can't be done using
@GetMapping(headers = "API-VERSION=1.0.0") annotation.
my current attempt which isn't in my opinion a…

Marco
- 3
- 1
0
votes
2 answers
Versioning with WebAPI .Net Core does not work as expected
I am trying to introduce URL versioning into my .Net Core WebAPI application. I am also using Swagger web tools for ease of use for users.
Now, while trying to introduce versioning into my application, I referenced the docs here:…

Lost
- 12,007
- 32
- 121
- 193