Skip to content

Add openAPI schema generation and a CLI using progenitor#43

Draft
kervel wants to merge 1 commit into
AbianS:mainfrom
kervel:feature/cli
Draft

Add openAPI schema generation and a CLI using progenitor#43
kervel wants to merge 1 commit into
AbianS:mainfrom
kervel:feature/cli

Conversation

@kervel
Copy link
Copy Markdown
Contributor

@kervel kervel commented Mar 18, 2026

  • add an openAPI schema generation using utoipa
  • then use that openAPI schema to create a CLI tool (in rust) using progenitor

problem however is that utoipa is generating openAPI 3.1 and progenitor is consuming openAPI 3.0 so i had to hack my way around this.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 18, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: b1471c0f-a0f8-4f88-b250-c1dd106fbb2a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
📝 Coding Plan
  • Generate coding plan for human review comments

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

You can customize the tone of the review comments and chat replies.

Configure the tone_instructions setting to customize the tone of the review comments and chat replies. For example, you can set the tone to Act like a strict teacher, Act like a pirate and more.

@kervel
Copy link
Copy Markdown
Contributor Author

kervel commented Mar 24, 2026

hello @AbianS ... i'm a bit stuck here. i can finish this but i'm not sure its the right approach (see my remark). there are alternative approaches for going to a CLI:

  • not using progenitor (just handroll a CLI)
  • use another openAPI 3.1 compliant code gen (but i didn't really find a good rust-native one)

i'm eager to know your opinion before continuing here ..

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.

1 participant