Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@padiazg
Copy link
Contributor

@padiazg padiazg commented Aug 12, 2022

Description

This PR is to fix the "mapping key must be a string scalar rather than number" issue.

Motivation and Context

Using Stoplight Studio to validate the generated document, I found some issues.

How This Has Been Tested

Opening the resulting file with Stoplight Studio

Screenshots

Before:
Note that at lines 42, 58 and 61 the status code are numeric, and it is expected those to be a string
Captura de Pantalla 2022-08-11 a la(s) 21 25 25

After:
The status codes are now strings as expected
Captura de Pantalla 2022-08-11 a la(s) 21 37 47

Copy link
Contributor

@kaynetik kaynetik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏼

@kaynetik kaynetik merged commit 003349e into go-oas:main Aug 18, 2022
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.

2 participants