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

Fix OpenAPI docs rendering #100

Merged
merged 2 commits into from
Feb 13, 2024
Merged

Fix OpenAPI docs rendering #100

merged 2 commits into from
Feb 13, 2024

Conversation

aktech
Copy link
Member

@aktech aktech commented Feb 12, 2024

Reference Issues or PRs

Fixing the following issue:

  File "/Users/aktech/miniconda3/envs/jhub-apps-dev/lib/python3.11/site-packages/pydantic/main.py", line 164, in __init__
    __pydantic_self__.__pydantic_validator__.validate_python(data, self_instance=__pydantic_self__)
pydantic_core._pydantic_core.ValidationError: 1 validation error for OpenAPI
info.version
  Input should be a valid string [type=string_type, input_value=<Version('2024.1.5')>, input_type=Version]
    For further information visit https://errors.pydantic.dev/2.5/v/string_type

What does this implement/fix?

Put a x in the boxes that apply

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds a feature)
  • Breaking change (fix or feature that would cause existing features not to work as expected)
  • Documentation Update
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Build related changes
  • Other (please describe):

Testing

  • Did you test the pull request locally?
  • Did you add new tests?

Documentation

Access-centered content checklist

Text styling

  • The content is written with plain language (where relevant).
  • If there are headers, they use the proper header tags (with only one level-one header: H1 or # in markdown).
  • All links describe where they link to (for example, check the Nebari website).
  • This content adheres to the Nebari style guides.

Non-text content

  • All content is represented as text (for example, images need alt text, and videos need captions or descriptive transcripts).
  • If there are emojis, there are not more than three in a row.
  • Don't use flashing GIFs or videos.
  • If the content were to be read as plain text, it still makes sense, and no information is missing.

Any other comments?

Copy link

vercel bot commented Feb 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
jhub-apps ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2024 8:57pm

@aktech aktech changed the title Fix OpenAPI docs Fix OpenAPI docs rendering Feb 12, 2024
@aktech aktech merged commit ae4a71b into main Feb 13, 2024
10 checks passed
@aktech aktech deleted the fix-open-api-docs branch April 29, 2024 18:33
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