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 Jan 21, 2024. It is now read-only.
Describe the issue
I have a modular RAML that contain RAML libraries. I tried to use the parser to handle it but it failed. Does the webapi-parser support RAML libraries? Is it planned to support
Input you have issues with
The validation of following RAML always fails.
File: api.raml
#%RAML 1.0title: My APIbaseUri:
value: "https://{host}:{port}/b2c"baseUriParameters:
port:
type: number#description: Porthost:
type: string#description: Hostuses:
errorTraits: errorTraits.ramlloginTypes: types/errorTypes.raml/login:
securedBy:
post:
is: [ errorTraits.login ]description: Authorize member and issue access token.body:
application/x-www-form-urlencoded:
type: loginTypes.LoginRequestresponses:
200:
body:
application/json:
type: loginTypes.LoginResponse
File: errorTraits.raml
#%RAML 1.0 Librarytraits:
login:
responses:
401:
description: List of error codesbody:
application/json:
type: object
File: types.raml
#%RAML 1.0 Librarytypes:
LoginRequest:
type: objectproperties:
username:
type: stringdescription: member's loginpassword:
type: stringdescription: member's passwordLoginResponse:
type: objectproperties:
access_token:
type: stringdescription: access token which can be provided in Authorization headerrefresh_token:
type: stringdescription: long living token which can be used to issue new access_tolen
Library version used
"0.5.0"
Language library used with
Java
Describe the issue
I have a modular RAML that contain RAML libraries. I tried to use the parser to handle it but it failed. Does the webapi-parser support RAML libraries? Is it planned to support
Input you have issues with
The validation of following RAML always fails.
File: api.raml
File: errorTraits.raml
File: types.raml
Code you have issues with
Actual behaviour/output/error
Expected behaviour/output
No validation errors. API model should be returned. List of endpoint names should be logged.
The text was updated successfully, but these errors were encountered: