From ed0ce380a4906866c959ff1e1ba7cd2beb0d4e39 Mon Sep 17 00:00:00 2001 From: Jueun Park <s5616012@mailbox.tu-dresden.de> Date: Sat, 2 Apr 2022 08:41:40 +0900 Subject: [PATCH] Edited index.md --- pages/docs/index.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pages/docs/index.md b/pages/docs/index.md index 9f3686f3..ea338990 100644 --- a/pages/docs/index.md +++ b/pages/docs/index.md @@ -32,16 +32,15 @@ There are some implementation details developers must consider: - `ServerVariablesTuple ::= <Name> S:ServerVariableObject;` - `variables` in [Server Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#serverObject) -- In OAS, several objects can be replaced by [Reference Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#referenceObject). In `RAGO`, we implemented this structure in an abstract node to every concerned object. e.g. - - [Parameter Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#parameterObject) - - following abstract node in JastAdd - -<br></br> +- In OAS, several objects can be replaced by [Reference Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#referenceObject). In `RAGO`, we implemented this structure in an abstract node to every concerned object. + + ``` abstract ParameterOb; ParameterReference : ParameterOb ::= <Ref> ...; ParameterObject : ParameterOb ::= <Name> <In> ...; ``` +Example to implementation of [Reference Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#referenceObject) - Most objects can be extended with `Extension` containing unfixed name and values. In JastAdd, this is also implemented in a tuple (AST-Node) `Extension ::= <Key> <Value:Object>;` -- GitLab