JP5209016B2 - WebAPI creation support apparatus and WebAPI creation support method - Google Patents

WebAPI creation support apparatus and WebAPI creation support method Download PDF

Info

Publication number
JP5209016B2
JP5209016B2 JP2010217462A JP2010217462A JP5209016B2 JP 5209016 B2 JP5209016 B2 JP 5209016B2 JP 2010217462 A JP2010217462 A JP 2010217462A JP 2010217462 A JP2010217462 A JP 2010217462A JP 5209016 B2 JP5209016 B2 JP 5209016B2
Authority
JP
Japan
Prior art keywords
input
parameter
webapi
function
check
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2010217462A
Other languages
Japanese (ja)
Other versions
JP2012073778A (en
Inventor
隼輔 菊池
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yahoo Japan Corp
Original Assignee
Yahoo Japan Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yahoo Japan Corp filed Critical Yahoo Japan Corp
Priority to JP2010217462A priority Critical patent/JP5209016B2/en
Publication of JP2012073778A publication Critical patent/JP2012073778A/en
Application granted granted Critical
Publication of JP5209016B2 publication Critical patent/JP5209016B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)

Description

本発明は、Webアプリケーションライブラリ(以下、「WebAPIライブラリ」とする)に含まれるWebアプリケーション関数(以下、「WebAPI関数」とする)を用いてWebアプリケーションを開発するWebAPIライブラリの利用者(サードパーティ)及び開発者の双方を支援するWebAPI作成支援装置及びWebAPI作成支援方法に関する。   The present invention provides a user (third party) of a WebAPI library that develops a Web application using a Web application function (hereinafter referred to as “WebAPI function”) included in the Web application library (hereinafter referred to as “WebAPI library”). The present invention relates to a WebAPI creation support apparatus and a WebAPI creation support method that support both the developer and the developer.

従来より、汎用性の高い複数のAPI関数を1つのファイルにまとめたAPIライブラリをアプリケーション開発者に提供することで、アプリケーション開発の支援が行われている。例えば、特許文献1には、デバッグ機能付きシミュレータと、実行コードを生成するためのクロスコンパイラ又はソースコードを遂時実行するインタープリタと、ユーザの作成したソースコードを記憶するソースコード記憶手段と、ソフトウェアライブラリ群を記憶するソフトライブラリ記憶手段とからなるソフトウェア開発環境を、ユーザに提供するアプリケーション開発環境システムが開示されている。   Conventionally, application development support is provided by providing an application developer with an API library in which a plurality of highly versatile API functions are combined into one file. For example, Patent Document 1 discloses a simulator with a debugging function, a cross compiler for generating an execution code or an interpreter for executing a source code at a time, source code storage means for storing a source code created by a user, software An application development environment system that provides a user with a software development environment comprising software library storage means for storing a library group is disclosed.

アプリケーション開発者は、提供されたAPIライブラリに含まれるAPI関数を利用してプログラムを作成することで、容易にアプリケーションの開発を行うことができる。   An application developer can easily develop an application by creating a program using an API function included in the provided API library.

特開2002−182910号公報JP 2002-182910 A

ところで、アプリケーションの開発にあたりAPI関数ライブラリの利用者は、提供されるAPI関数ライブラリに含まれるAPI関数がどのような動作をするか確認することを望む。特に、利用者は、API関数ライブラリが更新された場合には、この更新に伴いAPI関数の動作にどのような変化があるか確認する必要がある。   By the way, when developing an application, a user of an API function library desires to check how an API function included in the provided API function library operates. In particular, when the API function library is updated, the user needs to check what kind of change occurs in the operation of the API function due to the update.

これまで、API関数の利用者が当該API関数の動作を確認するためには、API関数ライブラリを格納するWebサーバに開発者自身が直接アクセスし、当該API関数の動作を確認することが一般的であった。ところが、このような確認方法は、利用者が当該API関数の存在を知ってから動作確認のテストするまでに多くのの手間と時間を要し、利便性の観点から見ると必ずしも優れたものとはいえなかった。   Until now, in order for a user of an API function to check the operation of the API function, it is common for the developer to directly access the Web server storing the API function library and check the operation of the API function. there were. However, such a confirmation method requires a lot of time and effort from the time when the user knows the existence of the API function until the test of the operation confirmation, and it is not always excellent from the viewpoint of convenience. I could not say.

例えば、新たにWebAPI関数が提供された場合に、当該WebAPI関数の利用者は、当該WebAPI関数の動作確認をする際に、当該WebAPI関数について、ドキュメントなどを参照してその実体の所在を示すURLを確認し、パラメータの定義を確認し、呼出し手順を確認して自ら呼び出しプロトコルを記載する必要がある。更に、WebAPI関数を開発する開発者が当該WebAPI関数のデバッグを行う際にも、直ぐに動作確認テストに移ることができず、同様の問題が発生する。そして特許文献1に記載の技術は、このような問題を解決することはできない。   For example, when a Web API function is newly provided, when the user of the Web API function confirms the operation of the Web API function, the URL indicating the location of the entity of the Web API function by referring to a document or the like It is necessary to confirm the parameter definition, confirm the calling procedure, and describe the calling protocol by itself. Furthermore, even when a developer who develops a Web API function debugs the Web API function, the operation confirmation test cannot be immediately started, and the same problem occurs. And the technique of patent document 1 cannot solve such a problem.

そこで本発明は、WebAPIライブラリの利用者にとっても開発者にとっても、当該WebAPIライブラリに含まれるWebAPI関数の動作確認の利便性を向上可能なWebAPI作成支援装置及びWebAPI作成支援方法を提供することを目的とする。   Accordingly, an object of the present invention is to provide a Web API creation support apparatus and a Web API creation support method that can improve the convenience of checking the operation of a Web API function included in the Web API library for both users and developers of the Web API library. And

(1) WebAPIライブラリの定義情報ファイルであって、前記WebAPIライブラリに含まれる複数のWebAPI関数の夫々のパラメータを記述するパラメータ記述部及び前記パラメータに対する入力情報のチェック指定条件を記述するオプション記述部を含む定義情報ファイルの更新を確認する更新確認手段と、前記定義情報ファイルが更新されたことに応じて前記定義情報ファイルを読み出すファイル読み出し手段と、読み出した前記定義情報ファイルのパラメータ記述部から前記パラメータを抽出し、前記パラメータに対する入力ボックスを抽出した前記パラメータの数だけ表示するHTMLコードを生成する入力ボックス生成手段と、読み出した前記定義情報ファイルのオプション記述部の前記チェック指定条件を解釈し、前記入力ボックスに入力された入力情報のパラメータチェックを行うチェック関数を生成するチェック関数生成手段と、前記入力ボックスに入力された入力情報に基づく前記WebAPI関数のテスト実行機能、及び前記チェック関数に基づく前記入力ボックスに入力された入力情報のパラメータチェック機能を有するWebページ入力フォームを表示するHTMLコードを生成する入力フォーム生成手段と、を備えるWebAPI作成支援装置。   (1) A definition information file of a WebAPI library, including a parameter description section describing each parameter of a plurality of WebAPI functions included in the WebAPI library, and an option description section describing a check specification condition of input information for the parameter Update confirmation means for confirming the update of the definition information file included, file read means for reading the definition information file in response to the update of the definition information file, and the parameter from the parameter description part of the read definition information file And an input box generation means for generating HTML code for displaying the number of the extracted input boxes for the parameters, and the check specification condition of the option description part of the read definition information file Check function generation means for generating a check function for checking parameters of input information input to the input box, a test execution function of the WebAPI function based on the input information input to the input box, and based on the check function A Web API creation support apparatus comprising: an input form generation unit that generates an HTML code for displaying a Web page input form having a function of checking a parameter of input information input to the input box.

