Skip to content

Commit

Permalink
Update samtranslator/swagger/swagger.py
Browse files Browse the repository at this point in the history
Co-authored-by: GZ <yuanhaoz@amazon.com>
  • Loading branch information
Connor Robertson and GavinZZ authored Dec 13, 2023
1 parent 14d7552 commit 79247ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samtranslator/swagger/swagger.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def __init__(self, doc: Optional[Dict[str, Any]]) -> None:
raise InvalidDocumentException(
[
InvalidTemplateException(
"Invalid Swagger document. May be caused by having the OpenApi definition defined outside of the template."
"Invalid Swagger document or the Swagger document is not explicitly defined in `DefinitionBody`."
)
]
)
Expand Down

0 comments on commit 79247ef

Please sign in to comment.