Recent Discussions
Error: "No operations defined in spec!" - using ES6 Node Express with Consign & Swagger
Hi guys, I've worked with API before, but I've always wanted to work with a well documented API. My problem is that I've started a React Native project that needs to consume my own API, but we're u...Solved36KViews0likes4CommentsDefining conditional attributes in OpenAPI
I need to define a request for a searching service in JSON. Request can have either geographical coordinates (longitude and latitude) or postal code. Either one must be present. If longitude is pre...Solved28KViews2likes3CommentsHow to swagger annotate multipart form data with resteasy?
I'm attempting to annotate an endpoint in resteasy that is a multipart form upload. One part is expected to be the stream of a file, and the other part is json metadata about the file. Because we'r...22KViews0likes1CommentAdding New Controllers Not Showing in UI
Currently, I have 4 controllers/categories on my UI ready and working. However, I have 7 controllers in my folder. The expectation is to have them show up, along with the others, in the screen...Solved20KViews0likes1CommentSwagger $ref won't work
Hey, I started to use swagger with swagger-ui-express andswagger-jsdoc to autodocument my existing api, which is written with nodejs and express (like described here -example).I came across a p...19KViews0likes6CommentsHow to express an array in a swagger definition
How can I express an array of objects in a defition. Here's the sample json { "resourceType": "Patient", "extension": [{ "url": "http://hl7.org/fhir/StructureDefinition/us-core-race", "ex...Solved19KViews0likes5CommentsGenerating a server code Unrecognized token 'openapi': was expecting ('true', 'false' or 'null')
When i try generate a server code with an YAML in OpenAPI version I got the message below and i am using the command too below: Command: java -jar modules/swagger-codegen-cli/target/swagger-c...Solved19KViews0likes4Comments"Should not have additional property" error even though I am following the example
Hello everyone, i am trying to add schema and I keep getting error that I have additional property even though I am following the pattern which has been shown here on the website https://swagger.io...17KViews0likes6Comments