diff --git a/docs/guide/tutorial.md b/docs/guide/tutorial.md index 86ee91d..94f37f8 100644 --- a/docs/guide/tutorial.md +++ b/docs/guide/tutorial.md @@ -37,10 +37,11 @@ interfaces: description: A tuner service to manages tuner stations properties: - name: currentStation - type: Station + type: {ref: Station} description: current selected station - name: stationList - type: Station[] + type: array + items: {ref: Station} description: list of current available stations operations: - name: nextStation @@ -51,20 +52,19 @@ interfaces: description: update current station params: - name: stationId - - type: id + - type: int structs: - name: Station fields: - name: stationId - type: id + type: int description: station id - name: name type: string description: station name - name: modified type: string - format: date-time description: station last time modified enums: @@ -99,17 +99,17 @@ interfaces: - name: WeatherStation - properties: - { name: temperature, type: float } - - { name: lastError, type: Error } + - { name: lastError, type: {ref: Error} } - operations: - { name: reset } - signals: - name: error params: - - { name: error, type: Error } + - { name: error, type: {ref: Error} } structs: - name: Error fields: - name: msg type: string -``` \ No newline at end of file +```