Browse Source

Update part-01.md

pull/21434/head
Engincan VESKE 2 years ago
committed by GitHub
parent
commit
59da374ce9
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      docs/en/tutorials/book-store/part-01.md

4
docs/en/tutorials/book-store/part-01.md

@ -440,7 +440,7 @@ ABP can [**automagically**](../../framework/api-development/auto-controllers.md)
### Swagger UI
The startup template is configured to run the [Swagger UI](https://swagger.io/tools/swagger-ui/) using the [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) library. Run the application ({{if UI=="MVC"}}`Acme.BookStore.Web`{{else if UI=="BlazorServer" || UI=="BlazorWebApp" || UI=="BlazorServer"}}`Acme.BookStore.Blazor`{{else}}`Acme.BookStore.HttpApi.Host`{{end}}) by pressing `CTRL+F5` and navigate to `https://localhost:<port>/swagger/` on your browser. Replace `<port>` with your own port number.
The startup template is configured to run the [Swagger UI](https://swagger.io/tools/swagger-ui/) using the [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) library. Run the application ({{if UI=="MVC"}}`Acme.BookStore.Web`{{else if UI=="BlazorServer" || UI=="BlazorWebApp"}}`Acme.BookStore.Blazor`{{else}}`Acme.BookStore.HttpApi.Host`{{end}}) by pressing `CTRL+F5` and navigate to `https://localhost:<port>/swagger/` on your browser. Replace `<port>` with your own port number.
You will see some built-in service endpoints as well as the `Book` service and its REST-style endpoints:
@ -480,4 +480,4 @@ If you try to execute the `[GET] /api/app/book` API to get a list of books, the
}
````
That's pretty cool since we haven't written a single line of code to create the API controller, but now we have a fully working REST API!
That's pretty cool since we haven't written a single line of code to create the API controller, but now we have a fully working REST API!

Loading…
Cancel
Save