File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,12 @@ The api-versioning Java library helps you manage the API version using Spring Bo
7
7
The library automatically adds the version to the URI and provides a way to manage the version of the controller.
8
8
9
9
Supports JDK 17, Spring Boot 3.x
10
+ <br >
10
11
11
12
## Features
12
13
- Automatically appends the version to the URI through the ` @ApiVersion ` annotation.
13
14
- Allows customization of the URI prefix.
15
+ <br >
14
16
15
17
## Getting Started
16
18
### 1. Add the JitPack repository to your build file
@@ -48,11 +50,11 @@ dependencies {
48
50
implementation 'com.github.GIVEN53:api-versioning-library:{version}'
49
51
}
50
52
```
51
- <br >
52
-
53
53
> ** Warning**
54
54
> you need to replace ` {version} ` with the latest version.
55
55
56
+ <br >
57
+
56
58
## Usage
57
59
### 1. ` @EnableApiVersion ` annotation on your Application class
58
60
``` java
@@ -92,17 +94,19 @@ GET http://localhost:8080/v1/foo
92
94
POST http://localhost:8080/v1.1/foo/bar
93
95
POST http://localhost:8080/v1.2/foo/bar
94
96
```
97
+ <br >
95
98
96
99
## Setting properties
97
100
``` yml
98
101
api :
99
102
version :
100
103
uri-prefix : # The prefix of URI. Default is "". if you set "/api", the URI will be "/api/v1/..."
101
104
` ` `
105
+ <br>
102
106
103
107
## Changelog
104
108
### 0.1.1
105
109
- Fixed build error
106
110
107
111
### 0.1.0
108
- - Initial release
112
+ - Initial release
You can’t perform that action at this time.
0 commit comments