Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No valid examples and migration guide does not work out of the box #785

Open
2 tasks done
baughmann opened this issue Feb 23, 2024 · 1 comment
Open
2 tasks done

Comments

@baughmann
Copy link

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the bug has not already been reported

Fastify version

8.14.0

Plugin version

No response

Node.js version

20.11.0

Operating system

Linux

Operating system version (i.e. 20.04, 11.3, 10)

Ubuntu 23.10

Description

None of the example in the /examples directory are up-to-date with 8+, so none of them work. Additionally, none of the example in the migration guide feature complete minimal usable examples. There are no examples of how to use 8+.

Normally, this is some low-hanging fruit that I would be more than happy to tackle but I have yet to figure out how to get this library to produce a spec that contains my endpoints. Regardless, I'm excited to use it!

Steps to Reproduce

Copy any example in /examples or copy and paste any of the examples in the migration guide and just attempt to use them.

Expected Behavior

A functional, complete, and minimal example of how to use this library

@Uzlopak
Copy link
Contributor

Uzlopak commented Feb 23, 2024

Did you read the readme.md?

Are you aware of the package @fastify/swagger-ui?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants