aws / aws/serverless-application-model

basepath in swagger is ignored

Open
#524 6 comments 6 reactions 0 assignees View on GitHub
area/resource/api contributors/good-first-issue maintainer/need-response type/feature
Dominant language
Python
Stars
9.6k
Forks
2.5k
Avg merge
1d 11h
Merged PRs (30d)
7

Description

**Description:**

**Steps to reproduce the issue:**
1. Create a basepath in swagger file for an API
2. Deploy the API using SAM

**Observed result:**
"basepath" is always ignored. This forces us to rework our existing swaggers to use the "path" field.

**Expected result:**
Allow different import options for basePath which is described from the AWS doc: https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-import-api-basePath.html

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.