Re: Is anyOf Allowed With Array Items

2018-05-01 Thread Ron Ratovsky
Both oneOf and anyOf are valid and supported – they just have a different meaning. From: on behalf of "amcmani...@pindrop.com" Reply-To: "swagger-swaggersocket@googlegroups.com"

Re: Error while using array in Post specification

2018-05-01 Thread Ron Ratovsky
In Swagger/OAS 2.0 – form data parameters do not allow the use of complex types. If that’s a requirement for you, you would need to use OAS3. From: on behalf of Kreative76 Reply-To:

Re: Pass a hidden field / parameter through Swagger API

2018-05-01 Thread Ron Ratovsky
Not sure I understand the use case. If you want to have a parameter with a fixed value, why have the parameter at all? From: on behalf of Nathan Best Reply-To: "swagger-swaggersocket@googlegroups.com"

Re: Regex /i Option Support

2018-05-01 Thread Ron Ratovsky
I see. That might be an issue with the validation implementation. Would you mind filing a ticket on Swagger-UI (not Swgger-Editor)? From: on behalf of Greg Fox Reply-To: "swagger-swaggersocket@googlegroups.com"

Re: Define a Contant String Value

2018-05-01 Thread Ron Ratovsky
Unfortunately, the spec doesn’t support referencing pattern values, you’d have to copy them, or reuse the object that contains them. From: on behalf of Greg Fox Reply-To: "swagger-swaggersocket@googlegroups.com"

Re: Unable to infer base url.

2018-05-01 Thread Ron Ratovsky
That looks like a very old version of swagger-ui. Please try the latest. From: on behalf of Anand Mishra Reply-To: "swagger-swaggersocket@googlegroups.com" Date: Thursday,

Re: Swagger with Swashbuckle version 5 on a Web API

2018-05-01 Thread Ron Ratovsky
Swashbuckle is not one of our libraries, and we don’t know enough about it to provide guidance. Would suggest filing a ticket with the project directly. From: on behalf of Ashley Taylor Reply-To:

Re: How do I convert C# classes into JSON using Swagger?

2018-05-01 Thread Ron Ratovsky
We don’t have any libraries that support the code-first approach with C#, however, you might want to take a look at Swashbuckle. From: on behalf of William Thompson Reply-To: "swagger-swaggersocket@googlegroups.com"

Re: Specifying CORS headers?

2018-05-01 Thread Ron Ratovsky
Hi Dan – I’m a bit unclear about what you’re trying to do. However, since this is related to SwaggerHub, please use the in-app support, and they would be able to help you out. From: on behalf of Dan Moore Reply-To:

Re: How do I use Swagger to show a class view of the code along with its dependencies?

2018-05-01 Thread Ron Ratovsky
Not sure I follow the question – Swagger is a set of tools to work around your OpenAPI definition (of your API, obviously). From: on behalf of William Thompson Reply-To: "swagger-swaggersocket@googlegroups.com"

Re: SSL to endpoint - "TypeError: Failed to fetch"

2018-05-01 Thread Ron Ratovsky
The OPTION call is being sent by the browser, not Swagger-UI. We can’t control whether it does or doesn’t, it’s a security feature implemented by the browser. If there’s an issue with FF, it may be a bug with the browser itself. From: on behalf

Re: Regex /i Option Support

2018-05-01 Thread Greg Fox
This is happening in the Swagger Editor running in the browser when I do a Try it Out. With the /i option on the end of the regex, Uppercase, Lowercase & Mixed case entries in the field all fail. If I remove the /I, then the Uppercase will work but not Lowercase or Mixed case. On Tuesday,

Re: Load a local file into a locally-hosted swagger-ui?

2018-05-01 Thread Kyle Shockey
Hi Joe! I'm not aware of any versions of Swagger-UI that support this, but if you can point me to an example setup that works, I can look into it further. You're actually bumping up against a browser security limitation: JavaScript applications are not allowed to access `file://` URLs at all

Re: Is anyOf Allowed With Array Items

2018-05-01 Thread amcmanigal
Thanks! On Monday, April 30, 2018 at 6:14:17 PM UTC-4, amcma...@pindrop.com wrote: > > Hi Everyone, > > Is the following snippet valid OAS 3.0? I'm mainly wondering about > healthSigns. According to the spec documentation oneOf is valid for use in > arrays. However anyOf appears to work just

Re: Regex /i Option Support

2018-05-01 Thread Ron Ratovsky
It doesn’t seem to work where? Swagger is a set of tools, not a specific one. Which tool are you referring to? From: on behalf of Greg Fox Reply-To: "swagger-swaggersocket@googlegroups.com"

How Do I Really Get Started with Swagger in Visual Studio?

2018-05-01 Thread William Thompson
I am new to Swagger but I am trying to get a good starting point where I can use visual studio with it. Where can I find a good demo to make this happen? I tried to use one I found on youtube but I did not get far. I think I already have Swagger installed on my system. In Visual Studio when

Which Swagger Tool can I use to convert XML to JSON?

2018-05-01 Thread William Thompson
Which Swagger Tool can I use to convert XML to JSON? Someone who is familiar with Swagger told me that he has done this. -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email

How do I convert C# classes into JSON using Swagger?

2018-05-01 Thread William Thompson
Hello Forum! I have heard good things about Swagger. I have yet to get into it but I making this post to ask about JSON with Swagger. Can I convert C# objects into JSON with Swagger? -- You received this message because you are subscribed to the Google Groups "Swagger" group. To

Re: Swagger 500 error occurs during a request made to invoke swagger docs/v1

2018-05-01 Thread Madhusudhana Rao
Hi All, Inner Exception details helped us fix the issue, here is the actual issue : Conflicting schemaIds: Duplicate schemaIds detected for types ..See the config setting - \"UseFullTypeNameInSchemaIds\" for a potential workaround. Thank you all On Saturday, March 31, 2018 at 4:10:20 PM

Load a local file into a locally-hosted swagger-ui?

2018-05-01 Thread Joe Knapka
Hello all, I have cloned the swagger-ui Git repo and started a server using *npm run dev*. It is running on local port 3200. In older versions of swagger-ui, I could type a file:// URL into the "Explore" field and load a .yaml file from my local filesystem, to explore the UI of my

Swagger with Swashbuckle version 5 on a Web API

2018-05-01 Thread Ashley Taylor
Hi, I've configured Swashbuckle version 5.6 for a Web API project using these settings: public class SwaggerConfig { public static void Register() { if (ConfigUtil.SSOSupported) { var thisAssembly = typeof(SwaggerConfig).Assembly;

How do I use Swagger to show a class view of the code along with its dependencies?

2018-05-01 Thread William Thompson
It looks like Swagger can do a lot. I was introduced to it because I was told it could do a few specific things that I want to do. How do I use Swagger to show a class view of the code along with its dependencies? -- You received this message because you are subscribed to the Google Groups