Comments (2)
Hi,
you can ignore unwanted parts with the ignoredRouteSelectors in the plugin config. Check which RouteSelector the authentication-block adds and add that to the list.
from ktor-swagger-ui.
Thank you very much .
I have since discovered the unwanted portions of the route were coming from "transparent" children injected in our security code.
createChild(object : RouteSelector() {
override fun evaluate(context: RoutingResolveContext, segmentIndex: Int): RouteSelectorEvaluation {
return RouteSelectorEvaluation.Transparent
}
just in case you might consider including them in generated api spec to be unwanted (since they dont affect the routing decisions)
from ktor-swagger-ui.
Related Issues (20)
- "no root-schema for given type-descriptor" when setting body in defaultUnauthorizedResponse
- v3.0 missing feature - configuring the example encoder
- 3.0 example serialization HOT 2
- V3.0 Abillity to add discriminator property to anyOf body HOT 1
- Rate limiting scope included HOT 1
- Add swagger ui routing example HOT 1
- No code completion when using `to` inside OpenApiResponses HOT 1
- Add vararg shotcut for adding tags HOT 1
- overwrite<T> doesn't apply format to property of request body HOT 3
- Schema generation for generic classes includes fully qualified class names HOT 6
- v3.x missing feature - configuring the schema encoder HOT 1
- Automatically set `required=true` for path parameters HOT 1
- Is there any way to get the spec as json without calling doc/api.json? HOT 1
- Will there be support of Ktor version 3 HOT 1
- Properties defined as non-nullable with a default value are still marked as required in the swagger schema HOT 2
- processKotlinxSerialization() doesn't seem to parse annotations HOT 2
- The schema generated for the value class is incorrect HOT 2
- Global Type Replacement HOT 10
- missing type: string for enum types HOT 1
- Unable to Generate List Body HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ktor-swagger-ui.