You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.
Please add mediaType support.
It is allowed to specify mediaType only once at top level, and then omit it in responses body.
Currently this valid raml will fail with error:
pyraml.model.ValidationError: {'body': "test' expected to be <class 'pyraml.entities.RamlBody'> or dict"}
My valid raml:
#%RAML 0.8
title: Test API
baseUri: http://localhost:8001
mediaType: application/json
schemas:
- test: !include schemas/test.json
/resources:
get:
description: Get all resources
responses:
200:
body:
schema: test
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello.
Please add mediaType support.
It is allowed to specify mediaType only once at top level, and then omit it in responses body.
Currently this valid raml will fail with error:
My valid raml:
The text was updated successfully, but these errors were encountered: