Skip to content

Commit

Permalink
docs: Prettier screenshot for OpenAPI output
Browse files Browse the repository at this point in the history
  • Loading branch information
EwenQuim committed Jul 25, 2024
1 parent e38cad8 commit 65af5d9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions documentation/docs/guides/openapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ func helloWorld(c fuego.ContextNoBody) (string, error) {
}
```

Result for this simple example:
Result for this simple example at <http://localhost:9999/swagger/index.html>:

![Swagger UI](../../static/img/hello-world-openapi.png)
![Swagger UI](../../static/img/hello-world-openapi.jpeg)

The core idea of Fuego is to generate the OpenAPI specification automatically,
so you don't have to worry about it. However, you can customize it if you want.
Expand Down
Binary file added documentation/static/img/hello-world-openapi.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed documentation/static/img/hello-world-openapi.png
Binary file not shown.

0 comments on commit 65af5d9

Please sign in to comment.