Textual representation body is not reachable via api

クローズ
#1,916 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

関連するプルリクエストがすでにマージされています。

  • #1926 @devin-ai-integration による — マージ済み

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
go
領域
api

調査の方向性

The report says a textual representation body is unreachable through the SysML v2 API and OSLC, and links open pull request #1926. Start by reviewing that pull request and the API paths it changes; compare their behavior with the example model. Done means the representation body can be retrieved through the relevant API, with the expected behavior clarified.

索引モデルが issue の本文から書いたものです。

説明

bug spec compliance

Not very minimal, but still (non-)working model looks like this.

package Model {
    metadata def m {
        attribute a default "a";
    }
    part <a> aaaa {
        doc /*Documentation*/
        @m {
            a := "aa";
        }
        port p;
    }
    part <b> bbb {
        rep language "rus"
            /*Textual representation*/
        port p;
    }
    interface connect (a.p, b.p);
}

I can get documentation, but have an issue with geting textual representation of element via API.

It seems that body of representation object is not reachable neither via sysmlv2 api, nor with oslc. I am not sure if this is opensysml gap, or a specification feature (gap?).

主要言語
Go
スター
56
フォーク
17
平均マージ
12時間 31分
マージ済み PR(30日)
909

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Open-MBEE/OpenSysML のほかの issue

Open-MBEE/OpenSysML の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。