Open m-nash opened 3 weeks ago
Right now if you have a model like this
model Foo { x: int; @header y: string; }
and you use this in an operation like this
op method(...Foo) : Foo;
We end up with a model FooRequest which only has the body param x which is fine but this type would never be used on the public api surface and therefore should default to access of internal. Today it comes through as public.
x
internal
public
See above
it should have internal access, see the test here.
Describe the bug
Right now if you have a model like this
and you use this in an operation like this
We end up with a model FooRequest which only has the body param
x
which is fine but this type would never be used on the public api surface and therefore should default to access ofinternal
. Today it comes through aspublic
.Reproduction
See above
Checklist