Skip to content

Commit 8d96dd0

Browse files
author
Shira Ayal
authored
Merge pull request #35 from shiraayal-tadata/bugfix/fix-syntax-error
Bugfix/fix syntax error
2 parents e965e03 + 52d4623 commit 8d96dd0

File tree

6 files changed

+10
-5
lines changed

6 files changed

+10
-5
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.1.7]
9+
10+
### Fixed
11+
- [Issue #34](https://github.com/tadata-org/fastapi_mcp/issues/34): Fix syntax error.
12+
813
## [0.1.6]
914

1015
### Fixed

fastapi_mcp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Created by Tadata Inc. (https://github.com/tadata-org)
55
"""
66

7-
__version__ = "0.1.6"
7+
__version__ = "0.1.7"
88

99
from .server import add_mcp_server, create_mcp_server, mount_mcp_server
1010
from .http_tools import create_mcp_tools_from_openapi

fastapi_mcp/openapi_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def get_python_type_and_default(parsed_param_schema: Dict[str, Any]) -> tuple[st
132132
# Handle direct type specification
133133
python_type = OPENAPI_PYTHON_TYPES_MAP.get(parsed_param_schema.get("type", ""), "Any")
134134
if "default" in parsed_param_schema:
135-
return f"{python_type} = {parsed_param_schema.get("default")}", True
135+
return f"{python_type} = {parsed_param_schema.get('default')}", True
136136
return python_type, False
137137

138138
def resolve_schema_references(schema_part: Dict[str, Any], reference_schema: Dict[str, Any]) -> Dict[str, Any]:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "fastapi-mcp"
7-
version = "0.1.6"
7+
version = "0.1.7"
88
description = "Automatic MCP server generator for FastAPI applications - converts FastAPI endpoints to MCP tools for LLM integration"
99
readme = "README.md"
1010
requires-python = ">=3.10"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setup(
1212
name="fastapi-mcp",
13-
version="0.1.6",
13+
version="0.1.7",
1414
description="Automatic MCP server generator for FastAPI applications - converts FastAPI endpoints to MCP tools for LLM integration",
1515
author="Tadata Inc.",
1616
author_email="[email protected]",

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)