Commit Graph

132 Commits (90b4fb63f17e67b1fcf93c5314976566c1309e37)

Author SHA1 Message Date
Scott Addie 031a006601
Fix malformed list in HTTP REPL doc (#14904) 2019-10-07 21:10:58 -05:00
Scott Addie 01b85fb987
Document how to test secured endpoints with HTTP REPL (#14894)
* Document how to test secured endpoints with HTTP REPL

* React to feedback
2019-10-07 14:56:59 -05:00
Muhammad Assar f4fa222358 fix misspelled word "Default" in DefautlContractResolver (#14687) 2019-09-28 14:32:38 -05:00
Scott Addie 05d54916dd
Add more detail to Developer Exception Page with web API (#14670)
* Add more detail to Developer Exception Page with web API

* Add missing HEADERS section to plain-text output

* minor edit

* update port number

* accept --> request

* minor edit

* Add screen capture of testing in Postman

* Fix gif include

* Add missing word

* Display screen capture only for 3.0+
2019-09-27 15:22:03 -05:00
Scott Addie 3406a06976
Link to NuGet package in OpenAPI tool doc (#14647) 2019-09-26 15:28:08 -05:00
Scott Addie 040f18f2fa
console --> dotnetcli 2019-09-26 15:03:14 -05:00
Scott Addie 4cf0bbb885
Add missing 2.x details to web API error handling doc (#14591)
* Add missing 2.x details to web API error handling doc

* Delete unnecessary folder

* more work

* more work

* more work

* more work

* more work

* minor edits
2019-09-25 15:19:08 -05:00
Nikita Potapenko dc8f9b7bea Update packages (#14574)
Use GA version
2019-09-25 07:58:43 -10:00
Luke Latham b93ab83fb6 Pascal case placeholder names in log strings (#14508)
* Pascal case placeholder names in log strings

* Updates
2019-09-23 14:11:50 -10:00
Scott Addie b7bcde6905
Merge pull request #14468 from Potapy4/update_code_snippet
Update code snippets
2019-09-23 15:35:08 -05:00
Scott Addie 960d105369
minor edits 2019-09-23 15:27:15 -05:00
Scott Addie 8b93ceecfa
fix build errors in ProductsController 2019-09-23 15:25:08 -05:00
Kirk Larkin 317bb3fb16 Fixed FormatFilter example for ProductsController. (#14449)
* Fixed FormatFilter example for ProductsController.

* Changed ProductsController URLs to be more API-like.
2019-09-23 07:33:41 -10:00
Potapy4 64525d8f08
Update code snippets
Update return type | Fix highlited lines
2019-09-22 11:52:21 +03:00
Scott Addie 5329360700
fix invalid link 2019-09-21 16:56:23 -05:00
Scott Addie 0e127dfd26
Remove version option from HTTP REPL installation command (#14465) 2019-09-21 16:33:47 -05:00
Rick Anderson 795f8ec1a6 Create Microsoft.dotnet-openapi.md (#14450)
* Create Microsoft.dotnet-openapi.md

* Update toc.yml

* Update toc.yml

* Update Microsoft.dotnet-openapi.md (#14452)

* minor edits
2019-09-21 16:27:17 -05:00
Rick Anderson f52d3c2fe1
Update formatting.md 2019-09-19 16:07:07 -10:00
Rick Anderson ba2e045ca4
Format response data (#12077)
* never

* Format data Web API update

* Format data Web API update

* work

* work

* work

* ?

* work

* maybe

* work on 3.0

* work on 3.0

* work on 3.0

* work on 3.0

* work on 3.0

* work on 3.0

* work on 3.0

* work on 3.0

* work on 3.0

* work on 3.0

* work on 3.0
2019-09-19 14:30:35 -10:00
Pranav K c029f047b0 Add details for web API error handling (#14366)
* Add details for web API error handling

* Edit pass on web API error handling doc (#14389)

* remove extra closing paren

* Apply suggestions from code review

Co-Authored-By: Luke Latham <1622880+guardrex@users.noreply.github.com>

* Edit pass on web API error handling doc (#14412)

* Fix ToC link (#14414)
2019-09-19 10:56:04 -05:00
Scott Addie a50faa4056
Use dotnetcli dev lang to colorize .NET Core CLI commands (#14361) 2019-09-17 16:01:04 -05:00
Pranav K 93a80e6166 Add some notes about configuring Json formatters (#14347)
* Add some notes about configuring Json formatters
Fixes https://github.com/aspnet/AspNetCore.Docs/issues/241

* Apply suggestions from code review

Co-Authored-By: Scott Addie <10702007+scottaddie@users.noreply.github.com>

* minor edits
2019-09-17 10:58:05 -05:00
Pranav K 256630a253 Add instructions to JsonPatch document to use Newtonsoft.Json (#14299)
* Add instructions to JsonPatch document to use Newtonsoft.Json

* Apply suggestions from code review

Co-Authored-By: Scott Addie <10702007+scottaddie@users.noreply.github.com>

* Update jsonpatch.md
2019-09-13 14:35:55 -05:00
Scott Addie 2f50712064
Add JSON Patch doc link to ToC (#14302)
* Add ToC link to JSON Patch in web API doc

* Fix invalid code snippet dev lang

* Add code fencing to attribute
2019-09-13 14:32:20 -05:00
Scott Addie cc2946282a
Update web API intro doc for 3.0 (#14201)
* Update web API intro doc for 3.0

* More edits

* React to feedback

* Add missing comma:

* Incorporate Acrolinx feedback

* Document workarounds

* more edits

* more edits

* Fix line numbers

* Improve code snippets

* Display assembly attribute section only for 2.2+

* Add another moniker range for 2.2+ content

* Fix line highlighting

* remove 1 workaround step

* minor edit

* simplify workaround steps

* more edits

* edit

* fix method name

* fix link
2019-09-13 13:11:26 -05:00
Kirk Larkin 42f28818ca Explanation of built-in Input and Output formatters. (#14267)
* Explanation of built-in Input and Output formatters.

* Update custom-formatters.md
2019-09-11 15:28:37 -07:00
Tim Mulholland cf276fea83 Change how the tool is launched (#14226)
With https://github.com/dotnet/HttpRepl/pull/223, we changed the name of the tool from `dotnet-httprepl` to `httprepl`. This changes the way the tool is executed from `dotnet httprepl` (or `dotnet-httprepl`, though that wasn't used in the docs) to just `httprepl`.
This PR updates the docs to reflect that change.
2019-09-09 16:16:12 -05:00
Scott Addie a8f3cb8965
3.0 updates to web API action return types doc (#14091)
* 3.0 updates to web API action return types doc

* Edit pass

* More edits

* Better organize sample apps and add IAsyncEnumerator example

* Fix broken code includes

* Add async stream verbiage

* URL encode a backtick

* Replace analyzer package with IncludeOpenAPIAnalyzers property

* React to Bill's feedback

* more work

* React to feedback

* Add GetNPages action example

* More work

* React to Ryan's feedback

* Refactoring and react to more feedback

* React to feedback - part 1

* React to feedback

* Fix heading

* Remove highlighting

* React to feedback
2019-09-09 14:54:12 -05:00
Pranav K fab8e29386 Update notes on how to reference the API analyzers (#14085)
* Update notes on how to reference the API analyzers

* edit pass

* web API analyzers doc patch (#14162)

* Fix line highlighting in web API analyzers doc (#14164)
2019-09-05 15:16:22 -05:00
Scott Addie ace55c6820
add missing double quote to swagger.searchPaths preference command 2019-08-29 10:16:36 -05:00
Luke Latham 480e3a2ec4
Remove duplicate section (#14081) 2019-08-29 09:58:58 -05:00
Scott Addie 42f66cad15
Add solution files and fix OpenApi references in Startup.cs (#14061)
* Add solution files and fix OpenApi references in Startup.cs

* Add solution files
2019-08-28 10:39:28 -05:00
Tim Mulholland 89babd847a Add connect command, remove set swagger command (#13973)
* Add connect command, remove set swagger command

Also document the `swagger.searchPaths` preference.

* Apply suggestions from code review

Co-Authored-By: Scott Addie <10702007+scottaddie@users.noreply.github.com>
2019-08-26 12:06:14 -05:00
Tom Dykstra 0a34538a98 reassign (#13961) 2019-08-22 11:46:35 -04:00
Rick Anderson a2e996d318
Update formatting.md (#13932) 2019-08-20 15:01:15 -04:00
Jack Horton 223e125adc Fix indentation in http-repl.md (#13711) 2019-08-07 12:41:25 -05:00
Scott Addie ffe2d590c3
Note HTTP REPL environment and tech support (#13500) 2019-07-25 09:33:12 -05:00
Scott Addie 31985f8c94
Fix HTTP REPL installation command for zsh (#13498) 2019-07-25 08:45:13 -05:00
Scott Addie b1cf81827d
Update HTTP REPL installation instructions (#13444) 2019-07-23 09:46:51 -05:00
Tim Mulholland 0ef8da3a46 Updating help output to match change in product (#13374) 2019-07-17 16:36:03 -07:00
Scott Addie 45cc0d5093
Fix sample app link (#13293) 2019-07-15 11:45:12 -05:00
metoly 5575969680 Add HTTP REPL doc (#12975)
* Initial upload for HTTPREPL docs

* Add list of commands

* Update http-repl-tool.md

* Adding link to HTTPRepl repo

* Added description for initialization commands

* Adding navigation commands

* Update http-repl-tool.md

* Update http-repl-tool.md

* Update http-repl-tool.md

* Update http-repl-tool.md

* HTTP REPL global tool doc patch (#12983)

* HTTP REPL global tool doc patch

* More edits

* Update aspnetcore/web-api/http-repl-tool.md

Co-Authored-By: Scott Addie <10702007+scottaddie@users.noreply.github.com>

* Update http-repl-tool.md

* Adding PUT and DELETE examples

* React to feedback (#13017)

* HTTP REPL doc patch (#13030)

* Update ToC UID (#13031)

* HTTP REPL doc patch

* Update ToC UID

* More work (#13043)

* HTTP REPL doc patch (#13048)

* More work

* fix include path

* More work (#13068)

* Update installation text (#13071)

* HTTP REPL doc patch (#13086)

* HTTP REPL doc patch (#13093)

* HTTP REPL doc patch (#13095)

* React to feedback - part 1 (#13098)

* React to feedback - part 2 (#13130)

* React to feedback - part 1

* React to feedback - part 2

* HTTP REPL doc patch (#13131)

* HTTP REPL doc patch

* Add missing dash

* HTTP REPL doc patch (#13133)

* Explain how to clear a request header (#13136)

* Add more detail about HTTP REPL colorization (#13189)

* Document -h option and default editor launch settings (#13192)

* Document the formatting.json.indentSize setting (#13193)

* React to feedback in HTTP REPL doc (#13224)

* Document the formatting.json.indentSize setting

* React to feedback in HTTP REPL doc

* Document the HTTP REPL run command (#13269)
2019-07-15 10:56:54 -05:00
Theano Petersen c969928dbe fix http to https (#13241) 2019-07-10 19:36:05 -07:00
Theano Petersen 7d10936ada Fix broken links from CATS report 6-21-19 (#13237) 2019-07-10 15:43:56 -07:00
Scott Addie ca457a9c11
Remove base wording from web API controller doc (#13185) 2019-07-08 10:11:11 -05:00
Scott Addie 8a0ba4a28d
Fix invalid ms.author values (#13087) 2019-07-02 22:38:34 -05:00
Luke Latham 1013d66639 Drop unused sample apps (#13041) 2019-06-28 12:50:50 -05:00
Scott Addie 89dee596bd Fix list formatting in web API conventions doc 2019-06-27 11:04:43 -05:00
Doug Bunting 7c22abea99 Bump NSwag and Swashbuckle package versions (#12950)
* Update NSwag URLs to current GitHub location

* Add solution for web-api-help-pages-using-swagger projects

* Bump NSwag and Swashbuckle package versions
- current and next versions
- will need to bump versions again to pick up latest Microsoft-provided features

* React to latest NSwag and Swashbuckle versions
- lots of renames and type changes (especially `string` -> `Uri`) in NSwag
- Swashbuckle now relies on Microsoft.OpenApi.Models
- disable OpenAPI doc generation in other .NET Core 2.0 project

* Remove unused namespaces
- NSwag and Swashbuckle now use common `Startup` namespaces such as Microsoft.AspNetCore.Builder

nit: sort `using`s

* remove extra comma

* Move solution file into samples folder

* Minor tweaks (#12980)
2019-06-21 15:27:39 -05:00
Rick Anderson 9a8dbc1750
Update action-return-types.md (#12657) 2019-06-03 10:32:09 -10:00