Compare commits

..

No commits in common. "6650cb28af44ea67579159f5729629613d0c1cce" and "b3366b365edc25e33771b25855dee53e1f4dd5c7" have entirely different histories.

1 changed files with 2 additions and 5 deletions

View File

@ -52,14 +52,11 @@ config_file = '/opt/opengnsys/ogrepository/etc/ogAdmRepo.cfg'
# Creamos una instancia de la aplicación Flask:
app = Flask(__name__)
# Cargamos el contenido del archivo "swagger.yaml":
# Configuración Swagger:
with open("swagger.yaml", "r") as file:
swagger_template = yaml.safe_load(file)
# Así cambiamos el nombre de la página (por defecto, es 'Flasgger'):
swagger_config = Swagger.DEFAULT_CONFIG
swagger_config['title'] = 'OgRepository API'
swagger = Swagger(app, template=swagger_template)