Skip to content

Commit

Permalink
docs: module doc and readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
Sorikairox committed Oct 3, 2024
1 parent 48b7414 commit 4f6dce7
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
[Danet](https://github.com/Savory/Danet).

## Quick Start

```bash
deno install --global -A -n danet jsr:@danet/cli
danet new <my-project>
```
[Overview & Tutorial](https://savory.github.io/Danet/openapi/introduction/)

## License
Expand Down
5 changes: 5 additions & 0 deletions decorators.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @module
* Provides decorators to define metadata to generate your openAPI/Swagger documentation.
*/

import { BODY_TYPE_KEY, MetadataHelper, QUERY_TYPE_KEY } from './deps.ts';
import { Constructor } from './mod.ts';
import { Swagger } from "./swagger.ts";
Expand Down
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@danet/swagger",
"version": "2.1.4",
"version": "2.1.5",
"exports": {
".":"./mod.ts",
"./decorators": "./decorators.ts"
Expand Down
5 changes: 5 additions & 0 deletions mod.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @module
* SwaggerModule provides methods to generate and set up Swagger documentation for a Danet application.
*/

import {
DanetApplication,
MetadataHelper,
Expand Down

0 comments on commit 4f6dce7

Please sign in to comment.