(1)のWebAPI作成支援装置によれば、入力ボックス生成手段は、定義情報ファイルのパラメータ記述部からWebAPI関数のパラメータに対する入力ボックスをパラメータの数だけ表示するHTMLコードを生成し、入力フォーム生成手段は、入力ボックスに入力された入力情報に基づくWebAPI関数のテスト実行機能を有するWebページ入力フォームを表示するHTMLコードを生成する。
これにより、アプリケーション開発者には、WebAPIライブラリに含まれるWebAPI関数の実行結果(動作)が確認可能なWebページ入力フォームが提供されることになり、WebAPI関数の動作確認の利便性を向上させることができる。
また、このWebページ入力フォームには、チェック関数生成手段が生成した入力ボックスに入力された入力情報のパラメータチェックを行うチェック関数によるパラメータチェック機能も含まれるため、Webページ入力フォームでは、パラメータ値のバリデーション処理も行うことができ、API関数の動作確認の利便性を更に向上させることができる。
According to the Web API creation support apparatus of (1), the input box generation unit generates an HTML code that displays the number of input boxes corresponding to the parameters of the Web API function from the parameter description part of the definition information file, and the input form generation unit. Generates an HTML code for displaying a Web page input form having a Web API function test execution function based on the input information input in the input box.
As a result, the application developer is provided with a Web page input form in which the execution result (operation) of the WebAPI function included in the WebAPI library can be confirmed, and the convenience of confirming the operation of the WebAPI function is improved. Can do.
This Web page input form also includes a parameter check function by a check function that performs parameter check of input information input to the input box generated by the check function generation unit. Validation processing can also be performed, and the convenience of checking the operation of the API function can be further improved.

(2) 前記定義情報ファイルのパラメータ記述部から前記WebAPI関数の出力フォーマットの指定を解釈し、当該指定を反映させた入力ボックスを表示するHTMLコードを生成するパラメータ指定手段を備える(1)に記載のWebAPI作成支援装置。   (2) Described in (1), comprising parameter specifying means for interpreting a specification of an output format of the WebAPI function from a parameter description part of the definition information file and generating an HTML code for displaying an input box reflecting the specification. WebAPI creation support device.

(2)のWebAPI作成支援装置によれば、適切な出力フォーマットを自動的に指定することができる。   According to the WebAPI creation support apparatus of (2), an appropriate output format can be automatically specified.

(3) 前記入力フォーム生成手段は、前記Webページ入力フォームを表示するHTMLコードをネットワークを介して閲覧可能なWebページの形式で生成する(1)又は(2)に記載のWebAPI作成支援装置。   (3) The Web API creation support apparatus according to (1) or (2), wherein the input form generation unit generates an HTML code for displaying the Web page input form in a Web page format that can be browsed via a network.

(3)のWebAPI作成支援装置によれば、Webページ入力フォームをWebページの形式で生成するため、アプリケーション開発者は、Webページ入力フォームに容易にアクセスすることができ、WebAPI関数の動作確認の利便性を更に向上させることができる。   According to the Web API creation support apparatus of (3), since the web page input form is generated in the form of the web page, the application developer can easily access the web page input form and check the operation of the web API function. Convenience can be further improved.

(4) 所定のコンピュータが実行する、WebAPIライブラリの定義情報ファイルであって、前記WebAPIライブラリに含まれる複数のWebAPI関数の夫々のパラメータを記述するパラメータ記述部及び前記パラメータに対する入力情報のチェック指定条件を記述するオプション記述部を含む定義情報ファイルの更新を確認するステップと、前記定義情報ファイルが更新されたことに応じて前記定義情報ファイルを読み出すステップと、読み出した前記定義情報ファイルのパラメータ記述部から前記パラメータを抽出し、前記パラメータに対する入力ボックスを抽出した前記パラメータの数だけ表示するHTMLコードを生成するステップと、読み出した前記定義情報ファイルのオプション記述部の前記チェック指定条件を解釈し、前記入力ボックスに入力された入力情報のパラメータチェックを行うチェック関数を生成するステップと、前記入力ボックスに入力された入力情報に基づく前記WebAPI関数のテスト実行機能、及び前記チェック関数に基づく前記入力ボックスに入力された入力情報のパラメータチェック機能を有するWebページ入力フォームを表示するHTMLコードを生成するステップと、を含むWebAPI作成支援方法。   (4) A definition information file of a WebAPI library executed by a predetermined computer, a parameter description part describing each parameter of a plurality of WebAPI functions included in the WebAPI library, and a condition for specifying input information for the parameter A step of confirming an update of a definition information file including an option description section describing the information, a step of reading the definition information file in response to the update of the definition information file, and a parameter description section of the read definition information file The parameter is extracted from, the input box for the parameter is extracted and the HTML code for displaying the number of the parameters is generated, and the check specification condition of the option description part of the read definition information file is interpreted A step of generating a check function for performing a parameter check of the input information input to the input box, a test execution function of the WebAPI function based on the input information input to the input box, and the input based on the check function Generating an HTML code for displaying a Web page input form having a function of checking a parameter of input information input to a box.

(4)のWebAPI作成支援方法によれば、(1)のWebAPI作成支援装置と同様の効果を奏する。   According to the WebAPI creation support method of (4), the same effects as the WebAPI creation support device of (1) are produced.

本発明によれば、WebAPIライブラリの利用者にとっても開発者にとっても、当該WebAPIライブラリに含まれるWebAPI関数の動作確認の利便性を向上させることができる。   According to the present invention, it is possible for both users and developers of a Web API library to improve the convenience of confirming the operation of the Web API function included in the Web API library.

本発明のAPI作成支援装置の機能構成を示す図である。It is a figure which shows the function structure of the API creation assistance apparatus of this invention. 定義情報ファイルを示す図である。It is a figure which shows a definition information file. Webページ入力フォームのソースコードを示す図である。It is a figure which shows the source code of a web page input form. Webページ入力フォームの表示例を示す図である。It is a figure which shows the example of a display of a web page input form. Webページ入力フォームの入力に基づくAPI関数の実行結果の表示例を示す図である。It is a figure which shows the example of a display of the execution result of the API function based on the input of a web page input form. API作成支援装置の処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process of API creation assistance apparatus.

以下、本発明の実施形態について図面を参照して説明する。   Embodiments of the present invention will be described below with reference to the drawings.

