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
My application is working with spring, not springboot and has a way of creating dynamic components, so the list of a specific path will be increasing it's differences. I'm trying to build programmatically the results for all of them. With the specific parameters and requests, so it can work to try the HTTP calls in one page
It's something similar to what this guy is doing and the closest solution I found, but there are some specific things on his guide that I'm not aware of that, like the way he gets the path or the schemas.
When I go to /swagger-ui/index.html it displaying all path correctly, but two types not so there are two points.
I want to specify the dynamic paths like the guy in the link above /api/test/**
For those which are shown /api/doc/{ver}/{param} replace the parameters with their current path
I tried to use addOpenApiCustomiser() and pathsToMatch() to retrieve the data and juts add them to the list but I'm not able to retrieve any information using .getComponents().getEtc() is it possible? because the other option would be to map every value manually
The text was updated successfully, but these errors were encountered:
PauloSolis
changed the title
Springdoc programatically API definition and display
Springdoc programatically dynamic API definition and display it's properties
May 5, 2024
It's something similar to what this guy is doing and the closest solution I found, but there are some specific things on his guide that I'm not aware of that, like the way he gets the path or the schemas.
https://medium.com/@moh.hasan.muktasyim.billah/modify-swagger-to-show-dynamic-api-based-on-config-using-springdoc-openapi-647309280a29
When I go to
/swagger-ui/index.html
it displaying all path correctly, but two types not so there are two points./api/test/**
/api/doc/{ver}/{param}
replace the parameters with their current pathI tried to use
addOpenApiCustomiser()
andpathsToMatch()
to retrieve the data and juts add them to the list but I'm not able to retrieve any information using .getComponents().getEtc() is it possible? because the other option would be to map every value manuallyThe text was updated successfully, but these errors were encountered: