Hello Yan,
I’m adding Eric, who has good knowledge in swagger and will hopefully be able 
to support you.

BR,
Sofia

From: <[email protected]> on behalf of Yan Yang 
<[email protected]>
Reply-To: "[email protected]" <[email protected]>, 
"[email protected]" <[email protected]>
Date: Wednesday, 3 April 2019 at 01:48
To: Sofia Wallin <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: [onap-discuss] [doc] How to check the json file is a valid swagger 
api-docs

Dear Doc Team,

When we add the api-swagger.json to the docs directory like the following:

LCM API
---------
.. swaggerv2doc:: LCM_API_Specification_v0.1.json

I see the error Unable to process URL: LCM_API_Specification_v0.1.json. Please 
check that the URL is a valid Swagger api-docs URL and it is accessible. in 
https://docs.onap.org


But when I copied the file content to http://edit.swagger.io, it didn’t show 
any error.

How can I check the file is a valid swagger api-docs, does anyone know it. 
Thanks.



BR
Yan


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#16462): https://lists.onap.org/g/onap-discuss/message/16462
Mute This Topic: https://lists.onap.org/mt/30878568/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to