[WebWebAPI作成支援装置1の構成]
図1を参照して、本実施形態のWebWebAPI作成支援装置1について説明する。図1は、WebAPI作成支援装置1の機能構成を示すブロック図である。WebAPI作成支援装置1は、ライブラリ開発者端末2、WebAPIライブラリサーバ3及びライブラリ利用者端末4と通信可能に接続されている。
なお、ライブラリ開発者端末2は、WebAPIライブラリの開発者が利用する端末であり、WebAPIライブラリサーバ3は、ライブラリ開発者端末2で作成されたWebAPIライブラリを格納するサーバであり、ライブラリ利用者端末4は、WebAPIライブラリサーバ3に格納されたWebAPIライブラリを用いてアプリケーションを開発するアプリケーション開発者が利用する端末である。WebAPIライブラリの開発者がWebAPIライブラリを開発すると、WebAPIライブラリの開発者は当該WebAPIライブラリをWebAPIライブラリサーバ3に格納する。アプリケーション開発者は、WebAPIライブラリサーバ3にアクセスし、格納されているWebAPIライブラリを用いてアプリケーションを開発する。
[Configuration of WebWeb API Creation Support Device 1]
With reference to FIG. 1, the WebWeb API creation support apparatus 1 of this embodiment is demonstrated. FIG. 1 is a block diagram showing a functional configuration of the Web API creation support apparatus 1. The WebAPI creation support apparatus 1 is connected to the library developer terminal 2, the WebAPI library server 3, and the library user terminal 4 so that they can communicate with each other.
The library developer terminal 2 is a terminal used by the developer of the WebAPI library, and the WebAPI library server 3 is a server that stores the WebAPI library created by the library developer terminal 2, and the library user terminal 4 Is a terminal used by an application developer who develops an application using the WebAPI library stored in the WebAPI library server 3. When the developer of the Web API library develops the Web API library, the developer of the Web API library stores the Web API library in the Web API library server 3. The application developer accesses the WebAPI library server 3 and develops an application using the stored WebAPI library.

本実施形態のWebAPI作成支援装置1は、記憶手段11と、更新確認手段12と、ファイル読み出し手段13と、入力フォーム生成手段14と、パラメータチェック実行手段15と、関数実行手段16と、実行結果出力手段17と、を含んで構成される。   The Web API creation support apparatus 1 according to this embodiment includes a storage unit 11, an update confirmation unit 12, a file reading unit 13, an input form generation unit 14, a parameter check execution unit 15, a function execution unit 16, and an execution result. And output means 17.

記憶手段11には、WebAPIライブラリサーバ3に格納されたWebAPIライブラリに対応する定義情報ファイル110が、WebAPIライブラリ毎に記憶されている。ここで、定義情報ファイル110は、WebAPIライブラリの開発者により作成され、記憶手段11に記憶される。すなわち、WebAPIライブラリの開発者は、WebAPIライブラリを開発すると、当該WebAPIライブラリの定義情報ファイル110を併せて作成する。そして、WebAPIライブラリの開発者は、WebAPIライブラリをWebAPIライブラリサーバ3に格納し、定義情報ファイル110を本発明のWebAPI作成支援装置1の記憶手段11に格納する。また、WebAPIライブラリの開発者は、WebAPIライブラリを更新した場合には、記憶手段11にアクセスし、当該WebAPIライブラリに対応する定義情報ファイル110を併せて更新する。   In the storage unit 11, a definition information file 110 corresponding to the WebAPI library stored in the WebAPI library server 3 is stored for each WebAPI library. Here, the definition information file 110 is created by the developer of the Web API library and stored in the storage unit 11. That is, when the developer of the Web API library develops the Web API library, it also creates the definition information file 110 of the Web API library. The developer of the WebAPI library stores the WebAPI library in the WebAPI library server 3 and stores the definition information file 110 in the storage unit 11 of the WebAPI creation support apparatus 1 of the present invention. Further, when the WebAPI library developer updates the WebAPI library, the developer accesses the storage unit 11 and updates the definition information file 110 corresponding to the WebAPI library.

WebAPIライブラリの開発者により作成・更新される定義情報ファイル110について、図2を参照して説明する。定義情報ファイル110は、一例としてiniファイルで作成され、サーバ記述部111と、WebAPI関数記述部112と、パラメータ記述部113と、オプション記述部114と、を含む。   The definition information file 110 created / updated by the developer of the WebAPI library will be described with reference to FIG. The definition information file 110 is created as an example ini file, and includes a server description unit 111, a Web API function description unit 112, a parameter description unit 113, and an option description unit 114.

サーバ記述部111には、対応するWebAPIライブラリを記憶するWebAPIライブラリサーバ3のアドレスなどのサーバ定義情報が記述される。WebAPI関数記述部112には、対応するWebAPIライブラリに含まれるWebAPI関数の種類やアドレスなどのWebAPI関数定義情報が記述される。パラメータ記述部113には、WebAPI関数が有するパラメータに関するパラメータ定義情報が記述される。オプション記述部114には、WebAPI関数のパラメータに対する入力情報のチェック指定条件が記述される。   The server description unit 111 describes server definition information such as the address of the WebAPI library server 3 that stores the corresponding WebAPI library. In the Web API function description section 112, Web API function definition information such as the type and address of the Web API function included in the corresponding Web API library is described. The parameter description section 113 describes parameter definition information related to the parameters of the Web API function. In the option description section 114, a check specification condition of input information for a parameter of the WebAPI function is described.

図2は、「workflow」というWebAPIライブラリサーバ3に格納されているWebAPIライブラリに関する定義情報ファイル110を示している(サーバ記述部111)。また、このWebAPIライブラリの複数のWebAPI関数には「getAPIpIdList」というWebAPI関数が含まれ(WebAPI関数記述部112)、このWebAPI関数が「query」「start」「results」「output」というパラメータを有し(パラメータ記述部113)、「start」パラメータには「999」〜「−999」の範囲で「0」〜「9」の文字列のみが入力可能であることが規定(オプション記述部114)されている。   FIG. 2 shows a definition information file 110 relating to the WebAPI library stored in the WebAPI library server 3 called “workflow” (server description unit 111). Further, a plurality of WebAPI functions of this WebAPI library include a WebAPI function “getAPIpIdList” (WebAPI function description unit 112), and this WebAPI function has parameters “query”, “start”, “results”, and “output”. (Parameter description part 113), it is specified that only the character string of “0” to “9” can be input in the range of “999” to “−999” (option description part 114) for the “start” parameter. ing.

図1に戻り、更新確認手段12は、記憶手段11に記憶された定義情報ファイル110が更新されたか否かを確認する。定義情報ファイル110の更新の有無は、任意の方法で行うことができ、例えば、ファイルの更新日により更新されたか否かを確認することとしてもよい。また、更新されたとは、存在していた定義情報ファイル110がWebAPIライブラリの開発者により書き換えられたことに加え、存在していなかった定義情報ファイル110がWebAPIライブラリの開発者により新たに作成されたことを含む。   Returning to FIG. 1, the update confirmation unit 12 confirms whether or not the definition information file 110 stored in the storage unit 11 has been updated. Whether or not the definition information file 110 is updated can be determined by an arbitrary method. For example, it may be confirmed whether the definition information file 110 has been updated based on the update date of the file. In addition to being updated, the definition information file 110 that existed was rewritten by the developer of the WebAPI library, and the definition information file 110 that did not exist was newly created by the developer of the WebAPI library. Including that.

ファイル読み出し手段13は、更新確認手段12により定義情報ファイル110が更新されたと確認されることを条件に、更新された定義情報ファイル110を記憶手段11から読み出す。   The file reading unit 13 reads the updated definition information file 110 from the storage unit 11 on the condition that the update confirmation unit 12 confirms that the definition information file 110 has been updated.

