Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Maksim Orlov
@MaksimOrlov
@MartinNeumannBeTSE , is the maintainer for javadoc project .
ghilainm
@ghilainm
Do you know when springfox 3.0.0 will be released ?
Maksim Orlov
@MaksimOrlov
As I know @dilipkrish is in middle of OAS3 support. Model enhancement branch is ready for merging. With OAS3 all features will be realised as 3.0 version.
ghilainm
@ghilainm
I have created a pull request on the repository, how can I validate that it works correctly ? -> springfox/springfox-javadoc#15
By the way it is not backward compatible for Java8. It is for Java9+.
ghilainm
@ghilainm
@dilipkrish I have added a lot of support in the springfox-javadoc plugin. I would be happy if it could be part of the next sprinfox release :). Don't know if it is possible.
Dilip Krishnan
@dilipkrish
Absolutely. Will take a look and merge it in
ghilainm
@ghilainm
One possible issue that I see is that I am now compatible only Java 9+
Dilip Krishnan
@dilipkrish
Btw java doc started as maven but it’s now grade
ghilainm
@ghilainm
So it is a limitation of the plugin. But I do believe that it is for the good of the project
I have removed the maven part as it seems kinda not used.
Sorry if I made too big changes. But I am ready to do some changes if needed :).
Dilip Krishnan
@dilipkrish
I see that’s the issue with annotation processors. We need to make sure it works with java 8-12
ghilainm
@ghilainm
Problem is that I use the new Doclet API which has been introduced in Java9. The old one is deprecated since Java9.
Dilip Krishnan
@dilipkrish
Is there a way to get java 8 support as well. We want to support at least the Lts versions
ghilainm
@ghilainm
We have to create two version of the plugin. One for java8 and one for java9+. That's ugly.
And the API is totally different, so it means rewritting everything.
ghilainm
@ghilainm
@dilipkrish Any though on this?
Dilip Krishnan
@dilipkrish
Seems like not much of a choice. If that api is stable from 9-12 then let’s go for it. You’ll be missing out java 8 users.
ghilainm
@ghilainm
@dilipkrish I'll check for the API stability but I do believe so.
ashutosh-gupta-mca
@ashutosh-gupta-mca

Hi folks.

I am using swagger 2.9.x in spring boot application. Here I have to expose JSON / XML example body for POST request.
But the problem is .. the schema model has nested types and version like V1, V2..
How to show the specific model as Post example body .. ??

In other way... you can understand the Problem .. like I have a base model class .. Animal.. n some sub classes like Dog, Cat .. etc.. Now I have to show the Cat or Dog model as the example POST method body.. in Swaggar UI..
I am using annotations..

Please suggest me the way..

reddyonlinenow
@reddyonlinenow
I am facing the issue mentioned here : springfox/springfox#2982
please help
reddyonlinenow
@reddyonlinenow
@dilipkrish
Dilip Krishnan
@dilipkrish
@ashutosh-gupta-mca that is something you should ask the swagger-ui team. Not sure that's easy to do unless you generate your own examples
@reddyonlinenow responded
reddyonlinenow
@reddyonlinenow
@dilipkrish the fix you have mentioned did not work for me #2982, please suggest
ghilainm
@ghilainm
@dilipkrish When do you think you could have time to take a look at springfox/springfox-javadoc#15
Dhanu N Joy
@iamrdn
@dilipkrish is the current openapi plugin supporting functional routers (controller-less) API documentation..? Please help me in this.. we have to support RouterFunction too.
Matthew Planchant
@mplanchant
@dilipkrish is there any way of adding validation or a format to header parameters? Maybe using @ApiParam(format= ""?
Lovro Pandžić
@lpandzic
hello, any ETA for springfox 3 or openapi 3 support?
Lovro Pandžić
@lpandzic
ps question for users, since openapi 3 isn't supported, what's the best workaround now? generate swagger 2 on the fly and manually convert to openapi 3?
ghilainm
@ghilainm
You can also use snapshot version of springfox, it may be ok depending on your poject :)
Dilip Krishnan
@dilipkrish
Open api 3 model is very different. That’s why it’s taking time. It’s almost a rewrite
Lovro Pandžić
@lpandzic
I'm fine with using snapshot if it works :)
Lovro Pandžić
@lpandzic
which dependency I'm looking for exactly? Is there any documentation/example somewhere?
Lovro Pandžić
@lpandzic
I've built the project locally but how do I configure the Docket, there's no documentation type for openapi?
Lovro Pandžić
@lpandzic
@dilipkrish I understand, I'm just wondering what my options at the moment are, I've managed to get it done by covnerting manually version 2 to 3. I haven't managed to get the openapi-3 branch going because the generated oas is empty (there are no endpoints).
Maksim Orlov
@MaksimOrlov
Hi, people.
JsonView support is now available in 3.0.0-SNAPSHOT version. Would be grateful for the feedback of the functionality.
Dilip Krishnan
@dilipkrish
It’s not just jsonview. It also includes a way to generate different request and response model definitions from the same class. Thank you very much for an awesome contribution Maksim!! 🤘🏼
Both are much requested features
Darren Boo
@darrenbkl
Screen Shot 2019-06-13 at 3.45.44 PM.png
any idea what happened?
Using 3.0.0-SNAPSHOT
apopptraneconnect
@apopptraneconnect

Hello, I am running into the following error, can anyone can advice for a work around?

https://github.com/risavkarna/repatron/tree/feature/swagger3

java.lang.IllegalStateException: Ambiguous models equality when conditions is empty.

I have tried setting ApiModel value on each of my models to ensure they are unqiue
Maksim Orlov
@MaksimOrlov
Hi, @apopptraneconnect. That is known issue, i'm going to fix it in a nearest future.
Maxim Kolesnikov
@xCASx
Hello! I see that for a long time a lot of focus is on Swagger 3 implementation. Meanwhile there were no releases for Swagger 2 for more than a year. While it is important to move forward with new features, it is also important to support existing implementation, especially taking into account that there is no even alpha version for Swagger 3.
My qeustion is: are there any plans to release what was done for Swagger 2 for last year?
Dilip Krishnan
@dilipkrish
Yes
as soon as it's done. (I estimate a month)