Questions tagged as 'swagger'

1
answer

Swagger-ui throws the error "TypeError: property is undefined" when rendering the file swagger.json

Swagger throws the error TypeError: property is undefined by the Javascript console when trying to render the "swagger.json" file generated by the swagger-core module that I have integrated into the API that I am developing with Jersey (J...
asked by 17.12.2015 / 12:41
1
answer

Error installing swagger in Visual Studio

I have created a Web Api and installed Swagger in my Project made in Visual Studio with C #. At the moment of running my project I get the following error:    Could not load file or assembly 'System.Web.Http, Version = 4.0.0.0,   Culture =...
asked by 04.11.2016 / 16:46
1
answer

Publish REST API in heroku

I need to post a API REST in heroku . I have uploaded the project structure to the hosting with the required git commands. In addition, I created a database in heroku through phpmyadmin . The file .env of the p...
asked by 29.05.2018 / 13:18
0
answers

Implement Swagger in Maven project - Error 404

As indicated, and tried for days to implement swagger in the services layer of a maven project that has different modules. Watching tutorials, and view several ways to configure it without giving results, that's why I ask this question. Dependen...
asked by 24.05.2018 / 18:54
0
answers

Create and connect database to a REST API

I need to connect a API REST to a database. I currently have a api in the hosting heroku with all its implementation configured with slim and swagger . This application is connected to a database phpmyadmin...
asked by 30.05.2018 / 13:01
0
answers

Error: 'Parser error bad indentation of a mapping entry' in swaggerhub

I am implementing an api and when coding the post of / new-geocerca the following error appears: 'Parser error bad indentation of a mapping entry' The code is as follows, why can this be happening?: /new-geocerca post: security: - B...
asked by 28.02.2018 / 18:19
2
answers

Swagger Java Spring Data Mock API

Making a data mock for an API I have found that having the example in the Swagger editor, after executing the project spring generated by Swagger I find that the input of the endpoint is not acceptable. It is a Json and the example autogenerates...
asked by 06.10.2017 / 16:40
0
answers

Advanced filters with CURL

Good morning. I'm searching a database through an API called Swagger, which Curl uses for searches. I wanted to know if using curl it is possible to use combined filters, that is, if I look for people who are male and over 25, that I take out th...
asked by 20.04.2017 / 09:37
0
answers

Petitions to Swagger

Good morning, I'm making a website that makes connections to a Velneo database, using Swagger. I managed to consult the database in the following way: var xmlhttp = new XMLHttpRequest(); xmlhttp.open("GET", $urlEnvio, false); xmlhttp.setRequ...
asked by 13.04.2017 / 12:26