Skip to content

Commit

Permalink
Update OAS Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
DMalone87 committed Sep 5, 2024
1 parent fe53c17 commit 3d9bbea
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions oas/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 3d9bbea

Please sign in to comment.