入力フォーム生成手段14は、読み出した定義情報ファイル110からWebページ入力フォーム100を表示するHTMLコードを生成する。ここで、入力フォーム生成手段14によって生成されるWebページ入力フォーム100を表示するHTMLコードは、WebAPIライブラリ毎に生成され、WebAPIライブラリに含まれるWebAPI関数の動作を確認するために用いられる。WebAPI関数の動作確認には、パラメータを指定したときのWebAPI関数の動作確認(テスト実行機能)に加え、指定されたパラメータのバリデーション処理(パラメータチェック機能)が含まれる。
入力フォーム生成手段14により生成されるWebページ入力フォーム100を表示するHTMLコードの一例を図4に示す。図4では、「getAPIpIdList」というWebAPI関数の動作を確認する部分のWebページ入力フォーム100が示されている。図4に示すように、本実施形態のWebページ入力フォーム100では、WebAPI関数のパラメータに対する入力情報を受け付ける入力ボックス102A及び所定の動作を促すボタン104Aが少なくとも含まれる。
The input form generation unit 14 generates an HTML code for displaying the web page input form 100 from the read definition information file 110. Here, the HTML code for displaying the Web page input form 100 generated by the input form generation unit 14 is generated for each Web API library, and is used for confirming the operation of the Web API function included in the Web API library. The operation check of the WebAPI function includes a validation process (parameter check function) of the specified parameter in addition to the operation check (test execution function) of the WebAPI function when the parameter is specified.
An example of HTML code for displaying the Web page input form 100 generated by the input form generation unit 14 is shown in FIG. FIG. 4 shows a Web page input form 100 that is a part for confirming the operation of the Web API function “getAPIpIdList”. As shown in FIG. 4, the Web page input form 100 of this embodiment includes at least an input box 102A for receiving input information for parameters of the Web API function and a button 104A for prompting a predetermined operation.

このようなWebページ入力フォーム100に所定の情報を入力することで、アプリケーション開発者は、WebAPIライブラリに含まれるWebAPI関数の動作を容易に確認することができる。特に、本実施形態では、Webページ入力フォーム100をWebページ(HTML)の形式で生成し、ネットワーク上に公開するため、遠隔にいるアプリケーション開発者であってもWebページ入力フォーム100に容易にアクセスすることができ、WebAPI関数の動作確認の利便性を更に向上させることができる。また、入力フォーム生成手段14は、定義情報ファイル110が更新されるたびにWebページ入力フォーム100を表示するHTMKコードを生成するため、アプリケーション開発者は最新のWebAPI関数の動作を確認することができる。   By inputting predetermined information into the Web page input form 100, the application developer can easily confirm the operation of the Web API function included in the Web API library. In particular, in this embodiment, the web page input form 100 is generated in the form of a web page (HTML) and published on the network, so even a remote application developer can easily access the web page input form 100. The convenience of checking the operation of the Web API function can be further improved. In addition, since the input form generation unit 14 generates an HTML code that displays the Web page input form 100 every time the definition information file 110 is updated, the application developer can check the operation of the latest Web API function. .

図1に戻り、入力フォーム生成手段14は、Webページ入力フォーム100を表示するHTMLコードを生成するため、WebAPI関数指定手段141と、入力ボックス生成手段142と、パラメータ指定手段143と、チェック関数生成手段144と、を含んで構成される。   Returning to FIG. 1, the input form generation unit 14 generates an HTML code for displaying the Web page input form 100, so that the Web API function specification unit 141, the input box generation unit 142, the parameter specification unit 143, and the check function generation And means 144.

WebAPI関数指定手段141は、定義情報ファイル110のサーバ記述部111及びWebAPI関数記述部112から、WebAPI関数のアドレスなどを指定する。入力ボックス生成手段142は、定義情報ファイル110のパラメータ記述部113からWebAPI関数のパラメータを抽出し、当該パラメータに対する入力ボックス102Aを表示するHTMLコードを生成する。パラメータ指定手段143は、WebAPI関数のパラメータに入力する値が規定されている場合には、当該値を自動的に入力ボックス102Aに入力する。例えば、定義情報ファイル110のパラメータ記述部113に出力フォーマットが記述されている場合には、パラメータ指定手段143は、当該出力フォーマットに従いWebAPI関数の実行結果が出力されるよう、入力ボックス102Aに出力フォーマットを入力する。また、チェック関数生成手段144は、定義情報ファイル110のオプション記述部114からパラメータに対する入力情報のチェック指定条件を抽出し、パラメータへの入力条件を生成する。   The Web API function specifying unit 141 specifies the address of the Web API function from the server description part 111 and the Web API function description part 112 of the definition information file 110. The input box generation unit 142 extracts the parameter of the Web API function from the parameter description unit 113 of the definition information file 110, and generates an HTML code that displays the input box 102A for the parameter. When the value to be input to the parameter of the Web API function is defined, the parameter specifying unit 143 automatically inputs the value to the input box 102A. For example, when the output format is described in the parameter description section 113 of the definition information file 110, the parameter specification unit 143 outputs the output format to the input box 102A so that the execution result of the Web API function is output according to the output format. Enter. In addition, the check function generation unit 144 extracts the input information check designation condition for the parameter from the option description unit 114 of the definition information file 110, and generates an input condition for the parameter.

図3を参照して、入力フォーム生成手段14によるWebページ入力フォーム100を表示するHTMLコードの生成について具体的に説明する。   With reference to FIG. 3, the generation of the HTML code for displaying the Web page input form 100 by the input form generation means 14 will be specifically described.

入力フォーム生成手段14のWebAPI関数指定手段141は、定義情報ファイル110のサーバ記述部111及びWebAPI関数記述部112からWebAPI関数記述コード101を生成する。このWebAPI関数記述コード101には、WebAPI関数の名前やアドレスが記述されている。   The Web API function specifying unit 141 of the input form generating unit 14 generates the Web API function description code 101 from the server description unit 111 and the Web API function description unit 112 of the definition information file 110. The Web API function description code 101 describes the name and address of the Web API function.

入力フォーム生成手段14の入力ボックス生成手段142は、定義情報ファイル110のパラメータ記述部113に記述されたパラメータに対する入力ボックス102Aを形成するための入力ボックス生成コード102を生成する。生成された入力ボックス生成コード102により図4に示す入力ボックス102Aが形成される。   The input box generation unit 142 of the input form generation unit 14 generates the input box generation code 102 for forming the input box 102A for the parameters described in the parameter description unit 113 of the definition information file 110. The generated input box generation code 102 forms an input box 102A shown in FIG.

