forked from loafle/openapi-generator-original
Fix another batch of spelling typos (#13915)
* Fix typos * Remove repeated words * Minor grammar fixes
This commit is contained in:
@@ -412,7 +412,7 @@ paths:
|
||||
x-accepts: application/json
|
||||
get:
|
||||
description: For valid response try integer IDs with value <= 5 or > 10. Other
|
||||
values will generated exceptions
|
||||
values will generate exceptions
|
||||
operationId: getOrderById
|
||||
parameters:
|
||||
- description: ID of pet that needs to be fetched
|
||||
@@ -712,7 +712,7 @@ paths:
|
||||
style: form
|
||||
responses:
|
||||
"400":
|
||||
description: Someting wrong
|
||||
description: Something wrong
|
||||
security:
|
||||
- bearer_test: []
|
||||
summary: Fake endpoint to test group parameters (optional)
|
||||
|
||||
@@ -383,7 +383,7 @@ paths:
|
||||
x-accepts: application/json
|
||||
get:
|
||||
description: For valid response try integer IDs with value <= 5 or > 10. Other
|
||||
values will generated exceptions
|
||||
values will generate exceptions
|
||||
operationId: getOrderById
|
||||
parameters:
|
||||
- description: ID of pet that needs to be fetched
|
||||
@@ -685,7 +685,7 @@ paths:
|
||||
responses:
|
||||
"400":
|
||||
content: {}
|
||||
description: Someting wrong
|
||||
description: Something wrong
|
||||
summary: Fake endpoint to test group parameters (optional)
|
||||
tags:
|
||||
- fake
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
||||
#
|
||||
# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update" "gitlab.com"
|
||||
# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"
|
||||
|
||||
git_user_id=$1
|
||||
git_repo_id=$2
|
||||
|
||||
@@ -332,7 +332,7 @@ public class ApiClient {
|
||||
|
||||
/**
|
||||
* Gets request interceptor based on authentication name
|
||||
* @param authName Authentiation name
|
||||
* @param authName Authentication name
|
||||
* @return Request Interceptor
|
||||
*/
|
||||
public RequestInterceptor getAuthorization(String authName) {
|
||||
|
||||
@@ -12,7 +12,7 @@ public class ServerConfiguration {
|
||||
|
||||
/**
|
||||
* @param URL A URL to the target host.
|
||||
* @param description A describtion of the host designated by the URL.
|
||||
* @param description A description of the host designated by the URL.
|
||||
* @param variables A map between a variable name and its value. The value is used for substitution in the server's URL template.
|
||||
*/
|
||||
public ServerConfiguration(String URL, String description, Map<String, ServerVariable> variables) {
|
||||
|
||||
@@ -39,7 +39,7 @@ public interface StoreApi extends ApiClient.Api {
|
||||
|
||||
/**
|
||||
* Find purchase order by ID
|
||||
* For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||
* For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
|
||||
* @param orderId ID of pet that needs to be fetched (required)
|
||||
* @return Order
|
||||
*/
|
||||
|
||||
@@ -53,7 +53,7 @@ public class StoreApiTest {
|
||||
/**
|
||||
* Find purchase order by ID
|
||||
*
|
||||
* For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||
* For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
|
||||
*/
|
||||
@Test
|
||||
public void getOrderByIdTest() {
|
||||
|
||||
@@ -68,7 +68,7 @@ public interface StoreApi extends ApiClient.Api {
|
||||
|
||||
/**
|
||||
* Find purchase order by ID
|
||||
* For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||
* For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
|
||||
* @param orderId ID of pet that needs to be fetched (required)
|
||||
* @return Order
|
||||
*/
|
||||
@@ -81,7 +81,7 @@ public interface StoreApi extends ApiClient.Api {
|
||||
/**
|
||||
* Find purchase order by ID
|
||||
* Similar to <code>getOrderById</code> but it also returns the http response headers .
|
||||
* For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||
* For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
|
||||
* @param orderId ID of pet that needs to be fetched (required)
|
||||
* @return A ApiResponse that wraps the response boyd and the http headers.
|
||||
*/
|
||||
|
||||
@@ -91,7 +91,7 @@ public class StoreApiTest {
|
||||
/**
|
||||
* Find purchase order by ID
|
||||
* <p>
|
||||
* For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||
* For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
|
||||
*/
|
||||
@Test
|
||||
void getOrderByIdTest() {
|
||||
|
||||
Reference in New Issue
Block a user