Redocly / museum-openapi-example

An example OpenAPI description for an imaginary Museum API.
https://redocly.com/docs/resources/learning-openapi/
MIT License
36 stars 36 forks source link

Update openapi.yaml #12

Closed samchon closed 5 months ago

samchon commented 5 months ago

https://nestia.io/docs/editor/

Tried to convert your openapi.yaml to TypeScript SDK, and failed due to type assertion. The type assertion error message was `info.license.url is not following the uri format, and found that the property value was a little bit weird. The url value must be trimmed without any space.

This PR fixes the spaced url value, so that succeeded to convert to the TypeScript SDK like below.

Error on typia.assert(): invalid type on $input.info.license.url, expect to be string & Format<"uri">
samchon commented 5 months ago

Oops, duplicated PR exists: #11