入力フォーム生成手段14のパラメータ指定手段143は、定義情報ファイル110のパラメータ記述部113にWebAPI関数のパラメータに入力する値が規定されている場合に、当該値を入力ボックス生成コード102に記述する。図3では、定義情報ファイル110のパラメータ記述部113には、パラメータ「output」について「xml」と規定されている。その結果、パラメータ指定手段143は、入力ボックス生成コード102の「output」の「value」に「xml」を自動的に入力する。
このように、本実施形態では、WebAPI関数の実行結果の出力フォーマットが予め定められている場合には、当該フォーマットに従い実行結果を出力するようにWebページ入力フォームを表示するHTMLコードが生成される。これにより、適切な出力フォーマットで実行結果を出力することができ、利便性を高めることができる。なお、入力する値が規定されているパラメータは、「output」のみに限られず、パラメータ指定手段143は、入力する値が規定されているパラメータについてのその値を自動的に入力する。
The parameter specifying unit 143 of the input form generating unit 14 describes the value to be input to the parameter of the Web API function in the input box generation code 102 when the parameter description unit 113 of the definition information file 110 defines the value to be input to the parameter of the Web API function. In FIG. 3, the parameter description section 113 of the definition information file 110 defines “xml” for the parameter “output”. As a result, the parameter specifying unit 143 automatically inputs “xml” to “value” of “output” of the input box generation code 102.
As described above, in this embodiment, when the output format of the execution result of the Web API function is predetermined, the HTML code for displaying the Web page input form is generated so as to output the execution result according to the format. . As a result, the execution result can be output in an appropriate output format, and convenience can be improved. The parameter for which the value to be input is defined is not limited to “output”, and the parameter specifying unit 143 automatically inputs the value for the parameter for which the value to be input is defined.

入力フォーム生成手段14のチェック関数生成手段144は、定義情報ファイル110のオプション記述部114にパラメータに入力する値の条件が規定されている場合に、入力条件記述コード103(チェック関数)を生成する。入力条件記述コード103は、パラメータに入力された値が所定の条件を具備しているか否かを判定するためのコードであり、一例としてjavascript(登録商標)で記述される。例えば、チェック関数生成手段144は、パラメータに入力する値の数値範囲や文字列を指定するためのチェック関数を生成する。図3を参照して、定義情報ファイル110のオプション記述部114には、数値範囲(最大「999」最小「−999」という数値範囲)を限定する条件114A、及びパラメータに入力する値の文字列(「0」〜「9」の文字列)を指定する条件114Bが規定されている。チェック関数生成手段144は、条件114Aから、パラメータに入力された値が「−999」〜「999」の範囲内のものであるか否かを判定するための数値範囲判定コード103Aを生成し、また、条件114Bから、パラメータに入力された値が「0」〜「9」の文字列であるか否かを判定するための文字列判定コード103Bを生成する。
このように生成された入力条件記述コード103により、Webページ入力フォーム100では、入力ボックス102Aに入力された値のパラメータチェックを行うことができ、API関数の動作確認の利便性を更に高めることができる。
The check function generation unit 144 of the input form generation unit 14 generates the input condition description code 103 (check function) when the condition of the value input to the parameter is defined in the option description unit 114 of the definition information file 110. . The input condition description code 103 is a code for determining whether or not a value input to a parameter has a predetermined condition, and is described in javascript (registered trademark) as an example. For example, the check function generation unit 144 generates a check function for designating a numerical range or a character string of values to be input as parameters. Referring to FIG. 3, the option description section 114 of the definition information file 110 includes a condition 114 </ b> A that limits a numerical range (a numerical range of maximum “999” and minimum “−999”), and a character string of a value input to a parameter A condition 114B for specifying (a character string “0” to “9”) is defined. The check function generation unit 144 generates a numerical range determination code 103A for determining whether or not the value input to the parameter is within the range of “−999” to “999” from the condition 114A. Further, a character string determination code 103B for determining whether or not the value input to the parameter is a character string of “0” to “9” is generated from the condition 114B.
By using the input condition description code 103 generated in this way, the Web page input form 100 can perform parameter check of the value input in the input box 102A, and further enhance the convenience of confirming the operation of the API function. it can.

また、入力フォーム生成手段14は、Webページ入力フォーム100の動作を促すボタン104Aを生成するためのボタン生成コード104を生成する。本実施形態では、ボタン104Aの一例として、「クエリ送信ボタン」、「リセットボタン」、「入力チェックボタン」を表示するHTMLコードを生成することとしている。「クエリ送信ボタン」が操作されると、パラメータに入力ボックス102Aに入力された値を入力した場合のWebAPI関数が実行される。「リセットボタン」が操作されると、入力ボックス102Aに入力された値がクリアされる。また、「入力チェックボタン」が操作されると、入力ボックス102Aに入力された値のバリデーション処理、すなわち、入力ボックス102Aに入力された値が、定義情報ファイル110のオプション記述部114に規定するチェック指定条件を満たすか否かが判定される。   Further, the input form generation unit 14 generates a button generation code 104 for generating a button 104A that prompts the operation of the Web page input form 100. In the present embodiment, as an example of the button 104A, an HTML code that displays a “query transmission button”, a “reset button”, and an “input check button” is generated. When the “query transmission button” is operated, the Web API function when the value input in the input box 102A is input as the parameter is executed. When the “reset button” is operated, the value input in the input box 102A is cleared. In addition, when the “input check button” is operated, the value input to the input box 102A is validated, that is, the value input to the input box 102A is checked in the option description section 114 of the definition information file 110. It is determined whether or not a specified condition is satisfied.

このように、入力フォーム生成手段14が定義情報ファイル110からWebページ入力フォーム100のソースコード(HTML)を生成することで、図4に示すWebページ入力フォーム100が生成される。なお、入力フォーム生成手段14は、記憶手段11に記憶された所定のルール(プログラム)に従い、定義情報ファイル110からWebページ入力フォーム100を生成する。
入力フォーム生成手段14により生成されたWebページ入力フォーム100(Webページ)は、ネットワークを介してライブラリ利用者端末4(アプリケーション開発者)に提供され、ライブラリ利用者端末4からの入力を受け付ける。
As described above, the input form generation unit 14 generates the source code (HTML) of the Web page input form 100 from the definition information file 110, thereby generating the Web page input form 100 shown in FIG. The input form generation unit 14 generates the Web page input form 100 from the definition information file 110 in accordance with a predetermined rule (program) stored in the storage unit 11.
The Web page input form 100 (Web page) generated by the input form generation unit 14 is provided to the library user terminal 4 (application developer) via the network, and receives input from the library user terminal 4.

図1に戻り、パラメータチェック実行手段15、関数実行手段16及び実行結果出力手段17は、入力フォーム生成手段14により生成されたWebページ入力フォーム100に実現される機能である。
パラメータチェック実行手段15は、Webページ入力フォーム100の入力ボックス102Aに入力された値のバリデーション処理、当該値がチェック指定条件を満たすか否かを判定する。具体的には、パラメータチェック実行手段15は、入力ボックス102Aに値が入力され「入力チェックボタン」が操作されると、チェック関数生成手段144が生成した入力条件記述コード103(チェック関数)に基づいて当該値が定義情報ファイル110のオプション記述部114のチェック指定条件を満たすものであるか否かを判定する。
Returning to FIG. 1, the parameter check execution unit 15, the function execution unit 16, and the execution result output unit 17 are functions implemented in the Web page input form 100 generated by the input form generation unit 14.
The parameter check execution unit 15 validates the value input in the input box 102A of the Web page input form 100, and determines whether or not the value satisfies a check specification condition. Specifically, the parameter check execution means 15 is based on the input condition description code 103 (check function) generated by the check function generation means 144 when a value is input to the input box 102A and the “input check button” is operated. Then, it is determined whether or not the value satisfies the check specification condition of the option description part 114 of the definition information file 110.

