Start with an API definition without any info.contact or info.license sections.
Open cursor context
Go to info
Fill contact and license fields.
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
What happened?
See the screenshot below.
What should have happened instead?
The YAML should change with the contact and license information.
Minimal reproducible OpenAPI snippet
https://gist.github.com/adamaltman/66a0dacbc3ff769304db3d04456b5a47
Screenshots
Additional context
The key part is when there are no contact and license nodes to begin with...