Skip to content

v2.4.1

Compare
Choose a tag to compare
@avara1986 avara1986 released this 16 Mar 19:50
· 85 commits to master since this release

Fixes

  • Connexion path in OpenAPI 3.0
    In some case, with the last version of Connexion, doesn`t understand relative path to swagger. For example, f you use OpenAPI 3 in your swagger yaml file:
---
openapi: 3.0.2
info:
  title: Testing
  version: 1.0.0
  description: Testing
  termsOfService: http://swagger.io/terms/
  contact:
    name: Testing
    email: [email protected]
servers:
- url: http://localhost:8080/test/path/
  description: ""
paths:
  /test-url:

and in your configuration file APPLICATION_ROOT is defined like

  config:
    DEBUG: false
    TESTING: false
    APP_NAME: Films&Actors
    APPLICATION_ROOT : ""

The servers.url in swagger file override the base path of your application