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

[PFX-686] Add postCrete hook to the Swagger plugin #845

Merged
merged 4 commits into from
Aug 16, 2024
Merged

Conversation

jpina1-godaddy
Copy link
Contributor

@jpina1-godaddy jpina1-godaddy commented Aug 12, 2024

Summary

Fastify was failing because swagger was not creating the swagger.json file and it was causing the swagger Fasitfy integration to fail.

This PR adds a postCreate hook to the swagger plugin to build the swagger.json file.

Fastify still has some issues running in a preset but that is resolved in the Fastify v4 upgrade PR.

Changelog

@gasket/create-gasket-app

  • Added fields to the ConfigBuilder interface

@gasket/plugin-swagger

  • Added postCreate hook

Test Plan

  • Added tests
  • Tested locally

@jpina1-godaddy jpina1-godaddy changed the base branch from main to v7 August 12, 2024 17:25
@jpina1-godaddy jpina1-godaddy changed the title Pfx 686 [PFX-686] Fastify w/Custom Server & API preset Aug 14, 2024
@jpina1-godaddy jpina1-godaddy changed the title [PFX-686] Fastify w/Custom Server & API preset [PFX-686] Add postCrete hook to the Swagger plugin Aug 14, 2024
@jpina1-godaddy jpina1-godaddy marked this pull request as ready for review August 14, 2024 17:43
@jpina1-godaddy jpina1-godaddy requested a review from a team as a code owner August 14, 2024 17:43
@jpina1-godaddy jpina1-godaddy merged commit 46a2775 into v7 Aug 16, 2024
1 check passed
@jpina1-godaddy jpina1-godaddy deleted the pfx-686 branch August 16, 2024 18:03
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

Successfully merging this pull request may close these issues.

3 participants