This commit is contained in:
@@ -7,11 +7,6 @@ eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOiIxNTcxODU5OTU0IiwiZXhwIjoiMTU3MjQ
|
|||||||
|
|
||||||
UPDATE all the things before commencing work
|
UPDATE all the things before commencing work
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- API explorer should fill in v8 automatically to save typing
|
|
||||||
- doesn't appear to be a changed setting, probably changed how it works.
|
|
||||||
- Look into issues with project and how to specify
|
|
||||||
- Add automated test to retrieve a manual page to ensure it's working
|
- Add automated test to retrieve a manual page to ensure it's working
|
||||||
- Add automated test to retrieve metrics to know it's working
|
- Add automated test to retrieve metrics to know it's working
|
||||||
- Add automated test to retrieve apiroot page to know it's working
|
- Add automated test to retrieve apiroot page to know it's working
|
||||||
|
|||||||
@@ -190,6 +190,8 @@ namespace AyaNova
|
|||||||
|
|
||||||
// note: this option is only necessary when versioning by url segment. the SubstitutionFormat
|
// note: this option is only necessary when versioning by url segment. the SubstitutionFormat
|
||||||
// can also be used to control the format of the API version in route templates
|
// can also be used to control the format of the API version in route templates
|
||||||
|
|
||||||
|
//THIS IS WHAT ADDS THE API version PARAMETER AUTOMATICALLY so you don't need to type an 8 in every swagger-ui route test
|
||||||
options.SubstituteApiVersionInUrl = true;
|
options.SubstituteApiVersionInUrl = true;
|
||||||
});
|
});
|
||||||
services.AddTransient<IConfigureOptions<SwaggerGenOptions>, ConfigureSwaggerOptions>();
|
services.AddTransient<IConfigureOptions<SwaggerGenOptions>, ConfigureSwaggerOptions>();
|
||||||
|
|||||||
Reference in New Issue
Block a user