Found it! Need to add ApiController attribute to all routes (also derive from controllerbase)

This commit is contained in:
2019-10-18 18:57:50 +00:00
parent 0d42f163fc
commit c5bd733302
4 changed files with 787 additions and 57 deletions

View File

@@ -11,6 +11,15 @@ UPDATE all the things before commencing work
- https://github.com/domaindrivendev/Swashbuckle.AspNetCore#swashbuckleaspnetcoreannotations
-
Metrics and swagger broken after update.
Need to consider re-thinking versioning system of api to remove the complexity of swagger bullshit when using versioned api.
Test out versioning in the test project I made following the Swashbuckle guide for multiple docs:
https://github.com/domaindrivendev/Swashbuckle.AspNetCore#list-multiple-swagger-documents
Because maybe this is the way to go?
Need a sprint to get to a fully testable client with entry form, list and as much as possible all features from COMMON-* specs list
Do the stuff in the Client todo first then back to the server as required.