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

info fields for cursor context form not working #22

Open
adamaltman opened this issue Mar 16, 2022 · 0 comments
Open

info fields for cursor context form not working #22

adamaltman opened this issue Mar 16, 2022 · 0 comments

Comments

@adamaltman
Copy link
Member

adamaltman commented Mar 16, 2022

What happened?

  1. Start with an API definition without any info.contact or info.license sections.
  2. Open cursor context
  3. Go to info
  4. Fill contact and license fields.
  5. Error: (YAML didn't change -- the sections already exist, then they do change, but it doesn't create the sections when they are filled out)

See the screenshot below.

What should have happened instead?

The YAML should change with the contact and license information.

openapi: 3.1.0
info:
  description: Document the EU API quickly
  title: EU Documents
  version: '1.0'
  contact:
    name: Test
    email: test@example.com
    url: https://redocly.com
  license:
    name: Test
    url: license.com

Minimal reproducible OpenAPI snippet

https://gist.github.com/adamaltman/66a0dacbc3ff769304db3d04456b5a47

Screenshots

image

Additional context

The key part is when there are no contact and license nodes to begin with...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant