Skip to content

Commit f0a61b5

Browse files
committed
editoast:openapi: add search result OP track_sections
1 parent 3b8b794 commit f0a61b5

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

editoast/openapi.yaml

+11
Original file line numberDiff line numberDiff line change
@@ -3050,6 +3050,7 @@ components:
30503050
- ch
30513051
- schematic
30523052
- trigram
3053+
- track_sections
30533054
properties:
30543055
obj_id:
30553056
type: string
@@ -3063,6 +3064,16 @@ components:
30633064
type: string
30643065
ch:
30653066
type: string
3067+
track_sections:
3068+
type: object
3069+
required:
3070+
- track
3071+
- position
3072+
properties:
3073+
track:
3074+
type: string
3075+
position:
3076+
type: integer
30663077
geographic:
30673078
$ref: "#/components/schemas/MultiPoint"
30683079
schematic:

front/src/common/api/osrdEditoastApi.ts

+4
Original file line numberDiff line numberDiff line change
@@ -1109,6 +1109,10 @@ export type SearchOperationalPointResult = {
11091109
uic?: number;
11101110
trigram: string;
11111111
ch: string;
1112+
track_sections: {
1113+
track: string;
1114+
position: number;
1115+
};
11121116
geographic: MultiPoint;
11131117
schematic: MultiPoint;
11141118
};

0 commit comments

Comments
 (0)