Skip to content

Feautre: Add multiple media types models - #17

Merged
alexskr merged 3 commits into
ncbo:masterfrom
agroportal:pr/feautre/add-multiple-media-types-models
Jul 18, 2024
Merged

alexskr merged 3 commits into
ncbo:masterfrom
agroportal:pr/feautre/add-multiple-media-types-models

Conversation

@syphax-bouazzouni

Copy link
Copy Markdown

Related

Goal

Show the correct type for skos:concept elements, like below
image

Issue

The issue is that currently in this repository, each of our models contain a unique media_type, for example class.rb (representing ow:Class and skos:Concept) we have the following:
https://github.com/ncbo/ontologies_api_ruby_client/blob/master/lib/ontologies_api_client/models/class.rb#L7-L12

The media type of only ow:Class

Solution

This PR:

  • Add the possibility to have multiple media types
  • Add the media type skos:Concept for class.rb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants