1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-24 22:14:18 +00:00

🔧 Use correct version in swagger.json

This commit is contained in:
Stefano Pigozzi 2021-05-06 03:03:00 +02:00
parent 9d644605d5
commit cbe5783ac0
Signed by untrusted user who does not match committer: steffo
GPG key ID: 6965406171929D01

View file

@ -5,11 +5,12 @@ from apispec import APISpec
from apispec.ext.marshmallow import MarshmallowPlugin
from apispec_webframeworks.flask import FlaskPlugin
from api_schemas import *
import pkg_resources
# Create an APISpec
spec = APISpec(
title="N.E.S.T.",
version="S2-1",
version=pkg_resources.get_distribution("nest_backend").version,
openapi_version="3.0.2",
plugins=[FlaskPlugin(), MarshmallowPlugin()],
)