Textual representation body is not reachable via api

Cerrado
#1,916 1 comentario 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Ya se ha fusionado un pull request relacionado.

  • #1926 de @devin-ai-integration — fusionado

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
go
Área
api

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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?).

Lenguaje dominante
Go
Estrellas
56
Forks
17
Merge medio
12 h 31 min
PR fusionados (30 d)
909

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Open-MBEE/OpenSysML

Todos los issues de Open-MBEE/OpenSysML

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.