Skip to content

Commit 2b3935f

Browse files
author
Chris Martinez
committed
Strongly-typed resources should be scope internal
1 parent 448f02e commit 2b3935f

File tree

4 files changed

+86
-38
lines changed

4 files changed

+86
-38
lines changed

src/Microsoft.AspNet.WebApi.Versioning/SR.Designer.cs

Lines changed: 51 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Microsoft.AspNet.WebApi.Versioning/SR.resx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
<value>Multiple actions were found that match the request: {0}</value>
131131
</data>
132132
<data name="ApiControllerActionSelector_HttpMethodNotSupported" xml:space="preserve">
133-
<value>The requested resource does not support http method '{0}'.</value>
133+
<value>The requested resource does not support HTTP method '{0}'.</value>
134134
</data>
135135
<data name="ApiVersionBadGroupVersion" xml:space="preserve">
136136
<value>The specified API group version '{0}' is invalid.</value>
@@ -171,10 +171,19 @@
171171
<data name="ResourceNotFound" xml:space="preserve">
172172
<value>No HTTP resource was found that matches the request URI '{0}'.</value>
173173
</data>
174+
<data name="VersionedActionNameNotFound" xml:space="preserve">
175+
<value>No route providing a controller name with API version '{2}' was found to match HTTP method '{1}' and request URI '{0}'.</value>
176+
</data>
174177
<data name="VersionedControllerNameNotFound" xml:space="preserve">
175178
<value>No route providing a controller name with API version '{1}' was found to match request URI '{0}'.</value>
176179
</data>
180+
<data name="VersionedMethodNotSupported" xml:space="preserve">
181+
<value>The requested resource with API version '{0}' does not support HTTP method '{1}'.</value>
182+
</data>
177183
<data name="VersionedResourceNotSupported" xml:space="preserve">
178184
<value>The HTTP resource that matches the request URI '{0}' does not support the API version '{1}'.</value>
179185
</data>
186+
<data name="ZeroApiVersionReaders" xml:space="preserve">
187+
<value>At least one IApiVersionReader must be specified.</value>
188+
</data>
180189
</root>

0 commit comments

Comments
 (0)