Skip to content

Commit

Permalink
Add a test for trimming server trailing slashes
Browse files Browse the repository at this point in the history
  • Loading branch information
pimterry committed Jan 21, 2021
1 parent bc2c679 commit 75143f8
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/s2o-test/pull348-trailing-slash/openapi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
openapi: 3.0.0
info:
title: API
version: 1.0.0
servers:
- url: https://example.com
paths:
/:
get:
responses:
'200':
description: OK
14 changes: 14 additions & 0 deletions test/s2o-test/pull348-trailing-slash/swagger.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
swagger: 2.0
info:
title: API
version: 1.0.0
basePath: /
host: example.com
schemes:
- https
paths:
/:
get:
responses:
'200':
description: OK

0 comments on commit 75143f8

Please sign in to comment.