Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(openapi): remove summary field under Info #3178

Merged
merged 2 commits into from Nov 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion src/bentoml/_internal/service/openapi/__init__.py
Expand Up @@ -103,7 +103,6 @@ def generate_spec(svc: Service, *, openapi_version: str = "3.0.2"):
components=generate_service_components(svc),
info=Info(
title=svc.name,
summary="A ML Service created with BentoML",
description=svc.doc,
version=svc.tag.version if svc.tag and svc.tag.version else "None",
contact=Contact(name="BentoML Team", email="contact@bentoml.ai"),
Expand Down
1 change: 0 additions & 1 deletion src/bentoml/_internal/service/openapi/specification.py
Expand Up @@ -201,7 +201,6 @@ class Info:

title: str
version: str
summary: t.Optional[str] = None
description: t.Optional[str] = None
contact: t.Optional[Contact] = None

Expand Down