Top "Swagger-editor" questions

Swagger Editor allows users to create API specifications using YAML inside the browser and to preview documentation in real time.

How to send a JSON object as part of a multipart request in Swagger Editor?

I'm writing API documentation using Swagger Editor, but having a problem with a multipart POST request containing a JSON object. …

swagger-2.0 openapi swagger-editor
How to make a field in a definition required for some operations and not others

I'm writing my swagger definition in yaml. Say I have a definition that looks something like this. paths: /payloads: post: …

swagger swagger-2.0 swagger-editor
Swagger POST Json Body Parameter Schema YAML

i'm working on a RESTful API using swagger-api and swagger-editor for routes. I can't figure out why the JSON i …

json post yaml swagger swagger-editor
How to avoid CORS errors ("Failed to fetch" or "Server not found or an error occurred") when making requests from Swagger Editor?

I have the following OpenAPI definition: swagger: "2.0" info: version: 1.0.0 title: Simple API description: A simple API to learn how to …

cors swagger swagger-ui openapi swagger-editor
How to link to another endpoint in Swagger

I'm writing a Swagger specification for an future public API that requires a very detailed and clean documentation. Is there …

yaml swagger swagger-2.0 swagger-editor
How to document dynamic query parameter names in OpenAPI (Swagger)?

Is there any way to document the following query? GET api/v1/users?name1=value1&name2=value where the …

swagger swagger-editor swagger-codegen openapi
A deterministic version of a JSON schema object

I am trying to use the Swagger Editor to create a custom JSON/YAML for my API. Basically I want …

swagger swagger-2.0 swagger-editor
File upload on Swagger Editor OpenAPI 3 not showing the file browser when trying it out

I'm using Swagger Editor with OpenAPI 3.0. I need to document a route which consists of uploading an image. When attempting …

swagger swagger-ui swagger-editor openapi
Swagger 3.0 schema error "should NOT have additional properties"

What does this error below mean? (Running in Swagger Editor) Schema error should NOT have additional properties additionalProperty: /buildinfo, /clearcache, /…

validation yaml swagger-editor openapi
How to refer to enclosing type definition recursively in OpenAPI / Swagger?

I'm writing an OpenAPI definition in Swagger Editor. One of my type definitions contains an array containing child elements of …

recursion swagger swagger-ui openapi swagger-editor