関数実行手段16は、Webページ入力フォーム100の入力ボックス102Aに入力された値を対応するパラメータに入力し、WebAPI関数を実行する。具体的には、関数実行手段16は、「クエリ送信ボタン」が操作されると、入力ボックス102Aに入力された値に基づいてWebAPI関数を実行する。WebAPI関数の実行は、例えば、関数実行手段16がWebAPI関数記述コード101(図3)に記述されたWebAPI関数のアドレスに従いWebAPIライブラリサーバ3にアクセスすることで行われる。   The function execution means 16 inputs the value input in the input box 102A of the Web page input form 100 into the corresponding parameter, and executes the Web API function. Specifically, when the “query transmission button” is operated, the function execution unit 16 executes the Web API function based on the value input in the input box 102A. The Web API function is executed, for example, when the function execution unit 16 accesses the Web API library server 3 according to the address of the Web API function described in the Web API function description code 101 (FIG. 3).

実行結果出力手段17は、パラメータチェック実行手段15の実行結果及び関数実行手段16の実行結果を出力し、ライブラリ利用者端末4に送信する。このとき、実行結果出力手段17は、出力フォーマットが規定されている場合には、規定された出力フォーマットで実行結果を出力する。本実施形態では、実行結果出力手段17は、例えば、XMLやJSONなどのフォーマットで実行結果を出力する。   The execution result output means 17 outputs the execution result of the parameter check execution means 15 and the execution result of the function execution means 16 and transmits them to the library user terminal 4. At this time, if the output format is specified, the execution result output means 17 outputs the execution result in the specified output format. In the present embodiment, the execution result output unit 17 outputs the execution result in a format such as XML or JSON, for example.

図5に、Webページ入力フォーム100の入力ボックス102Aへの入力(図5(1))及び入力された値に基づいてWebAPI関数が実行された場合の出力結果(図5(2))を示す。
このように、WebAPI作成支援装置1によれば、アプリケーション開発者は、提供されるWebページ入力フォーム100を利用することで、WebAPIライブラリに含まれるWebAPI関数の実行結果(動作)を確認することができる。また、このWebページ入力フォーム100には、パラメータに入力された値がチェック指定条件を満たしているか否かも判定することができるため、WebAPI関数の動作確認の利便性を向上させることができる。また、Webページ入力フォーム100は、Webページの形式でネットワークを介して提供されるため、アプリケーション開発者は、Webページ入力フォームに容易にアクセスすることができる。
FIG. 5 shows the input to the input box 102A of the web page input form 100 (FIG. 5 (1)) and the output result when the Web API function is executed based on the input value (FIG. 5 (2)). .
As described above, according to the Web API creation support apparatus 1, the application developer can check the execution result (operation) of the Web API function included in the Web API library by using the provided Web page input form 100. it can. In addition, since the Web page input form 100 can also determine whether or not the value input to the parameter satisfies the check designation condition, the convenience of checking the operation of the Web API function can be improved. Moreover, since the web page input form 100 is provided via the network in the form of a web page, the application developer can easily access the web page input form.

[WebAPI作成支援装置1のハードウェア構成]
以上説明したWebAPI作成支援装置1のハードウェアは、一般的なコンピュータによって構成することができる。一般的なコンピュータは、例えば、制御部として、中央処理装置(CPU)を備える他、記憶部として、メモリ(RAM、ROM)、ハードディスク(HDD)及び光ディスク(CD、DVDなど)を、ネットワーク通信装置として、各種有線及び無線LAN装置を、表示装置として、例えば、液晶ディスプレイ、プラズマディスプレイなどの各種ディスプレイを、入力装置として、例えば、キーボード及びポインティング・デバイス(マウス、トラッキングボールなど)を適宜備え、これらは、バスラインにより接続されている。このような一般的なコンピュータにおいて、CPUは、WebAPI作成支援装置1を統括的に制御し、各種プログラムを適宜読み出して実行することにより、上述したハードウェアと協働し、本発明に係る各種機能を実現している。
[Hardware Configuration of WebAPI Creation Support Device 1]
The hardware of the Web API creation support apparatus 1 described above can be configured by a general computer. For example, a general computer includes a central processing unit (CPU) as a control unit, and a memory (RAM, ROM), a hard disk (HDD), and an optical disk (CD, DVD, etc.) as a storage unit, and a network communication device. Various wired and wireless LAN devices as display devices, for example, various displays such as liquid crystal displays and plasma displays, and as input devices, for example, keyboards and pointing devices (mouse, tracking ball, etc.) Are connected by a bus line. In such a general computer, the CPU controls the Web API creation support apparatus 1 in an integrated manner, reads and executes various programs as appropriate, and cooperates with the above-described hardware, thereby providing various functions according to the present invention. Is realized.

[WebAPI作成支援装置1の処理]
続いて、図6を参照して、WebAPI作成支援装置1の処理について説明する。
[Processing of WebAPI creation support apparatus 1]
Next, processing of the Web API creation support apparatus 1 will be described with reference to FIG.

S1:WebAPIライブラリの開発者(ライブラリ開発者端末2)は、WebAPIライブラリを開発すると、当該WebAPIライブラリをWebAPIライブラリサーバ3に格納するとともに、当該WebAPIライブラリの定義情報ファイル110を生成し、WebAPI作成支援装置1の記憶手段11に格納する。   S1: When a WebAPI library developer (library developer terminal 2) develops a WebAPI library, the WebAPI library is stored in the WebAPI library server 3 and a definition information file 110 of the WebAPI library is generated to support WebAPI creation. It is stored in the storage means 11 of the device 1.

S11:更新確認手段12は、記憶手段11に記憶された定義情報ファイル110が更新されたか否かを確認する。
S12:更新が確認された場合には、ファイル読み出し手段13は、記憶手段11から定義情報ファイル110を読み出す。
S13:続いて、入力フォーム生成手段14は、読み出した定義情報ファイル110に基づいて、Webページ入力フォーム100を表示するHTMLコードを生成する。このとき、入力フォーム生成手段14のチェック関数生成手段144は、定義情報ファイル110のオプション記述部114から入力条件記述コード103(チェック関数)を自動的に生成する。なお、入力フォーム生成手段14がWebページ入力フォーム100を表示するHTMLコードを生成すると、WebAPI作成支援装置1は、生成したWebページ入力フォーム100を表示するHTMLコードをアプリケーション開発者がアクセス可能に公開する。
S11: The update confirmation unit 12 confirms whether or not the definition information file 110 stored in the storage unit 11 has been updated.
S12: When the update is confirmed, the file reading unit 13 reads the definition information file 110 from the storage unit 11.
S13: Subsequently, the input form generation means 14 generates an HTML code for displaying the Web page input form 100 based on the read definition information file 110. At this time, the check function generation unit 144 of the input form generation unit 14 automatically generates the input condition description code 103 (check function) from the option description part 114 of the definition information file 110. When the input form generation unit 14 generates an HTML code for displaying the Web page input form 100, the Web API creation support apparatus 1 publishes the HTML code for displaying the generated Web page input form 100 so that the application developer can access it. To do.

S21、S22:アプリケーション開発者(ライブラリ利用者端末4)は、Webページ入力フォーム100へアクセスし、Webページ入力フォーム100の入力ボックス102Aに値を入力するなどの操作を行う。   S21, S22: The application developer (library user terminal 4) accesses the Web page input form 100 and performs operations such as inputting a value into the input box 102A of the Web page input form 100.

