Skip to content

Commit

Permalink
Version Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jun 1, 2024
1 parent 9681cc3 commit ea553ee
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 16 deletions.
5 changes: 0 additions & 5 deletions .changeset/six-wombats-mix.md

This file was deleted.

26 changes: 16 additions & 10 deletions packages/openapi/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @fuma-docs/openapi

## 2.0.2

### Patch Changes

- 9681cc3: Add put method key

## 2.0.1

### Patch Changes
Expand All @@ -17,11 +23,11 @@
migrate: Create a script named `scripts/generate-docs.mjs`:

```js
import { generateFiles } from "fumadocs-openapi";
import { generateFiles } from 'fumadocs-openapi';

void generateFiles({
input: ["./petstore.yaml"],
output: "./content/docs",
input: ['./petstore.yaml'],
output: './content/docs',
});
```

Expand Down Expand Up @@ -68,18 +74,18 @@
* @type {import("@fuma-docs/openapi").Config}
*/
module.exports = {
input: ["./petstore.yaml"],
output: "./content/docs",
per: "tag",
input: ['./petstore.yaml'],
output: './content/docs',
per: 'tag',
render: (title, description) => {
return {
frontmatter: [
"---",
'---',
`title: ${title}`,
`description: ${description}`,
"toc: false",
"---",
].join("\n"),
'toc: false',
'---',
].join('\n'),
};
},
};
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fumadocs-openapi",
"version": "2.0.1",
"version": "2.0.2",
"description": "Generate MDX docs for your OpenAPI spec",
"keywords": [
"NextJs",
Expand Down

0 comments on commit ea553ee

Please sign in to comment.