You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-9Lines changed: 12 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -10,14 +10,17 @@ Ktor OpenAPI Generator is:
10
10
- Explicit
11
11
12
12
Currently Supported:
13
-
- Authentication ineroperability with strongly typed Principal (OAuth only, see TestServer in tests)
14
-
- Content Negociation interoperability (see TestServer in tests)
15
-
- Custom response codes (as parameter in @Response)
16
-
- Automatic and custom content Type routing and parsing (see com.papsign.ktor.openapigen.content.type, Binary Parser and default JSON parser (that uses the ktor implicit parsing/serializing))
17
-
- Exception handling (use .throws(ex) {} in the routes with an APIException object) with Status pages interop (with .withAPI in the StatusPages configuration)
18
-
- tags (.tag(tag) {} in route with a tag object, currently must be an enum, but may be subject to change)
13
+
- Authentication interoperability with strongly typed Principal (OAuth only, see TestServer in tests)
14
+
- Content Negotiation interoperability (see TestServer in tests)
15
+
- Custom response codes (as parameter in `@Response`)
16
+
- Automatic and custom content Type routing and parsing (see `com.papsign.ktor.openapigen.content.type`, Binary Parser and default JSON parser (that uses the ktor implicit parsing/serializing))
17
+
- Exception handling (use `.throws(ex) {}` in the routes with an APIException object) with Status pages interop (with .withAPI in the StatusPages configuration)
18
+
- tags (`.tag(tag) {}` in route with a tag object, currently must be an enum, but may be subject to change)
19
19
- Spec compliant Parameter Parsing (see basic example)
20
20
21
+
Extra Features:
22
+
- Includes Swagger-UI (enabled by default, can be managed in the `install(OpenAPIGen) { ... }` section)
23
+
21
24
It is inspired by ktor Locations, but makes no use of it.
22
25
23
26
Take a look at the [wiki for advanced features and mechanics](https://github.com/papsign/Ktor-OpenAPI-Generator/wiki)
@@ -26,7 +29,7 @@ Take a look at the [wiki for advanced features and mechanics](https://github.com
26
29
27
30
### Gradle
28
31
29
-
Step 1. Add the JitPack repository to your build file
32
+
Step 1. Add the JitPack repository to your build file:
0 commit comments