-
Notifications
You must be signed in to change notification settings - Fork 558
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
FIX: OpenAPI Spec Generation on macOS #4495
Comments
12 tasks
commoddity
added a commit
to pokt-network/poktroll
that referenced
this issue
Feb 5, 2025
…sing `ignite` (#1055) ## Summary Adds a Dockerfile to build the outputted OpenAPI spec in a way that will work on all dev environments. ## Issue - https://discord.com/channels/824324475256438814/997192534168182905/1336447458128957523 - #1054 - #988 - ignite/cli#4495 ## Type of change Select one or more from the following: - [x] New feature, functionality or library - [ ] Consensus breaking; add the `consensus-breaking` label if so. See #791 for details - [ ] Bug fix - [x] Code health or cleanup - [ ] Documentation - [ ] Other (specify) ## Sanity Checklist - [ ] I have updated the GitHub Issue `assignees`, `reviewers`, `labels`, `project`, `iteration` and `milestone` - [ ] For docs, I have run `make docusaurus_start` - [ ] For code, I have run `make go_develop_and_test` and `make test_e2e` - [ ] For code, I have added the `devnet-test-e2e` label to run E2E tests in CI - [ ] For configurations, I have update the documentation - [ ] I added TODOs where applicable --------- Co-authored-by: Daniel Olshansky <[email protected]>
@Olshansk, can you try only building before running? I found this bug sometimes; the build process does not create the openai file if you serve your chain directly. I will take a look |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Context: OpenAPI Spec Generation not working as expected
The following command works on
linux
but notmacOS
Details & Steps to Reproduce
Reference repo: https://github.com/pokt-network/poktroll
Reference ticket: [API] OpenAPI Spec Fixes pokt-network/poktroll#988
Workaround: [OpenAPI] Add
Dockerfile
to reliability generate the OpenAPI spec usingignite
pokt-network/poktroll#1055Expected output: https://github.com/pokt-network/poktroll/blob/main/docs/static/openapi.yml
Actual output:
Empty OpenAPI spec output on macOS
The text was updated successfully, but these errors were encountered: