text: #!/usr/bin/env python3
  
  import connexion
  import logging
  
  from swagger_server import encoder
  from swagger_server.utilities.error_handler import handle_api_exception
  
  __LOG_FORMAT = '%(asctime)s %(levelname)s %(name)s :%(message)s'
  logging.basicConfig(format=__LOG_FORMAT)
  
  
  def main():
      app = connexion.App(__name__, specification_dir='./swagger/')
      app.app.json_encoder = encoder.JSONEncoder
      app.add_error_handler(Exception, handle_api_exception)
      app.add_api(
          'swagger.yaml',
          arguments={
              'title': 'CADDE v1 Specification 利用者 認証認可I/F'},
          pythonic_params=True)
      app.run(port=8080, threaded=True)
  
  
  if __name__ == '__main__':
      main()
  