intellij-swagger icon indicating copy to clipboard operation
intellij-swagger copied to clipboard

A plugin to help you easily edit Swagger and OpenAPI specification files inside IntelliJ IDEA

Results 43 intellij-swagger issues
Sort by recently updated
recently updated
newest added

Could not generate Swagger UI: java.nio.file.FileSystemAlreadyExistsException

Go Lang 2020.1.2 Swagger plugin 1.1.1 when trying to edit a file I get the following error: "Could not generate Swagger UI: java.lang.NullPointerException: resource"

Current stable build (1.1.1) of intellij-swagger has some deprecated usage as specified by the jetbrains [report](https://plugins.jetbrains.com/plugin/8347-swagger/versions/stable/126722), this needs to be resolved to keep the plug-in up to date. ```Swagger 1.1.1...

This will show definition in other workspace files in ref completions for definitions.

Environment info: ``` IntelliJ IDEA 2019.2.2 (Ultimate Edition) Build #IU-192.6603.28, built on September 6, 2019 Licensed to David Moles Subscription is active until November 3, 2019 Runtime version: 11.0.3+12-b304.56 x86_64...

``` com.intellij.diagnostic.PluginException: Cannot create class org.zalando.intellij.swagger.reference.usage.SpecReferenceSearch [Plugin: org.zalando.intellij.swagger] at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClass(ComponentManagerImpl.kt:652) at com.intellij.openapi.extensions.impl.ExtensionComponentAdapter.instantiateClass(ExtensionComponentAdapter.java:54) at com.intellij.openapi.extensions.impl.XmlExtensionAdapter$SimpleConstructorInjectionAdapter.instantiateClass(XmlExtensionAdapter.java:132) at com.intellij.openapi.extensions.impl.ExtensionComponentAdapter.createInstance(ExtensionComponentAdapter.java:45) at com.intellij.openapi.extensions.impl.XmlExtensionAdapter.createInstance(XmlExtensionAdapter.java:68) at com.intellij.openapi.extensions.impl.ExtensionPointImpl.processAdapter(ExtensionPointImpl.java:446) at com.intellij.openapi.extensions.impl.ExtensionPointImpl.processAdapters(ExtensionPointImpl.java:401) at com.intellij.openapi.extensions.impl.ExtensionPointImpl.getExtensionList(ExtensionPointImpl.java:232) at com.intellij.openapi.extensions.SmartExtensionPoint.getExtensions(SmartExtensionPoint.java:89) at com.intellij.psi.search.searches.ExtensibleQueryFactory.getExecutors(ExtensibleQueryFactory.java:79) at com.intellij.util.QueryFactory.createQuery(QueryFactory.java:26)...

v1.0.27 External files specified in the "$ref" parameter are not resolved. Adding the "Resource root" mark does not solve the problem. ![image](https://user-images.githubusercontent.com/15269131/60760387-5a4dad00-a03d-11e9-917e-3ce4ece912df.png) In the swagger UI, everything is displayed correctly.

If you use YAML scalars like this in your Open API 3: ``` description: | This is a description ``` or ``` description: > This is a description ``` or...

(thanks for very useful plugin!!) version: 1.0.28 Input: ```js "policyRuleSpec": { "$ref": "#/components/schemas/PolicyRuleSpecRef", "description": "some text" }, ``` Intellij underlines `description` line red, suggests to remove it, and claims that...

Is there any way to enable code-completion for a yaml-file that only contains e.g. schemas? For example, I have a `Foo.yml` with: ```yml openapi: 3.0.0 components: schemas: foo: type: object...