Does LocalStack API Gateway support creating API (import-rest-api) using Swagger file?

Issue #57 resolved
Former user created an issue

I will like to use Swagger file to create an API. I am getting following error, so was wondering if localstack currently supports import-rest-api functionality

aws --endpoint-url=http://localhost:4567 apigateway import-rest-api --body '/home/xxxxxx/Swagger.json'

An error occurred (500) when calling the ImportRestApi operation (reached max retries: 4): <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <title>500 Internal Server Error</title> <h1>Internal Server Error</h1> <p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>

Comments (2)

  1. Log in to comment