Improve the types surfaced by the models
- Dominant language
- C#
- Stars
- 2.4k
- Forks
- 416
- PR merge metrics
- No merged PRs in 30d
Description
Having worked wit the docker .net API for a while, something I noticed is that certain classes have types I wouldn't expect. For example, the PortBinding class has strings for all it's members, when it returns an IP address and a port. Could these be surfaced as an integer and IP address respectively? Also, I notice this class returns the type of port, this would be really nice as an enum.
I'm happy to look at doing the work ot make this happen if it would be accepted.
**Output of `dotnet --info`:**
```
(paste your output here)
```
**What version of Docker.DotNet?:**
```
(paste your output here)
```
**Steps to reproduce the issue:**
1.
2.
3.
**What actually happened?:**
**What did you expect to happen?:**
**Additional information:**
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.