It looks like gitlab gives you raw html links to files, so you can use that.

 

 

 

From: <[email protected]> on behalf of Raghu Meda 
<[email protected]>
Reply-To: "[email protected]" 
<[email protected]>
Date: Tuesday, September 26, 2017 at 07:24
To: Swagger <[email protected]>
Subject: How to reference the JSON schemas of objects from external sources 
(eg.GIT) into openapi yaml?

 

Hi, 

Anyone have tried to include the references of JSON schemas of the objects from 
external sources (for eg. GIT lab)? I want to define the domain objects once in 
JSON schemas with version control in GIT lab and want to reference those object 
schemas in yaml so that we can maintain consistency across the yaml files for 
the same object definitions and its attributes. That also saves time for 
defining the specification and everyone in the team will use the same 
definitions across. 

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to