Skip to content

Commit

Permalink
#15: Change path
Browse files Browse the repository at this point in the history
  • Loading branch information
keiranjprice101 committed Jul 29, 2019
1 parent b6e2f66 commit e6e418a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/swagger/swagger_generator.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import os
import re
from pathlib import Path


class SwaggerGenerator(object):
FILE_PATH = os.getcwd() + "\\swagger\\openapi.yaml"
FILE_PATH = Path.cwd() / "swagger" / "openapi.yaml"

def __init__(self):
self.endpoints = []
Expand Down

0 comments on commit e6e418a

Please sign in to comment.