Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Conversation

@kmdsbng
Copy link

@kmdsbng kmdsbng commented May 5, 2020

According to OAS3 Specification, an example element can be included in a schema object.

https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#schemaObject

I fixed to use example value under the schema object under the parameter object when it has set.

I'm using Stoplight Studio and I'm having the following problem, so I'd like you to import this pull request.

problem: When I set a example value of Query parameter in Stoplight Studio, it will output the value to parameters.schema.example in the OAS3 yaml file. If this file is read by dredd, an error will be displayed as "example" is not set.

I referenced #156 to make this pull request.

@kmdsbng
Copy link
Author

kmdsbng commented May 5, 2020

coverall ci has failed. But I had no idea for fix this problem.
Can I do anything for fix this?

https://circleci.com/gh/apiaryio/api-elements.js/6742?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-checks-link

> nyc report --reporter=text-lcov | coveralls


/home/circleci/repo/node_modules/coveralls/bin/coveralls.js:19
      throw err;
      ^
Bad response: 422 {"message":"Couldn't find a repository matching this job.","error":true}
(Use `node --trace-uncaught ...` to show where the exception was thrown)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant