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

Update openAPI-3-schema.YAML #228

Merged
merged 1 commit into from
Dec 16, 2024
Merged

Update openAPI-3-schema.YAML #228

merged 1 commit into from
Dec 16, 2024

Conversation

mjbonifa
Copy link
Member

@mjbonifa mjbonifa commented Dec 16, 2024

The openAPI yaml does not parse the swagger editor (https://editor.swagger.io/) and throws the following error

Parser error 
bad indentation of a mapping entry
Jump to line 15

The description tag had the wrong indentiation

servers:
- url: http://localhost:8089/system-modeller
    description: Local server

and has been corrected

servers:
- url: http://localhost:8089/system-modeller
  description: Local server

The openAPI yaml does not parse the swagger editor (https://editor.swagger.io/) and throws the following error

```
Parser error 
bad indentation of a mapping entry
Jump to line 15
```

The description tag had the wrong indentiation

```
servers:
- url: http://localhost:8089/system-modeller
    description: Local server
``
and has been corrected

```
servers:
- url: http://localhost:8089/system-modeller
  description: Local server
``
Copy link
Contributor

@kenmeacham kenmeacham left a comment

Choose a reason for hiding this comment

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

I've checked this in Swagger Editor and confrimed that it fixes the issue.

I suppose we don't view this in the editor too often, as the file is (mostly) autogenerated, and looks fine when launched from the browser via System Modeller.

Thanks for fixing!

@kenmeacham kenmeacham merged commit b053b4c into dev Dec 16, 2024
4 checks passed
@kenmeacham kenmeacham deleted the mjbonifa-patch-2 branch December 16, 2024 15:52
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