S14、S15:WebAPI作成支援装置1では、アプリケーション開発者の操作に基づいて、パラメータチェックやWebAPI関数の実行を行う。すなわち、アプリケーション開発者により「入力チェック」ボタンが操作された場合には、パラメータチェック実行手段15が入力ボックス102Aに入力された値がチェック指定条件を満たすか否かを判定し、「クエリ送信」ボタンが操作された場合には、関数実行手段16がWebAPIライブラリサーバ3にアクセスしWebAPI関数の実行を行う。
S16:続いて、実行結果出力手段17は、パラメータチェック実行手段15の実行結果及び関数実行手段16の実行結果をライブラリ利用者端末4に送信する。
S14, S15: The Web API creation support apparatus 1 performs parameter check and execution of a Web API function based on the operation of the application developer. That is, when the “input check” button is operated by the application developer, the parameter check execution unit 15 determines whether or not the value input in the input box 102A satisfies the check specification condition, and “query transmission”. When the button is operated, the function execution means 16 accesses the WebAPI library server 3 and executes the WebAPI function.
S16: Subsequently, the execution result output unit 17 transmits the execution result of the parameter check execution unit 15 and the execution result of the function execution unit 16 to the library user terminal 4.

S23:WebAPI作成支援装置1から実行結果を受信すると、ライブラリ利用者端末4は、当該実行結果を出力(例えば、表示部に表示)する。   S23: When the execution result is received from the WebAPI creation support apparatus 1, the library user terminal 4 outputs (for example, displays on the display unit) the execution result.

以上、本発明の実施形態について説明したが、本発明は上述した実施形態に限るものではない。また、本発明の実施形態に記載された効果は、本発明から生じる最も好適な効果を列挙したに過ぎず、本発明による効果は、本発明の実施形態に記載されたものに限定されるものではない。   As mentioned above, although embodiment of this invention was described, this invention is not restricted to embodiment mentioned above. The effects described in the embodiments of the present invention are only the most preferable effects resulting from the present invention, and the effects of the present invention are limited to those described in the embodiments of the present invention. is not.

例えば、上記実施形態では、WebAPI作成支援装置1の記憶手段11が定義情報ファイル110を記憶することとしているが、これに限られるものではなく、WebAPI作成支援装置1(更新確認手段12及びファイル読み出し手段13など)が定義情報ファイル110にアクセス可能であれば、WebAPI作成支援装置1の記憶手段11は、必ずしも定義情報ファイル110を記憶しておく必要はない。   For example, in the above-described embodiment, the storage unit 11 of the WebAPI creation support apparatus 1 stores the definition information file 110. However, the present invention is not limited to this, and the WebAPI creation support apparatus 1 (the update confirmation unit 12 and the file read-out) is not limited thereto. If the definition information file 110 is accessible to the definition information file 110, the storage means 11 of the WebAPI creation support apparatus 1 does not necessarily need to store the definition information file 110.

また、WebAPI作成支援装置1がWebページ入力フォーム100をライブラリ利用者端末4に送信する機能を有することとしてもよく、このような場合には、Webページ入力フォーム100に実現される機能であるパラメータチェック実行手段15、関数実行手段16及び実行結果出力手段17は、ライブラリ利用者端末4が有することとなる。   Further, the Web API creation support apparatus 1 may have a function of transmitting the Web page input form 100 to the library user terminal 4. In such a case, parameters that are functions realized in the Web page input form 100 are provided. The library user terminal 4 has the check execution unit 15, the function execution unit 16, and the execution result output unit 17.

1 WebAPI作成支援装置
11 記憶手段
110 定義情報ファイル
12 更新確認手段
13 ファイル読み出し手段
14 入力フォーム生成手段
141 WebAPI関数指定手段
142 入力ボックス生成手段
143 パラメータ指定手段
144 チェック関数生成手段
100 Webページ入力フォーム
2 ライブラリ開発者端末
3 WebAPIライブラリサーバ
4 ライブラリ利用者端末
DESCRIPTION OF SYMBOLS 1 WebAPI creation assistance apparatus 11 Storage means 110 Definition information file 12 Update confirmation means 13 File reading means 14 Input form generation means 141 WebAPI function specification means 142 Input box generation means 143 Parameter specification means 144 Check function generation means 100 Web page input form 2 Library developer terminal 3 WebAPI library server 4 Library user terminal

Claims (4)

WebAPIライブラリの定義情報ファイルであって、前記WebAPIライブラリに含まれる複数のWebAPI関数の夫々のパラメータを記述するパラメータ記述部及び前記パラメータに対する入力情報のチェック指定条件を記述するオプション記述部を含む定義情報ファイルの更新を確認する更新確認手段と、
前記定義情報ファイルが更新されたことに応じて当該更新が確認された定義情報ファイルを読み出すファイル読み出し手段と、
読み出した定義情報ファイルのパラメータ記述部から前記パラメータを抽出し、前記パラメータに対する入力ボックスを抽出した前記パラメータの数だけ表示するHTMLコードを生成する入力ボックス生成手段と、
読み出した定義情報ファイルのオプション記述部の前記チェック指定条件を解釈し、前記入力ボックスに入力された入力情報のパラメータチェックを行うチェック関数を生成するチェック関数生成手段と、
前記入力ボックスに入力された入力情報に基づく前記WebAPI関数のテスト実行機能、及び前記チェック関数に基づく前記入力ボックスに入力された入力情報のパラメータチェック機能を有するWebページ入力フォームを表示するHTMLコードを生成する入力フォーム生成手段と、
を備えるWebAPI作成支援装置。
Definition information file of a WebAPI library, including a parameter description part describing each parameter of a plurality of WebAPI functions included in the WebAPI library, and an option description part describing a check specification condition of input information for the parameter An update checking means for checking file updates;
File reading means for reading out the definition information file whose update has been confirmed in response to the definition information file being updated;
An input box generating means for generating HTML code to display the parameter description of the definition information file read out by extracting the parameter, the number of the parameters extracted an input box for said parameter,
And checking function generating means for generating a check function that interprets the check specified conditions option description part of the definition information file read out, performs parameter check of the input information input to the input box,
HTML code for displaying a Web page input form having a test execution function of the WebAPI function based on the input information input to the input box and a parameter check function of the input information input to the input box based on the check function An input form generation means to generate;
A WebAPI creation support apparatus.
前記定義情報ファイルのパラメータ記述部から前記WebAPI関数の出力フォーマットの指定を解釈し、当該指定を反映させた入力ボックスを表示するHTMLコードを生成するパラメータ指定手段を備える請求項1に記載のWebAPI作成支援装置。   2. The Web API creation according to claim 1, further comprising: a parameter specifying unit that interprets a specification of an output format of the Web API function from a parameter description part of the definition information file and generates an HTML code that displays an input box reflecting the specification. Support device. 前記入力フォーム生成手段は、前記Webページ入力フォームを表示するHTMLコードをネットワークを介して閲覧可能なWebページの形式で生成する請求項1又は2に記載のWebAPI作成支援装置。   The Web API creation support apparatus according to claim 1, wherein the input form generation unit generates an HTML code for displaying the Web page input form in a Web page format that can be browsed via a network. 所定のコンピュータが実行する、
WebAPIライブラリの定義情報ファイルであって、前記WebAPIライブラリに含まれる複数のWebAPI関数の夫々のパラメータを記述するパラメータ記述部及び前記パラメータに対する入力情報のチェック指定条件を記述するオプション記述部を含む定義情報ファイルの更新を確認するステップと、
前記定義情報ファイルが更新されたことに応じて当該更新が確認された定義情報ファイルを読み出すステップと、
読み出した定義情報ファイルのパラメータ記述部から前記パラメータを抽出し、前記パラメータに対する入力ボックスを抽出した前記パラメータの数だけ表示するHTMLコードを生成するステップと、
読み出した定義情報ファイルのオプション記述部の前記チェック指定条件を解釈し、前記入力ボックスに入力された入力情報のパラメータチェックを行うチェック関数を生成するステップと、
前記入力ボックスに入力された入力情報に基づく前記WebAPI関数のテスト実行機能、及び前記チェック関数に基づく前記入力ボックスに入力された入力情報のパラメータチェック機能を有するWebページ入力フォームを表示するHTMLコードを生成するステップと、
を含むWebAPI作成支援方法。
A given computer runs,
Definition information file of a WebAPI library, including a parameter description part describing each parameter of a plurality of WebAPI functions included in the WebAPI library, and an option description part describing a check specification condition of input information for the parameter A step to check for file updates;
Reading the definition information file whose update has been confirmed in response to the definition information file being updated;
And generating a HTML code to display the parameter description of the definition information file read out by extracting the parameter, the number of the parameters extracted input box for the parameter,
Generating a check function that interprets the check specified conditions option description part of the definition information file read out, performs parameter check of the input information input to the input box,
HTML code for displaying a Web page input form having a test execution function of the WebAPI function based on the input information input to the input box and a parameter check function of the input information input to the input box based on the check function Generating step;
WebAPI creation support method including
JP2010217462A 2010-09-28 2010-09-28 WebAPI creation support apparatus and WebAPI creation support method Active JP5209016B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010217462A JP5209016B2 (en) 2010-09-28 2010-09-28 WebAPI creation support apparatus and WebAPI creation support method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010217462A JP5209016B2 (en) 2010-09-28 2010-09-28 WebAPI creation support apparatus and WebAPI creation support method

