Swagger Open Source Tools Questions 1,763 PostsSwagger Open Source Tools News & Announcements 8 Posts
Latest PostsRegarding swagger is not working in nodejs as per the swagger document.openapi codegen doesn't match swagger for xml arraySwagger Editor (Local) CORS ErrorSolved
Latest PostsMost RecentMost ViewedError: "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...SolvedDefining 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...SolvedWhy does SpringOpenApi3.0 still need io.swagger.models dependency? Project current dependencies io\swagger\core\v3\swagger-models\2.1.2\swagger-models-2.1.2.pom io\swagger\core\v3\swagger-annotations\2.1.2\swagger-annotations-2.1.2.pom Use OpenApi3.0 annotatio...SolvedHow 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...Adding 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...SolvedSwagger $ref won't work Hey, I started to use swagger with swagger-ui-express and swagger-jsdoc to auto document my existing api, which is written with nodejs and express (like described here - example).I came across a p...Error response with example content using annotations Hi, I am trying to document an api error response with a example of the json body. I couldn't find an example or a fitting annotation. Playing around with the swagger editor I could at least g...SolvedHow 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...SolvedGenerating 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...Solved"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...