Does your java file import
import com.wordnik.swagger.annotations.Api;
or
import io.swagger.annotations.Api;
It will work with import com.wordnik.swagger.annotations.Api;.
Can you share me the template file you are using. For me, it is generating
the json file but
This is a simplified version of my openapi 3.0 definition I'm viewing on
the swagger editor online. I am trying to have the two responses for error
codes 401 and 403, that share the same schema, show different examples -
this doesn't seem to work and I still see the referenced type as example.
Hello all,
i need some clarification that i need get data from my database so they
sends us data and to receive the data i just use POST method there will be
a partial update all the time so i want to use PATCH for that so can i use
both POST and PATCH in same method???
--
You received this
Hi,
I would like to know if there is a way to specify custom messages in the
swagger definitions. For example
definitions:
Asegurado:
type: object
required:
- referencia
- id
properties:
referencia:
type: string
minLength: 7
maxLength: 7
Hi,
I am using swagger-jersey2-jaxrs version 1.5.15. I added a description to a
header using @SwaggerDefinition annotation and tags (as the description
parameter is now deprecated).
The code goes like:
@Api(tags = { "Hello World" })
@SwaggerDefinition(tags = { @Tag(name = "Hello World",
Hi Everyone,
We would like to use Swagger for Restful call documentation.
Our project uses ant to build, for this I have to use
Swagger-ant-task.jar ( https://github.com/cstroe/swagger-ant-task ).
swagger-ant-task jar internally uses swagger-maven-plugin of kongchen