I recently started using Swagger for my documentation but there are few things that are still unclear to me. I created my YAML document and now I would like to be able to share my documentation in a .pdf or HTML/Javascript page with the rest of my te...
I am new to swagger, I have generated a javascript closure angular client from the swagger's online editor, it gave me a DefaultAPI.js and other JS files that match my objects definitions. I've searched in swagger docs and on the net for a w...
Is it possible to hide the id attribute in a method in swagger-ui generated by explorer in Strongloop Loopback? I don want the user to create a new resource and send the id attribute. I know that if the user send the id it can be ignored but I want t...
According to the documentation you can create custom response classes; https://docs.strongloop.com/display/public/LB/Remote+methods#Remotemethods-Argumentdescriptions The remote method description I use is: common/models/products-sku.js ProductsSk...
I'm just following egghead Build Node.js APIs with OpenAPI Spec (Swagger) tutorial. I wrote a function to save data as in tutorial but when I'm trying to save data, I've got Build Node.js APIs with OpenAPI Spec (Swagger) { "mess...
I have a swagger tag document using the Swagger UI that always returns text/html but it should return application/json. The POST requests and every other type returns application/json but this particular GET request does not. The service end point...
I’ve just got started with Swagger and NodeJS. I was able to implement Swagger to my NodeExpress application and was also able to generate typescript-client-code with Swagger-Codegen (Typescript-Angular) to be exact. One problem that I have is th...
Unable to render this definition The provided definition does not specify a valid version field. Please indicate a valid Swagger or OpenAPI version field. Supported version fields are swagger: "2.0" and those that match openapi:...
I'm new to swagger and writing my first spec. I've found following swagger "date" types*: ------------------------------------------------ | Common name | Swagger spec 1.2 | ---------------------------------------------...
I am using swagger with servicestack but I am getting a 401 unauthorised error from my /resources URL becuase it requires an API key. Unless I'm mistaken, according to the documentation I should set supportHeaderParams to true as well as the api...
©2020 All rights reserved.