Publications (2)

Publication Number Publication Date
JP2012073778A JP2012073778A (en) 2012-04-12
JP5209016B2 true JP5209016B2 (en) 2013-06-12

Family

ID=46169890

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010217462A Active JP5209016B2 (en) 2010-09-28 2010-09-28 WebAPI creation support apparatus and WebAPI creation support method

Country Status (1)

Country Link
JP (1) JP5209016B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710531A (en) * 2018-12-29 2019-05-03 北京奇安信科技有限公司 Auditing method, device, system, electronic equipment and the storage medium of application program

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9384068B2 (en) 2012-10-05 2016-07-05 Release Consulting Limited Publishing of an application program interface
GB2514076A (en) * 2012-10-05 2014-11-19 Release Consulting Ltd Publishing of an application program interface
CN103383629B (en) * 2013-06-27 2017-05-31 广州爱九游信息技术有限公司 A kind of input method and device based on HTML5
JP6259935B2 (en) * 2015-01-30 2018-01-10 株式会社日立製作所 Storage management system, storage system, and function expansion method
JP6721548B2 (en) * 2017-07-31 2020-07-15 日本電信電話株式会社 Design confirmation device and design confirmation method
JP7003867B2 (en) * 2018-08-02 2022-01-21 日本電信電話株式会社 API adapter creation device, API adapter creation method and API adapter creation program
US10732944B1 (en) * 2019-05-14 2020-08-04 Baidu Usa Llc Generic verification approach for Protobuf based projects
EP4099159A4 (en) * 2020-01-30 2023-02-08 Fujitsu Limited Input assistance device, input assistance method, and input assistance program
DE102020107141B4 (en) * 2020-03-16 2022-03-17 Dspace Gmbh Simulating a control unit communication between a control unit to be tested and at least one other control unit

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05143393A (en) * 1991-11-25 1993-06-11 Mitsubishi Electric Corp Device for forming test program
JPH05233368A (en) * 1992-01-09 1993-09-10 Nec Corp External routine form component test tool
JPH07219810A (en) * 1994-02-04 1995-08-18 Canon Inc Module testing method and device therefor
JP2006236375A (en) * 2000-03-31 2006-09-07 Hitachi Software Eng Co Ltd Web application development method, development support system, and program about development method
JP4715104B2 (en) * 2004-03-30 2011-07-06 株式会社国際電気通信基礎技術研究所 General-purpose GUI device and general-purpose GUI program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710531A (en) * 2018-12-29 2019-05-03 北京奇安信科技有限公司 Auditing method, device, system, electronic equipment and the storage medium of application program
CN109710531B (en) * 2018-12-29 2022-07-05 奇安信科技集团股份有限公司 Application program auditing method, device and system, electronic equipment and storage medium

Also Published As

Publication number Publication date
JP2012073778A (en) 2012-04-12

Similar Documents

Publication Publication Date Title
JP5209016B2 (en) WebAPI creation support apparatus and WebAPI creation support method
US8983935B2 (en) Methods for utilizing a javascript emulator in a web content proxy server and devices thereof
US9384005B2 (en) Systems and methods for dynamic configuration of client-side development environments through use of application servers
US9594802B2 (en) Graphical modeling of database query statements
US10176270B2 (en) Performance of template based javascript widgets
KR20160062225A (en) Control and part compliant hierarchy
US20190052542A1 (en) System and method for providing visualizations of computing infrastructure using a domain-specific language for cloud services infrastructure
CN110750243A (en) Project code development method and system
KR20130017337A (en) Hybrid app development platform architecture and test method of the same, and computer-readable recording medium with program for the same
US20140033167A1 (en) Method and system for generating a manifestation of a model in actionscript
US7475388B2 (en) Method and apparatus for defining and instrumenting reusable java server page code snippets for website testing and production
US11604662B2 (en) System and method for accelerating modernization of user interfaces in a computing environment
JP6231260B2 (en) Screen control system, screen control program, screen creation support program, and screen control method
JP2013235508A (en) Object-oriented program generation device, method therefor, and program
JP2008040751A (en) Information processor supporting setting of operation attribute of application program, information processor method, and program
JP7260150B2 (en) WEBSITE DESIGN SUPPORT DEVICE, WEBSITE DESIGN SUPPORT METHOD, AND PROGRAM
US20140033168A1 (en) Method and system for providing modeled components
JP5959535B2 (en) Server, method, and program for causing a computer to function as a server for accessing a mobile terminal from a client via a network
KR20080017420A (en) Automatic updating of variables in a data language
KR20140092596A (en) System and method for providing service menu based on application service, and apparatus applied to the same
JP2013218574A (en) Endian problem detection device
JP6652724B2 (en) Information processing apparatus, information processing apparatus control method, and program
CN116795358A (en) Interface data processing method and device, electronic equipment and medium
TWI581117B (en) Cooperative work method on webpage
KR20150026570A (en) Method for programming based upon icon and apparatus for controlling the same

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20120312

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121010

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121023

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20121106

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121225

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130122

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130220

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160301

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5209016

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250