From 3d9bbea3bc38f2389f3e6071b1b932cf798f29d7 Mon Sep 17 00:00:00 2001 From: Darrell Malone Jr Date: Thu, 5 Sep 2024 10:30:01 -0700 Subject: [PATCH] Update OAS Readme --- oas/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/oas/README.md b/oas/README.md index 0b4b5b0a5..da074a244 100644 --- a/oas/README.md +++ b/oas/README.md @@ -41,3 +41,14 @@ Generating model code for AddOfficerFailed Generating model code for AddOfficerResponse Pydantic models have been successfully generated and saved to 'pydantic/agencies.py'. ``` + +## Caveats + +### Polymorphism +The converter doesn't handle polymorphic propeties yet. There's been a bit of effort put +into making sure it can follow 'allOf' refrences, but I haven't done any investigation +into how it handles 'oneOf' refs. For example, `SourceDetails` on complaints. + +### External File Refrences +The generator only looks at one file at a time. It will not follow refernces to other +files. The generator currently just assumes that those references exist and are valid.