Added openapi .yaml draft
This commit is contained in:
		
							
								
								
									
										2
									
								
								.idea/misc.xml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								.idea/misc.xml
									
									
									
										generated
									
									
									
								
							| @@ -1,7 +1,7 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <project version="4"> | ||||
|   <component name="JavadocGenerationManager"> | ||||
|     <option name="OUTPUT_DIRECTORY" value="$USER_HOME$/Documents" /> | ||||
|     <option name="OUTPUT_DIRECTORY" value="$USER_HOME$/Desktop/javadocKlaus" /> | ||||
|     <option name="OPTION_SCOPE" value="private" /> | ||||
|     <option name="OPTION_DOCUMENT_TAG_USE" value="true" /> | ||||
|     <option name="OPTION_DOCUMENT_TAG_AUTHOR" value="true" /> | ||||
|   | ||||
							
								
								
									
										28
									
								
								api-doc.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								api-doc.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,28 @@ | ||||
| openapi: 3.0.0 | ||||
|  | ||||
| info: | ||||
|   version: 0.0.1 | ||||
|   title: Mocked Service | ||||
|   description: Service for creating your own mocked enpoints | ||||
|  | ||||
| tags: | ||||
|   - name: "MockedMessage" | ||||
|   - name: "MessageHistory" | ||||
|  | ||||
| paths: | ||||
|   /: | ||||
|     get: | ||||
|       summary: Returns homepage | ||||
|       tags: | ||||
|         - "MockedMessage" | ||||
|       description: Returns html file | ||||
|       operationId: showHome | ||||
|       responses: | ||||
|         "200": | ||||
|           description: Html file received | ||||
|           content: | ||||
|             text/html: | ||||
|               schema: | ||||
|                 type: document | ||||
|                 items: | ||||
|                   $ref: "/resources/static/html/mock.html" | ||||
		Reference in New Issue
	
	Block a user