Feat(open api spec gen) - #468
Open
Asys-sh wants to merge 7 commits into
Open
Conversation
Draft‑7 = the older 2017 JSON Schema spec. It’s widely supported by tooling and validators but lacks newer keywords. Draft‑2020‑12 = the current JSON Schema spec (Dec 2020). It adds things like $defs, $vocabulary, unevaluatedProperties, and dynamic $ref behavior. OpenAPI 3.1 expects Draft‑2020‑12 JSON Schema. OpenAPI 3.0 expects a schema dialect closer to Draft‑4, not Draft‑7 or 2020‑12. In Zod v4, toJSONSchema() only supports draft‑7 or draft‑2020‑12, and defaults to 2020‑12.
Generation of some endpoints not working ATM
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
create-discord-activity
create-robo
@robojs/server
@robojs/better-stack
@roboplay/plugin-confessions
@robojs/dev
@roboplay/plugin-gpt
@robojs/maintenance
@robojs/moderation
@roboplay/plugin-poll
@robojs/sync
robo.js
@roboplay/sage
@robojs/ai
@robojs/analytics
@robojs/auth
@robojs/cli
@robojs/code
@robojs/cron
@robojs/discordjs
@robojs/giveaways
@robojs/i18n
@robojs/mock
@robojs/patch
@robojs/roadmap
@robojs/trpc
@robojs/xp
commit: |
The openapi.json file would not generate on Windows cause of a paths issue, WHO WOULD HAVE THOUGHT, LIKE REALLY IS IT A SURPRISE ANYMORE MICROSLOP FIX YOUR BS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
WIP