mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-19 16:13:06 +00:00
feat: json-schema updates\nfeat: new route proposal
This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
* All your responses to the backend are required to look like this. You need to add the @validatable tag like shown
|
||||
* below for the plugin to work. The response can have any layout you like.
|
||||
* TODO: remove body of the interface and replace with your own layout
|
||||
* @validatable
|
||||
*/
|
||||
export interface SCMinimalResponse {
|
||||
/**
|
||||
@@ -28,4 +27,4 @@ export interface SCMinimalResponse {
|
||||
sum: number;
|
||||
}
|
||||
|
||||
export {default as requestSchema} from 'schema:#SCMinimalResponse';
|
||||
export {default as responseSchema} from 'schema:#SCMinimalResponse';
|
||||
|
||||
Reference in New Issue
Block a user